Re: thinkpad-acpi crashes on loading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 1/23/24 02:22, Rafal Lalik wrote:
> Hi,
> 
> I am experiencing issues with tpacpi module. It started with one of the kernel-6 versions, but cannot pin point exact version. It stated with being unable to hibernate the system. I figured out it was due to one of the udev-worker processes being in the 'uninterruptible sleep' state.
> 
> I dig the issue further and found out that there are issues with the thinkpad_acpi module which crashes on loading. it was autoloaded so I blacklisted it and the hibernation issues were gone.
> 
> But now with it being blacklisted on boot, I ma trying to load it manually with following result.
> 
>   # modprobe thinkpad_acpi
>   Killed

The crash seems to happen on module loading time, before even
the module's init() function is run.

You mention that you are seeing this with multiple kernel
versions right ?

So I guess this is something specific to your kernel configuration
and/or the compiler you are using.

Regards,

Hans



> dmesg shows me this:
> 
> [  590.531829] BUG: unable to handle page fault for address: ffffc900033ebe98
> [  590.531838] #PF: supervisor read access in kernel mode
> [  590.531841] #PF: error_code(0x0000) - not-present page
> [  590.531845] PGD 100000067 P4D 100000067 PUD 10012c067 PMD 107853067 PTE 0
> [  590.531852] Oops: 0000 [#2] PREEMPT SMP PTI
> [  590.531874] CPU: 0 PID: 10985 Comm: modprobe Tainted: P     UD    O       6.7.1-gentoo-r1 #1
> [  590.531878] Hardware name: LENOVO 20ARS0XL00/20ARS0XL00, BIOS GJETA4WW (2.54 ) 03/27/2020
> [  590.531880] RIP: 0010:idempotent_init_module+0xac/0x290
> [  590.531887] Code: 7a ca ae 00 49 c1 ed 38 31 c9 4a 8b 14 ed 20 31 d4 82 4e 8d 24 ed 20 31 d4 82 48 8d 42 f8 48 85 d2 48 0f 44 c1 48 85 c0 74 1b <4c> 3b 38 0f 84 bf 00 00 00 48 8b 40 08 48 85 c0 74 09 48 83 e8 08
> [  590.531891] RSP: 0018:ffffc90003fcfe98 EFLAGS: 00010282
> [  590.531895] RAX: ffffc900033ebe98 RBX: 0000562e105ae560 RCX: 0000000000000000
> [  590.531898] RDX: ffffc900033ebea0 RSI: ffffffff822467bd RDI: 0000000000000000
> [  590.531900] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
> [  590.531902] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff82d43398
> [  590.531905] R13: 000000000000004f R14: ffff888233f34000 R15: ffff888207e67338
> [  590.531907] FS:  00007ff004bd5c40(0000) GS:ffff888332200000(0000) knlGS:0000000000000000
> [  590.531910] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [  590.531913] CR2: ffffc900033ebe98 CR3: 000000012dcc0004 CR4: 00000000001706f0
> [  590.531915] Call Trace:
> [  590.531918]  <TASK>
> [  590.531921]  ? __die+0x1a/0x60
> [  590.531927]  ? page_fault_oops+0x158/0x440
> [  590.531932]  ? fixup_exception+0x1d/0x2f0
> [  590.531936]  ? exc_page_fault+0x7e/0x130
> [  590.531942]  ? asm_exc_page_fault+0x22/0x30
> [  590.531949]  ? idempotent_init_module+0xac/0x290
> [  590.531953]  ? idempotent_init_module+0x86/0x290
> [  590.531957]  __x64_sys_finit_module+0x4d/0x80
> [  590.531962]  do_syscall_64+0x47/0xe0
> [  590.531966]  entry_SYSCALL_64_after_hwframe+0x4b/0x53
> [  590.531971] RIP: 0033:0x7ff004cdcad9
> [  590.531975] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 27 73 0c 00 f7 d8 64 89 01 48
> [  590.531978] RSP: 002b:00007ffedaa273a8 EFLAGS: 00000202 ORIG_RAX: 0000000000000139
> [  590.531982] RAX: ffffffffffffffda RBX: 0000562e105adc90 RCX: 00007ff004cdcad9
> [  590.531984] RDX: 0000000000000000 RSI: 0000562e105ae560 RDI: 0000000000000003
> [  590.531986] RBP: 0000000000000000 R08: 00007ff004da4b20 R09: 000000000000003f
> [  590.531988] R10: 0000000000000050 R11: 0000000000000202 R12: 0000562e105ae560
> [  590.531991] R13: 0000000000040000 R14: 0000562e105addc0 R15: 000000000000003f
> [  590.531994]  </TASK>
> [  590.531996] Modules linked in: thinkpad_acpi(+) nvram ledtrig_audio platform_profile 8021q uinput nvidia(PO) fuse nft_chain_nat nf_nat hid_lenovo bbswitch(O) snd_aloop rfcomm bluetooth ecdh_generic ecc uvcvideo videobuf2_vmalloc videobuf2_memops uvc videobuf2_v4l2 videodev videobuf2_common mc snd_hda_codec_hdmi dm_multipath dm_mod dax i2c_dev intel_rapl_msr rtsx_pci_sdmmc intel_rapl_common x86_pkg_temp_thermal intel_powerclamp iwlmvm coretemp kvm_intel kvm irqbypass input_leds snd_hda_codec_generic led_class rtsx_pci iwlwifi i915 tpm_tis tpm_tis_core snd_hda_intel i2c_algo_bit snd_intel_dspcfg drm_buddy e1000e snd_hda_codec drm_display_helper snd_hwdep ttm snd_hda_core [last unloaded: nvidia(PO)]
> [  590.532048] CR2: ffffc900033ebe98
> [  590.532051] ---[ end trace 0000000000000000 ]---
> [  590.532054] RIP: 0010:tpacpi_rfk_procfs_write+0x90/0x140 [thinkpad_acpi]
> [  590.532076] Code: c4 08 89 d8 5b 5d 41 5c 41 5d c3 bd 01 00 00 00 eb 9e 83 fd ff 74 e7 f6 05 25 70 00 00 80 75 54 4a 8b 04 e5 70 85 4b a1 89 ef <48> 8b 40 10 48 8b 40 08 e8 33 ce 78 e0 4a 8b 2c e5 70 85 4b a1 89
> [  590.532079] RSP: 0018:ffffc900033ebc78 EFLAGS: 00010246
> [  590.532082] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000065
> [  590.532084] RDX: 0000000000000006 RSI: ffffffffa14bc0d7 RDI: 0000000000000001
> [  590.532086] RBP: 0000000000000001 R08: ffffffffa14cd096 R09: 000000000000002c
> [  590.532089] R10: 0000000000000000 R11: ffffc900033eba60 R12: 0000000000000000
> [  590.532091] R13: 0000000000000124 R14: ffffffffa14cd090 R15: 0000000000000000
> [  590.532093] FS:  00007ff004bd5c40(0000) GS:ffff888332200000(0000) knlGS:0000000000000000
> [  590.532096] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [  590.532098] CR2: ffffc900033ebe98 CR3: 000000012dcc0004 CR4: 00000000001706f0
> [  590.532101] note: modprobe[10985] exited with irqs disabled
> [  590.532103] note: modprobe[10985] exited with preempt_count 1
> 
> 
> 
> Dunno whetehr this is kernel bug or some other problem with my kernel. So just let you know and please give me some ideas here.
> 
> regards,
> Rafał
> 



_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel




[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux