Page MenuHomeSolus

Kernel 4.17.2 issues with acpi and booting
Closed, ResolvedPublic

Description

Kernel error on 4.17.2 boots only to terminal and fails to load the desktop. Shutdown also does not happen cleanly and I have been forced to power down by holding the power button.

This is preventing my system from booting. I had to roll back to 4.16.15

Jun 30 08:31:22 crunchbang kernel: fbcon: inteldrmfb (fb0) is primary device
Jun 30 08:31:22 crunchbang kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Jun 30 08:31:22 crunchbang kernel: Bluetooth: BNEP socket layer initialized
Jun 30 08:31:22 crunchbang kernel: psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x4d1>
Jun 30 08:31:22 crunchbang kernel: ACPI: \_SB_.PCI0.LPCB.EC__.HKEY: BCTG evaluated but flagged as error
Jun 30 08:31:22 crunchbang kernel: thinkpad_acpi: Error probing battery 2
Jun 30 08:31:22 crunchbang kernel: battery: extension unregistered: ThinkPad Battery Extension
Jun 30 08:31:22 crunchbang kernel: battery: error in extension, unloading: ThinkPad Battery Extension
Jun 30 08:31:22 crunchbang kernel: stack segment: 0000 [#1] PREEMPT SMP PTI
Jun 30 08:31:22 crunchbang kernel: Modules linked in: bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_gen>
Jun 30 08:31:22 crunchbang kernel:  typec_ucsi i2c_designware_core soundcore fb_sys_fops typec thermal wmi battery rf>
Jun 30 08:31:22 crunchbang kernel: CPU: 0 PID: 6 Comm: kworker/u8:0 Not tainted 4.17.2-78.current #1
Jun 30 08:31:22 crunchbang kernel: Hardware name: LENOVO 20J1CTO1WW/20J1CTO1WW, BIOS R0JET26W (1.11 ) 05/11/2017
Jun 30 08:31:22 crunchbang kernel: Workqueue: events_unbound async_run_entry_fn
Jun 30 08:31:22 crunchbang kernel: RIP: 0010:sysfs_add_battery+0xe9/0x170 [battery]
Jun 30 08:31:22 crunchbang kernel: RSP: 0018:ffffc90000cd3d00 EFLAGS: 00010283
Jun 30 08:31:22 crunchbang kernel: RAX: dead000000000100 RBX: ffff88020d954000 RCX: 0000000000000001
Jun 30 08:31:22 crunchbang kernel: RDX: 0000000080000001 RSI: 0000000000000002 RDI: ffff88021396b800
Jun 30 08:31:22 crunchbang kernel: RBP: dead0000000000e8 R08: 0000000fe83d4ca1 R09: ffffffff828a5042
Jun 30 08:31:22 crunchbang kernel: R10: ffffc90000cd3c68 R11: 0000000000000004 R12: ffffffffa0118080
Jun 30 08:31:22 crunchbang kernel: R13: 0000000000000000 R14: 000000000000001a R15: ffff880215834000
Jun 30 08:31:22 crunchbang kernel: FS:  0000000000000000(0000) GS:ffff88021e400000(0000) knlGS:0000000000000000
Jun 30 08:31:22 crunchbang kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 30 08:31:22 crunchbang kernel: CR2: 00007ff144000010 CR3: 000000000220a006 CR4: 00000000003606f0
Jun 30 08:31:22 crunchbang kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jun 30 08:31:22 crunchbang kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jun 30 08:31:22 crunchbang kernel: Call Trace:
Jun 30 08:31:22 crunchbang kernel:  acpi_battery_update+0x1c4/0x2c0 [battery]
Jun 30 08:31:22 crunchbang kernel:  acpi_battery_add+0xcb/0x190 [battery]
Jun 30 08:31:22 crunchbang kernel:  acpi_device_probe+0x48/0x110
Jun 30 08:31:22 crunchbang kernel:  driver_probe_device+0x24f/0x340
Jun 30 08:31:22 crunchbang kernel:  __driver_attach+0x8d/0x90
Jun 30 08:31:22 crunchbang kernel:  ? driver_probe_device+0x340/0x340
Jun 30 08:31:22 crunchbang kernel:  bus_for_each_dev+0x65/0x90
Jun 30 08:31:22 crunchbang kernel:  ? _raw_spin_lock+0x13/0x40
Jun 30 08:31:22 crunchbang kernel:  bus_add_driver+0x196/0x220
Jun 30 08:31:22 crunchbang kernel:  driver_register+0x57/0xc0
Jun 30 08:31:22 crunchbang kernel:  acpi_battery_init_async+0x4b/0x55 [battery]
Jun 30 08:31:22 crunchbang kernel:  async_run_entry_fn+0x37/0xe0
Jun 30 08:31:22 crunchbang kernel:  process_one_work+0x1ce/0x3f0
Jun 30 08:31:22 crunchbang kernel:  worker_thread+0x2b/0x3d0
Jun 30 08:31:22 crunchbang kernel:  ? process_one_work+0x3f0/0x3f0
Jun 30 08:31:22 crunchbang kernel:  kthread+0x113/0x130
Jun 30 08:31:22 crunchbang kernel:  ? kthread_flush_work_fn+0x10/0x10
Jun 30 08:31:22 crunchbang kernel:  ret_from_fork+0x35/0x40
Jun 30 08:31:22 crunchbang kernel: Code: 00 00 48 89 93 b8 00 00 00 48 c7 83 c0 00 00 00 90 a1 11 a0 48 3d 80 a1 11 a>
Jun 30 08:31:22 crunchbang kernel: RIP: sysfs_add_battery+0xe9/0x170 [battery] RSP: ffffc90000cd3d00
Jun 30 08:31:22 crunchbang kernel: ---[ end trace f903fa78f4926552 ]---
Jun 30 08:31:22 crunchbang kernel: psmouse serio1: elantech: Synaptics capabilities query result 0x80, 0x14, 0x0c.
Jun 30 08:31:22 crunchbang kernel: psmouse serio1: elantech: Elan sample query result 00, 40, 85
Jun 30 08:31:22 crunchbang kernel: input: ETPS/2 Elantech TrackPoint as /devices/platform/i8042/serio1/input/input31
Jun 30 08:31:22 crunchbang kernel: input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input9

Event Timeline

Looks like we need this patch: https://marc.info/?l=ibm-acpi-devel&m=152974495020350&w=2

I'll get it into unstable later today.

DataDrake triaged this task as Unbreak Now! priority.Jun 30 2018, 1:47 PM
DataDrake edited projects, added Hardware; removed Lacks Project.

Looks like we need this patch: https://marc.info/?l=ibm-acpi-devel&m=152974495020350&w=2

I'll get it into unstable later today.

Great! Looking forward to testing it out when it comes through the upgrades

@DataDrake Great! I am not familiar with how to use unstable in Solus (former Debian user). Where can I find instructions on using unstable?

So you probably don't want to be on Unstable all the time (updates can break your install), but for now things are stable (can follow on IRC in #solus-dev if you want to know for sure). But if you want to test:

https://solus-project.com/articles/package-management/repo-management/en/

  1. Disable Solus repo
  2. Enable Unstable repo at https://packages.solus-project.com/unstable/eopkg-index.xml.xz
  3. Update (Full, not just kernel)
  4. Reboot

@DataDrake Thanks, I updated and the system boots well.

dmesg does give two messages one related and the other not.

Related message

[   26.104490] ACPI: \_SB_.PCI0.LPCB.EC__.HKEY: BCTG evaluated but flagged as error
[   26.104494] thinkpad_acpi: Error probing battery 2
[   26.104495] battery: error in extension, unloading: ThinkPad Battery Extension

}

Unrelated message that I saw before and forgot to bring attention to it but I also thought it might be related...

[   72.642748] CPU2: Core temperature above threshold, cpu clock throttled (total events = 1)
[   72.642749] CPU0: Core temperature above threshold, cpu clock throttled (total events = 1)
[   72.642751] CPU0: Package temperature above threshold, cpu clock throttled (total events = 1)
[   72.642753] CPU2: Package temperature above threshold, cpu clock throttled (total events = 1)
[   72.642786] CPU3: Package temperature above threshold, cpu clock throttled (total events = 1)
[   72.642787] CPU1: Package temperature above threshold, cpu clock throttled (total events = 1)
[   72.644954] CPU2: Core temperature/speed normal
[   72.644955] CPU0: Core temperature/speed normal
[   72.644956] CPU1: Package temperature/speed normal
[   72.644956] CPU3: Package temperature/speed normal
[   72.644957] CPU0: Package temperature/speed normal
[   72.644958] CPU2: Package temperature/speed normal