Thinkpad issues with kernel 5.15 due to acpi outdated package

Hi all!

A few days ago I tried to switch my laptop from kernel 5.10 to 5.15. Unfortunately my Thinkpad doesn’t like this latest version.

The problem seems to be related to this package: linux515-acpi_call, that seems to be outdated. Latest release is v.1.2.2-4 (from Arch repo) but for some reason unknown for me, Manjaro is still using linux515-acpi_call-1.1.x

The bug has already been fixed on v1.2.2 according to this site: Fixing acpi_call kernel oops on Thinkpads · GitHub

Does anyone have any idea when this package will be upgraded to the latest version? can I download this package from any other place? link?

Thanks in advance! I’m just wanting to switch to 5.15 ASAP… :slight_smile:

Inxi:

System:    Host: thinkpad1.localdomain Kernel: 5.10.83-1-MANJARO x86_64 bits: 64 Desktop: Xfce 4.16.0 Distro: Manjaro Linux
Machine:   Type: Laptop System: LENOVO product: 20UES1D600 v: ThinkPad T14 Gen 1 serial: <superuser required>
           Mobo: LENOVO model: 20UES1D600 serial: <superuser required> UEFI: LENOVO v: R1BET36W(1.05 ) date: 06/11/2020
Battery:   ID-1: BAT0 charge: 27.2 Wh (52.8%) condition: 51.5/50.5 Wh (101.9%) volts: 11.5 min: 11.6
CPU:       Info: 8-Core model: AMD Ryzen 7 PRO 4750U with Radeon Graphics bits: 64 type: MT MCP cache: L2: 4 MiB
           Speed: 1480 MHz min/max: 1400/1700 MHz Core speeds (MHz): 1: 2425 2: 2653 3: 1396 4: 1397 5: 1397 6: 1397 7: 1398
           8: 1397 9: 1683 10: 1398 11: 1397 12: 1397 13: 1483 14: 1397 15: 1397 16: 1397
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir driver: amdgpu v: kernel
           Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
           Display: server: X.Org 1.21.1.1 driver: loaded: amdgpu,ati unloaded: modesetting resolution: 1: 1920x1080~60Hz
           2: 3840x2160~60Hz
           Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor driver: snd_rn_pci_acp3x
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel
           Sound Server-1: ALSA v: k5.10.83-1-MANJARO running: yes
           Sound Server-2: PulseAudio v: 15.0 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
           IF: enp2s0f0 state: down mac: 00:2b:67:cd:ff:ea
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi
           IF: wlp3s0 state: up mac: a8:7e:ea:ba:a7:3e
           Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
           IF: enp5s0 state: down mac: 00:2b:67:cd:ff:e9
           IF-ID-1: virbr0 state: down mac: 52:54:00:39:37:c7
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb
           Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: disabled rfk-block: hardware: no software: no
           address: see --recommends
Drives:    Local Storage: total: 476.94 GiB used: 192.53 GiB (40.4%)
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L7 size: 476.94 GiB
Partition: ID-1: / size: 24.48 GiB used: 17.73 GiB (72.4%) fs: ext4 dev: /dev/nvme0n1p6
           ID-2: /boot/efi size: 511 MiB used: 332 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p4
           ID-3: /home size: 268.18 GiB used: 174.79 GiB (65.2%) fs: ext4 dev: /dev/dm-0
Swap:      ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p5
Sensors:   System Temperatures: cpu: 50.2 C mobo: 0.0 C gpu: amdgpu temp: 42.0 C
           Fan Speeds (RPM): cpu: 0
Info:      Processes: 382 Uptime: 16m Memory: 30.65 GiB used: 3.96 GiB (12.9%) Shell: Bash inxi: 3.3.09

OOPS

