Hello, community! My Lenovo laptop has inconsistent kernel panics on last 3 Manjaro releases. Issue can happen several reboots in a row, so as once in a week or two.
Symptoms: CapsLk indicator blinks, kernel commands ignored (unable to REISUB). After hard turn off and next boot system journal is wiped.
The laptop has rare combination on AMD integrated GPU with Nvidia card, so I suspect problem origin is there. I was using optimus-manager as described in Arch Wiki, and to exclude error there recently I’ve reinstalled Manjaro, but problem remains.
To support backlight setting I had to make changes to grub config:
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3 acpi.backlight=video nvidia.NVreg_RegistryDwords=EnableBrightnessControl=1 amdgpu.backlight=0"
inxi --admin --verbosity=7 --filter --width
System:
Kernel: 5.15.25-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.15-x86_64
root=UUID=ace0bad8-28bd-4394-be04-6f16f09c2607 rw rootflags=subvol=@ quiet
apparmor=1 security=apparmor udev.log_priority=3 acpi.backlight=video
nvidia.NVreg_RegistryDwords=EnableBrightnessControl=1 amdgpu.backlight=0
Desktop: KDE Plasma 5.24.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 82EY v: IdeaPad Gaming 3 15ARH05
serial: <superuser required> Chassis: type: 10 v: IdeaPad Gaming 3 15ARH05
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
UEFI: LENOVO v: FCCN15WW date: 12/23/2020
Battery:
ID-1: BAT0 charge: 40.4 Wh (97.8%) condition: 41.3/45.0 Wh (91.7%)
volts: 12.7 min: 11.4 model: SMP L19M3PF7 type: Li-poly serial: <filter>
status: N/A cycles: 76
Memory:
RAM: total: 30.79 GiB used: 5.33 GiB (17.3%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
microcode: 0x8600104
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
desc: 2x4 MiB
Speed (MHz): avg: 1946 high: 3085 min/max: 1400/3000 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1964 2: 2723
3: 1415 4: 1526 5: 1397 6: 1514 7: 2572 8: 3085 9: 1628 10: 1602 11: 1867
12: 2065 bogomips: 71891
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
rdtscp rep_good sep sha_ni skinit smap smca smep ssbd sse sse2 sse4_1
sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc
tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU117M vendor: Lenovo driver: nvidia v: 510.54
alternate: nouveau,nvidia_drm pcie: gen: 1 speed: 2.5 GT/s lanes: 8
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
chip-ID: 10de:1f99 class-ID: 0300
Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: none bus-ID: 05:00.0
chip-ID: 1002:1636 class-ID: 0300
Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
bus-ID: 1-3:3 chip-ID: 13d3:56ff class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: amdgpu,ati,nvidia unloaded: modesetting,nouveau
alternate: fbdev,nv,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP res: 1920x1080 hz: 120 dpi: 142 size: 344x194mm (13.5x7.6")
diag: 395mm (15.5")
OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.25-1-MANJARO LLVM 13.0.1)
v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:
Device-1: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Lenovo driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.6
chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.15.25-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.20 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.47 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: Lenovo driver: rtw_8822ce v: N/A modules: rtw88_8822ce pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:c822
class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
IP v4: <filter> type: noprefixroute scope: global broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
IF-ID-1: br-499717b4500a state: down mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
IF-ID-2: br-e2c9524fa80f state: down mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
IF-ID-3: br-fd445cdec72a state: down mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
IF-ID-4: docker0 state: down mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
WAN IP: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 3-3:2 chip-ID: 0bda:c123 class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.36 TiB used: 46.88 GiB (3.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 1B4QFXO7 temp: 35.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WDS500G2B0A-00SM50 size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 40WD
scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 200 GiB size: 200 GiB (100.00%) used: 17.79 GiB (8.9%)
fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4 label: N/A
uuid: ace0bad8-28bd-4394-be04-6f16f09c2607
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
used: 568 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
uuid: 6D0E-7BD5
ID-3: /home raw-size: 698.49 GiB size: 698.49 GiB (100.00%)
used: 29.09 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
label: N/A uuid: 57c7fd23-2de5-4fb4-b2e0-f07d6516c1fd
ID-4: /var/cache raw-size: 200 GiB size: 200 GiB (100.00%)
used: 17.79 GiB (8.9%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
label: N/A uuid: ace0bad8-28bd-4394-be04-6f16f09c2607
ID-5: /var/log raw-size: 200 GiB size: 200 GiB (100.00%)
used: 17.79 GiB (8.9%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
label: N/A uuid: ace0bad8-28bd-4394-be04-6f16f09c2607
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 32.23 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A
uuid: cd5c2a44-93ca-4420-9b07-d4f71adf14e6
Unmounted:
ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 300 MiB fs: vfat label: NO_LABEL
uuid: 7B0A-6572
ID-2: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-3: /dev/sda2 maj-min: 8:2 size: 465.75 GiB fs: ntfs label: System
uuid: 50964CB7964C9EFA
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-2:2 info: VIA Labs USB2.0 Hub ports: 5 rev: 2.1 speed: 480 Mb/s
chip-ID: 2109:2817 class-ID: 0900
Device-1: 1-2.1:4 info: Logitech Corded Keyboard K280e type: Keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
power: 98mA chip-ID: 046d:c328 class-ID: 0300
Hub-3: 1-2.3:5 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0608 class-ID: 0900
Device-1: 1-2.4:6 info: A4Tech XL-730K / XL-750BK XL-755BK Mice
type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
speed: 12 Mb/s power: 100mA chip-ID: 09da:9090 class-ID: 0301
Device-2: 1-2.5:7 info: VIA Labs USB Billboard Device type: Billboard
driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA
chip-ID: 2109:8817 class-ID: 1100 serial: <filter>
Device-3: 1-3:3 info: IMC Networks Integrated Camera type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 13d3:56ff class-ID: 0e02
Hub-4: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-5: 2-2:2 info: VIA Labs USB3.0 Hub ports: 4 rev: 3.2 speed: 5 Gb/s
chip-ID: 2109:0817 class-ID: 0900
Hub-6: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-3:2 info: Realtek Bluetooth Radio type: Bluetooth
driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s power: 500mA
chip-ID: 0bda:c123 class-ID: e001 serial: <filter>
Hub-7: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 40.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 417 Uptime: 4m wakeups: 1 Init: systemd v: 250 tool: systemctl
Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: 1366 pacman: 1356 lib: 370
flatpak: 6 snap: 4 Shell: Zsh v: 5.8.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.13
dmesg --level emerg,alert,crit,err,warn
[ 0.275985] TSC synchronization [CPU#0 -> CPU#1]:
[ 0.275985] Measured 7984323882 cycles TSC warp between CPUs, turning off TSC clock.
[ 0.276141] #2 #3 #4 #5 #6 #7 #8 #9 #10 #11
[ 0.588130] pci 0000:00:00.2: can't derive routing for PCI INT A
[ 0.588131] pci 0000:00:00.2: PCI INT A: not connected
[ 0.688853] Unstable clock detected, switching default tracing clock to "global"
If you want to keep using the local clock, then add:
"trace_clock=local"
on the kernel command line
[ 1.299615] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 2.169880] nvidia: loading out-of-tree module taints kernel.
[ 2.169890] nvidia: module license 'NVIDIA' taints kernel.
[ 2.169891] Disabling lock debugging due to kernel taint
[ 2.190059] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 2.190282] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 2.190326] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 2.270735] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 510.54 Tue Feb 8 04:42:21 UTC 2022
[ 2.780727] nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
[ 2.862799] ATPX version 1, functions 0x00000001
[ 2.862935] ATPX Hybrid Graphics
[ 2.875460] amdgpu 0000:05:00.0: amdgpu: PSP runtime database doesn't exist
[ 2.900735] systemd-journald[347]: File /var/log/journal/c6e1796e43264e11ac943f1cba220b84/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 3.754306] amdgpu: SRAT table not found
[ 6.461197] ACPI Warning: \_SB.PCI0.GPP0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20210730/nsarguments-61)
[ 8.083501] kauditd_printk_skb: 249 callbacks suppressed
[ 13.416254] kauditd_printk_skb: 223 callbacks suppressed
[ 23.634617] kauditd_printk_skb: 19 callbacks suppressed
I’m relatively new to the world of free software, but have a strong intent to stay : ) Please, give me some guidance how to troubleshoot this issue.