You are not logged in.

#1 2022-01-25 21:38:00

madlabman
Member
Registered: 2022-01-25
Posts: 2

Silent kernel panic with linux 5.16.2

I have a fresh Arch installation on my Lenovo Ideapad 5 Pro, model 14ACN6.
CPU: AMD Ryzen 7 5800U, GPU: AMD ATI Cezanne.
Windows 10 installed alongside Arch Linux with Secure boot enabled. Arch installed on LVM on LUKS.
With 5.15.16-1 linux-lts kernel it works pretty stable with only issue with USB from time to time.
But with the current linux and linux-zen 5.16.2 kernels I have my laptop in 10-20% cases freezing at startup with blank screen and power and caps lock indicators blinking (assume that it means kernel panic). Actually an error was met during shutdown one time too.
I've no experience in investigating of such types of an errors so kindly ask for help.
Redirecting systemd logs to tty1 show nothing except regular logs.

Offline

#2 2022-01-25 22:19:12

loqs
Member
Registered: 2014-03-06
Posts: 17,657

Re: Silent kernel panic with linux 5.16.2

Is anything recorded in the system journal from a boot that ends in a kernel panic?

Offline

#3 2022-01-25 22:41:13

seth
Member
Registered: 2012-09-03
Posts: 52,615

Re: Silent kernel panic with linux 5.16.2

If not, remove the quiet parameter and add some debug ones, https://wiki.archlinux.org/title/Genera … bug_output
Also

Redirecting systemd logs to tty1 show nothing except regular logs.

but where do they stop?

Offline

#4 2022-01-26 12:40:19

madlabman
Member
Registered: 2022-01-25
Posts: 2

Re: Silent kernel panic with linux 5.16.2

So, using debug and rescue kernels parameter I've catch the kernel panic message:
2147483648-216261.jpg
Last trace was not recorded but previous ones related to the same kernel module mt7921e, e.g.

Jan 26 14:42:56 madterm kernel: mt7921e 0000:01:00.0: Timeout for driver own
Jan 26 14:42:56 madterm kernel: Modules linked in: snd_hda_codec_realtek snd_soc_dmic snd_acp3x_pdm_dma intel_rapl_msr snd_acp3x_rn snd_hda_codec_generic joydev intel_rapl_common snd_soc_core ledtrig_audio mousedev snd_hda_codec_hdmi mt7921e(+) snd_hda_intel edac_mce_amd hid_sensor_custom snd_compress snd_intel_dspcfg mt7921_common ac97_bus wmi_bmof kvm_amd hid_sensor_hub hid_multitouch snd_intel_sdw_acpi snd_pcm_dmaengine snd_hda_codec mt76_connac_lib kvm uvcvideo snd_hda_core mt76 amdgpu btusb videobuf2_vmalloc irqbypass snd_hwdep snd_pci_acp6x videobuf2_memops btrtl mac80211 btbcm snd_pcm snd_pci_acp5x videobuf2_v4l2 btintel gpu_sched sp5100_tco videobuf2_common rapl libarc4 snd_timer pcspkr k10temp bluetooth videodev snd_rn_pci_acp3x drm_ttm_helper snd i2c_piix4 snd_pci_acp3x ecdh_generic uas mc cfg80211 soundcore ttm ideapad_laptop ucsi_acpi sparse_keymap typec_ucsi platform_profile typec wmi mac_hid tpm_crb roles rfkill video tpm_tis tpm_tis_core pinctrl_amd i2c_hid_acpi i2c_hid amd_pmc acpi_cpufreq
Jan 26 14:42:56 madterm kernel:  mt7921_wpdma_reset+0xbc/0x230 [mt7921e b550b3bee72d89b0955d78ba177f3ae4c72d495f]
Jan 26 14:42:56 madterm kernel:  mt7921_pci_probe+0x1f1/0x230 [mt7921e b550b3bee72d89b0955d78ba177f3ae4c72d495f]
Jan 26 14:42:57 madterm kernel: mt7921e 0000:01:00.0: hardware init failed
Jan 26 14:42:57 madterm kernel: mt7921e: probe of 0000:01:00.0 failed with error -5

So looks like I have an issue with my Network controller [0280]: MEDIATEK Corp. Device [14c3:7961]
I guess same issue described here https://github.com/openwrt/mt76/issues/548 and here https://www.reddit.com/r/linuxhardware/ … ek_mt7961/. And it looks like there is no 100% working solution at the moment except moving to another WiFi controller.

Offline

#5 2022-04-02 13:16:46

gr523
Member
Registered: 2022-04-02
Posts: 7

Re: Silent kernel panic with linux 5.16.2

I found a workaround
For some reason, I tried unloading the driver before rebooting and it solved the problem
So create a systemd service to run before reboot

[Unit]
Description=Pre-Reboot Processes
DefaultDependencies=no
Before=reboot.target

[Service]
Type=oneshot
ExecStart=/usr/bin/sh -c "modprobe -r mt7921e"

[Install]
WantedBy=reboot.target

Offline

Board footer

Powered by FluxBB