[   28.552557] [drm] Unknown EDID CEA parser results
[   28.818670] BUG: kernel NULL pointer dereference, address: 0000000000000000
[   28.818678] #PF: supervisor instruction fetch in kernel mode
[   28.818681] #PF: error_code(0x0010) - not-present page
[   28.818684] PGD 0 P4D 0 
[   28.818688] Oops: 0010 [#1] PREEMPT SMP NOPTI
[   28.818692] CPU: 6 PID: 1647 Comm: tpacpi-bat Tainted: G           OE     5.15.6-2-MANJARO #1 3a19d45d1162f23d4faca02dd20d7e24f26326df
[   28.818697] Hardware name: LENOVO 20UES1D600/20UES1D600, BIOS R1BET36W(1.05 ) 06/11/2020
[   28.818700] RIP: 0010:0x0
[   28.818708] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[   28.818709] RSP: 0018:ffffa80c037cfec0 EFLAGS: 00010246
[   28.818713] RAX: 0000000000000000 RBX: ffff8a18819c55c0 RCX: 0000000000000001
[   28.818715] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8a1888ce0900
[   28.818717] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[   28.818719] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
[   28.818721] R13: ffffffffffffffea R14: ffff8a1888ce0900 R15: 0000000000000000
[   28.818723] FS:  00007f31c6b18740(0000) GS:ffff8a1f6f980000(0000) knlGS:0000000000000000
[   28.818726] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   28.818729] CR2: ffffffffffffffd6 CR3: 000000011561c000 CR4: 0000000000350ee0
[   28.818732] Call Trace:
[   28.818734]  <TASK>
[   28.818736]  proc_reg_llseek+0x49/0x90
[   28.818745]  ? __fdget_pos+0x13/0x60
[   28.818749]  ksys_lseek+0x83/0xc0
[   28.818753]  do_syscall_64+0x5c/0x90
[   28.818758]  ? exc_page_fault+0x72/0x180
[   28.818762]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[   28.818768] RIP: 0033:0x7f31c6daf99b
[   28.818770] Code: ff ff c3 0f 1f 40 00 48 8b 15 d1 04 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb ba 0f 1f 00 f3 0f 1e fa b8 08 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 a1 04 0d 00 f7 d8
[   28.818773] RSP: 002b:00007fffc79b5088 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
[   28.818777] RAX: ffffffffffffffda RBX: 00007f31c7235de0 RCX: 00007f31c6daf99b
[   28.818779] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000003
[   28.818781] RBP: 0000560e8b09aec0 R08: 00007fffc79b5030 R09: 00000000ffffffff
[   28.818783] R10: 00007f31c6e80a00 R11: 0000000000000246 R12: 0000560e8b07a2a0
[   28.818785] R13: 00007fffc79b5290 R14: 0000560e8b07a3e0 R15: 0000560e8b0d9940
[   28.818790]  </TASK>
[   28.818792] Modules linked in: ccm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_filter bridge stp llc dm_crypt cbc encrypted_keys trusted asn1_encoder tee hid_logitech_hidpp hid_logitech_dj btusb btrtl btbcm btintel bluetooth usbhid ecdh_generic uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc joydev mousedev snd_soc_dmic snd_acp3x_rn snd_acp3x_pdm_dma intel_rapl_msr snd_soc_core snd_compress ac97_bus think_lmi snd_pcm_dmaengine intel_rapl_common wmi_bmof firmware_attributes_class edac_mce_amd iwlmvm kvm_amd snd_ctl_led amdgpu snd_hda_codec_realtek mac80211 kvm snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi libarc4 irqbypass snd_hda_codec crct10dif_pclmul crc32_pclmul ghash_clmulni_intel tpm_crb iwlwifi aesni_intel snd_hda_core
[   28.818858]  r8169 gpu_sched crypto_simd ucsi_acpi vfat snd_hwdep tpm_tis cryptd realtek snd_pci_acp5x typec_ucsi snd_pcm thinkpad_acpi mdio_devres tpm_tis_core drm_ttm_helper sp5100_tco fat rapl cfg80211 psmouse k10temp snd_rn_pci_acp3x ledtrig_audio dm_mod platform_profile ccp i2c_piix4 ttm snd_timer snd_pci_acp3x tpm typec libphy rfkill roles rng_core wmi snd soundcore video pinctrl_amd mac_hid i2c_scmi acpi_call(OE) acpi_cpufreq ipmi_devintf ipmi_msghandler fuse crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_pci_sdmmc serio_raw mmc_core atkbd libps2 i8042 crc32c_intel rtsx_pci xhci_pci serio
[   28.818917] CR2: 0000000000000000
[   28.818920] ---[ end trace 90d7880e88ad419f ]---
[   28.818922] RIP: 0010:0x0
[   28.818925] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[   28.818926] RSP: 0018:ffffa80c037cfec0 EFLAGS: 00010246
[   28.818929] RAX: 0000000000000000 RBX: ffff8a18819c55c0 RCX: 0000000000000001
[   28.818931] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8a1888ce0900
[   28.818933] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[   28.818935] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
[   28.818936] R13: ffffffffffffffea R14: ffff8a1888ce0900 R15: 0000000000000000
[   28.818939] FS:  00007f31c6b18740(0000) GS:ffff8a1f6f980000(0000) knlGS:0000000000000000
[   28.818941] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   28.818943] CR2: ffffffffffffffd6 CR3: 000000011561c000 CR4: 0000000000350ee0
[   29.352514] [drm] Unknown EDID CEA parser results
[   29.481593] FS-Cache: Loaded

Summary

Go to packages.archlinux.org, type acpi_call in a search field, download and install acpi_call-dkms, remove all local acpi_call packages provided by Manjaro, install the one you have just downloaded with pacman -U %packagename% and forget about this problem :wink: Arch package should be perfectly compatible, same is applicable to bbswitch btw.
Yep, some unknown reasons make Manjaro devs do extra work on building a bunch of out-of-tree drivers for each kernel version instead of using dkms, and sometimes they do not update them in time.</>

Okay, so acpi_call-dkms in Manjaro repos is the same as in Arch repo. Just use it.

2 Likes

DKMS takes some time on user machine to build a module. Per-kernel version does not. I think this is the main reason.

Thanks! I’ll try your suggestion probably tomorrow! and just hope Manjaro team updates this package(s) soon!

Arch wiki has lots of helpful information for your laptop:
https://wiki.archlinux.org/title/Lenovo_ThinkPad_T14_(AMD)_Gen_1

1 Like

Just updated my system to 5.15.7 switching to acpi_call-dkms and everything is looking good so far.

Only got an error for missing kernel headers, just had to install them.

Thanks and have a nice weekend!

1 Like

Does anyone know what the real problem is with manjaro packages?
I inspected the PKGBUILD but do not see where the error is.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.