FS#59096 - [linux] Kernel 4.17.2 freeze when thinkpad_acpi loaded
Attached to Project:
Arch Linux
Opened by Daniel Milde (dundee) - Thursday, 21 June 2018, 05:51 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 20 July 2018, 18:33 GMT
Opened by Daniel Milde (dundee) - Thursday, 21 June 2018, 05:51 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 20 July 2018, 18:33 GMT
|
Details
Description:
Boot crashes with stack trace when module thinkpad_acpi is loaded. Thinkpad_acpi should be probably removed for now. More info: https://bbs.archlinux.org/viewtopic.php?pid=1792927 Additional info: * linux 4.17.2 * Thinkpad HW Steps to reproduce: boot with linux 4.17.2 on Thinkpad notebook. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Friday, 20 July 2018, 18:33 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.17.6-1
Friday, 20 July 2018, 18:33 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.17.6-1
$ asp export linux
$ cd linux
$ makepkg -o
$ cd src/linux-4.17
$ patch -p1 -i <path/to/>battery.patch
$ make modules_prepare
$ make M=drivers/acpi
$ xz drivers/acpi/battery.ko
# cp -f drivers/acpi/battery.ko.xz /usr/lib/modules/4.17.2-1-ARCH/kernel/drivers/acpi
Following these steps, you do not build the entire kernel. It will only take a few minutes.
$ uname -a
Linux tx 4.17.2-1-ARCH #1 SMP PREEMPT Sat Jun 16 11:08:59 UTC 2018 x86_64 GNU/Linux
$ lsmod |grep thinkpad ~
thinkpad_acpi 106496 1
nvram 16384 1 thinkpad_acpi
rfkill 28672 7 thinkpad_acpi,cfg80211
snd 98304 23 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm
led_class 16384 3 input_leds,iwlmvm,thinkpad_acpi
battery 24576 1 thinkpad_acpi
https://marc.info/?l=linux-acpi&m=153079039414291&w=2
Edit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=673b4271665a12fa839a12abb50e6f6e9953c081