You are not logged in.

#1 2018-06-29 19:24:25

smonsays
Member
Registered: 2016-09-02
Posts: 24

[SOLVED] Laptop not booting since Kernel 4.17.2

Since the update to linux 4.17.2 my Thinkpad 13 (Intel i5-6200U) freezes during startup. Interestingly, sometimes this does not happen and the laptop manages to boot. Furthermore, it boots just fine using the LTS kernel. During startup a lot of error messages appear and I am not exactly sure which of those are of importance, maybe it has something to do with this:

21:00:31 kernel: ---[ end trace c8c97fdeb34d83ef ]---
21:00:31 kernel: RIP: sysfs_add_battery+0x11a/0x190 [battery] RSP: ffffbb0001e8bce0
21:00:31 kernel: Code: 00 00 48 89 93 b8 00 00 00 48 c7 83 c0 00 00 00 90 41 59 c0 48 8d 68 e8 48 3d 80 41 59 c0 74 28 49 c7 c4 78 22 59 c0 48 8b 7b 40 <48> 8b 45 08 e8 cd 24 47 df 85 c0 75 4a 48 8b 45 18 48 8d 68 e8 
21:00:31 kernel:  ret_from_fork+0x35/0x40
21:00:31 kernel: Call Trace:
21:00:31 kernel: CR2: 00007f95f7469700 CR3: 000000040500a004 CR4: 00000000003606f0
21:00:31 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
21:00:31 kernel: FS:  0000000000000000(0000) GS:ffffa15da3400000(0000) knlGS:0000000000000000
21:00:31 kernel: R13: 0000000000000000 R14: 0000000000000016 R15: ffffa15d8c792540
21:00:31 kernel: R10: ffffffffa05ef6e0 R11: 0000000000000004 R12: ffffffffc0592278
21:00:31 kernel: RBP: dead0000000000e8 R08: 00000009f9c1882e R09: ffffffffa05ef302
21:00:31 kernel: RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffa15d8ef72400
21:00:31 kernel: RAX: dead000000000100 RBX: ffffa15d8bd07c00 RCX: 0000000000000001
21:00:31 kernel: RSP: 0018:ffffbb0001e8bce0 EFLAGS: 00010283
21:00:31 kernel: RIP: 0010:sysfs_add_battery+0x11a/0x190 [battery]
21:00:31 kernel: Workqueue: events_unbound async_run_entry_fn
21:00:31 kernel: Hardware name: LENOVO 20GKS01100/20GKS01100, BIOS R0CET39W (1.27 ) 12/20/2017
21:00:31 kernel: CPU: 0 PID: 194 Comm: kworker/u8:3 Tainted: G           O      4.17.2-1-ARCH #1
21:00:31 kernel:  thinkpad_acpi tpm_infineon sysfillrect sysimgblt fb_sys_fops mei_me mei intel_pch_thermal idma64 snd_timer nvram shpchp intel_lpss_pci intel_lpss rfkill wmi snd tpm_tis tpm_tis_core soundcore led_class evdev tpm rtc_cmos battery ac rng_core mac_hid sg crypto_user acpi_call(O) ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto algif_skcipher af_alg usbhid hid dm_crypt dm_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc serio_raw atkbd libps2 ahci xhci_pci libahci xhci_hcd aesni_intel libata aes_x86_64 crypto_simd cryptd glue_helper usbcore scsi_mod usb_common i8042 serio
21:00:31 kernel: Modules linked in: hid_generic uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 btusb videobuf2_common btrtl btbcm videodev btintel bluetooth media ecdh_generic snd_hda_codec_hdmi joydev mousedev snd_soc_skl snd_soc_skl_ipc intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_ext_core coretemp snd_soc_sst_dsp snd_hda_codec_realtek snd_soc_sst_ipc snd_soc_acpi snd_hda_codec_generic arc4 snd_soc_core kvm snd_compress irqbypass ac97_bus snd_pcm_dmaengine intel_cstate iTCO_wdt iTCO_vendor_support iwlmvm intel_wmi_thunderbolt wmi_bmof mac80211 i915 iwlwifi cfg80211 nls_iso8859_1 nls_cp437 vfat i2c_algo_bit fat drm_kms_helper intel_uncore intel_rapl_perf snd_hda_intel snd_hda_codec psmouse pcspkr input_leds drm e1000e snd_hda_core snd_hwdep intel_gtt agpgart snd_pcm i2c_i801 syscopyarea
21:00:31 kernel: stack segment: 0000 [#1] PREEMPT SMP PTI
21:00:31 kernel: battery: error in extension, unloading: ThinkPad Battery Extension
21:00:31 kernel: thinkpad_acpi: Error probing battery 2
21:00:31 kernel: ACPI: \_SB_.PCI0.LPCB.EC__.HKEY: BCTG evaluated but flagged as error

Additionally, I see some unusual "ucvideo 1-3:1.0: Entity type for entity Extension X was not initialized!" messages that might have something to do with the issue.

Has anybody an idea what might be causing the problem here?

Last edited by smonsays (2018-06-30 08:10:14)

Offline

#2 2018-06-29 19:45:34

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: [SOLVED] Laptop not booting since Kernel 4.17.2

You should try blacklisting the thinkpad_acpi module.

Not sure if related but have a look at this post,

Offline

#3 2018-06-30 07:29:36

smonsays
Member
Registered: 2016-09-02
Posts: 24

Re: [SOLVED] Laptop not booting since Kernel 4.17.2

Alright, after blacklisting thinkpad_acpi I can boot under the current kernel (4.17.2) as the problem was apparently related to this, thanks lo1! However, I do not fully understand what happened here: While unregistering the acpi battery hook something goes wrong as a hook is unregistered? Is this a bug that will be solved? Do I lose any relevant functionality by blacklisting thinkpad_acpi, i.e. with regards to power management?

Offline

#4 2018-06-30 08:03:55

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: [SOLVED] Laptop not booting since Kernel 4.17.2

Not sure why this happened, I just remembered this issue but loqs and seth were the ones who found this bug was related.

My guess is you don't need thinkpad_acpi at all (e.g. if the output from 'acpi -b' reports the correct battery status you're good to go).

Remember to mark your thread as SOLVED if that was all.

Offline

Board footer

Powered by FluxBB