Can't boot with different kernel

Hello.
After a recent upd I've had problems with my WiFi connection. See [SOLVED] Qualcomm Atheros AR9462 - WiFi Disconnects Every Few Minutes / Newbie Corner / Arch Linux Forums

garuda-inxi:

System:
Kernel: 5.16.16-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=f3a49f90-9f12-4e85-b19e-ceccd4018b34 rw rootflags=subvol=@
acpi_osi=! "acpi_osi=Windows 2013" quiet splash rd.udev.log_priority=3
vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1
resume=UUID=1a8bbdb8-fd3a-4dc9-b980-4fc1b201e03d loglevel=3
mitigations=off sysrq_always_enabled=1 pci=noaer
Desktop: KDE Plasma 5.24.3 tk: Qt 5.15.3 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: MSI model: X99S SLI PLUS (MS-7885) v: 1.0
serial: <superuser required> UEFI: American Megatrends v: 1.E0
date: 06/15/2018
CPU:
Info: model: Intel Core i7-5820K bits: 64 type: MT MCP arch: Haswell
family: 6 model-id: 0x3F (63) stepping: 2 microcode: 0x49
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 15 MiB desc: 1x15 MiB
Speed (MHz): avg: 2975 high: 3478 min/max: 1200/3600 scaling:
driver: intel_cpufreq governor: performance cores: 1: 2633 2: 2332 3: 3239
4: 3392 5: 3377 6: 3042 7: 3058 8: 3160 9: 3478 10: 2989 11: 3458
12: 1550 bogomips: 79198
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: vulnerable
Type: mds status: Vulnerable; SMT vulnerable
Type: meltdown status: Vulnerable
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 status: Vulnerable: __user pointer sanitization and
usercopy barriers only; no swapgs barriers
Type: spectre_v2 status: Vulnerable, IBPB: disabled, STIBP: disabled
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: Gigabyte driver: nvidia
v: 510.54 alternate: nouveau,nvidia_drm pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 03:00.0 chip-ID: 10de:13c2 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 3360x2560 s-dpi: 100 s-size: 853x650mm (33.6x25.6")
s-diag: 1072mm (42.2")
Monitor-1: DP-0 pos: primary,top-left res: 1440x2560 hz: 60 dpi: 109
size: 336x598mm (13.2x23.5") diag: 686mm (27")
Monitor-2: DVI-D-0 pos: primary,bottom-r res: 1920x1200 hz: 60 dpi: 94
size: 518x324mm (20.4x12.8") diag: 611mm (24.1")
OpenGL: renderer: NVIDIA GeForce GTX 970/PCIe/SSE2 v: 4.6.0 NVIDIA 510.54
direct render: Yes
Audio:
Device-1: Intel C610/X99 series HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8d20
class-ID: 0403
Device-2: NVIDIA GM204 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 03:00.1 chip-ID: 10de:0fbb class-ID: 0403
Sound Server-1: ALSA v: k5.16.16-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Ethernet I218-V vendor: Micro-Star MSI driver: e1000e
v: kernel port: f000 bus-ID: 00:19.0 chip-ID: 8086:15a1 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Qualcomm Atheros AR93xx Wireless Network Adapter driver: ath9k
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 07:00.0
chip-ID: 168c:0030 class-ID: 0280
IF: wlp7s0 state: up mac: <filter>
Drives:
Local Storage: total: 953.87 GiB used: 326.04 GiB (34.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Hikvision
model: HS-SSD-E1000 1024G size: 953.87 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: EDFMB0.5 temp: 33.9 C scheme: GPT
Partition:
ID-1: / raw-size: 500 GiB size: 500 GiB (100.00%) used: 326.01 GiB (65.2%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 29.5 MiB (9.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 500 GiB size: 500 GiB (100.00%)
used: 326.01 GiB (65.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 500 GiB size: 500 GiB (100.00%)
used: 326.01 GiB (65.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 500 GiB size: 500 GiB (100.00%)
used: 326.01 GiB (65.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.52 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 17.07 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p6 maj-min: 259:6
Sensors:
System Temperatures: cpu: 43.5 C mobo: 34.0 C gpu: nvidia temp: 30 C
Fan Speeds (RPM): fan-1: 482 fan-2: 513 fan-3: 1677 fan-4: 1719 fan-5: 0
gpu: nvidia fan: 47%
Info:
Processes: 287 Uptime: 0m wakeups: 0 Memory: 15.52 GiB
used: 1.8 GiB (11.6%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 Packages: pacman: 1367 lib: 335 Shell: fish v: 3.3.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.13
Garuda (2.5.6-2):
System install date:     2021-11-19
Last full system update: 2022-03-24
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:            bluetooth-autoconnect.service

the grub options

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Garuda Linux, with Linux linux-zen' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-advanced-f3a49f90-9f12-4e85-b19e-ceccd4018b34' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	search --no-floppy --fs-uuid --set=root f3a49f90-9f12-4e85-b19e-ceccd4018b34
	echo	'Loading Linux linux-zen ...'
	linux	/@/boot/vmlinuz-linux-zen root=UUID=f3a49f90-9f12-4e85-b19e-ceccd4018b34 rw rootflags=subvol=@  acpi_osi=! "acpi_osi=Windows 2013" quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=1a8bbdb8-fd3a-4dc9-b980-4fc1b201e03d loglevel=3 mitigations=off sysrq_always_enabled=1 pci=noaer
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/intel-ucode.img /@/boot/initramfs-linux-zen.img
}
menuentry 'Garuda Linux, with Linux linux-zen (fallback initramfs)' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-fallback-f3a49f90-9f12-4e85-b19e-ceccd4018b34' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	search --no-floppy --fs-uuid --set=root f3a49f90-9f12-4e85-b19e-ceccd4018b34
	echo	'Loading Linux linux-zen ...'
	linux	/@/boot/vmlinuz-linux-zen root=UUID=f3a49f90-9f12-4e85-b19e-ceccd4018b34 rw rootflags=subvol=@  acpi_osi=! "acpi_osi=Windows 2013" quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=1a8bbdb8-fd3a-4dc9-b980-4fc1b201e03d loglevel=3 mitigations=off sysrq_always_enabled=1 pci=noaer
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/intel-ucode.img /@/boot/initramfs-linux-zen-fallback.img
}
menuentry 'Garuda Linux, with Linux linux' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-f3a49f90-9f12-4e85-b19e-ceccd4018b34' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	search --no-floppy --fs-uuid --set=root f3a49f90-9f12-4e85-b19e-ceccd4018b34
	echo	'Loading Linux linux ...'
	linux	/@/boot/vmlinuz-linux root=UUID=f3a49f90-9f12-4e85-b19e-ceccd4018b34 rw rootflags=subvol=@  acpi_osi=! "acpi_osi=Windows 2013" quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=1a8bbdb8-fd3a-4dc9-b980-4fc1b201e03d loglevel=3 mitigations=off sysrq_always_enabled=1 pci=noaer
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/intel-ucode.img /@/boot/initramfs-linux.img
}
menuentry 'Garuda Linux, with Linux linux (fallback initramfs)' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-f3a49f90-9f12-4e85-b19e-ceccd4018b34' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	search --no-floppy --fs-uuid --set=root f3a49f90-9f12-4e85-b19e-ceccd4018b34
	echo	'Loading Linux linux ...'
	linux	/@/boot/vmlinuz-linux root=UUID=f3a49f90-9f12-4e85-b19e-ceccd4018b34 rw rootflags=subvol=@  acpi_osi=! "acpi_osi=Windows 2013" quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=1a8bbdb8-fd3a-4dc9-b980-4fc1b201e03d loglevel=3 mitigations=off sysrq_always_enabled=1 pci=noaer
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/intel-ucode.img /@/boot/initramfs-linux-fallback.img
}

### END /etc/grub.d/10_linux ###

journalctl log: journalctl log - Pastebin.com
dmesg log: dmesg log - Pastebin.com

Report everything you have already attempted to solve your problem.

  • As mentioned in that thread, a workaround would be to use a different kernel. I've used the excellent Garuda interface to install linux-lts and linux kernels but after selecting them from the grub menu the screen remains with Loading initial ramdisk ....
  • I can go into tty2 and login.
  • Calling startx does not start the desktop manager.
1 Like

I don't have internet when the issue happends.

Try with a mobile phone in tethering, if possible.
Or from a live USB chrooting into your installed system.

1 Like

If I use the default linux-zen kernel everything works ok.

Something goes wrong with the Nvidia driver.
I hope a further update or even better the sudo dkms autoinstall (and checking relevant logs) might help. The latter could be done booting to tty without connectivity.

1 Like
Error! Could not locate dkms.conf file. 
File: /var/lib/dkms/nvidia/495.44/source/dkms.conf does not exist. 

It's looking in the wrong place.

locate dkms.conf
/usr/src/nvidia-510.54/dkms.conf
/var/lib/dkms/nvidia/510.54/build/dkms.conf

Check if this can help:

4 Likes
╭─x99s@tbog in ~ 
╰─λ dkms status
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/nvidia/495.44/source/dkms.conf does not exist.

╭─x99s@tbog in /var/lib/dkms/nvidia🔒
╰─λ ll
drwxr-xr-x  - root 14 Dec  2021 ď„• 495.44
drwxr-xr-x  - root  7 Feb 00:25 ď„• 495.46
drwxr-xr-x  - root 15 Feb 19:39 ď„• 510.47.03
drwxr-xr-x  - root 25 Mar 19:03 ď„• 510.54
lrwxrwxrwx 32 root 19 Nov  2021 ď„• kernel-5.14.14-zen1-1-zen-x86_64 -> 495.44/5.14.14-zen1-1-zen/x86_64
lrwxrwxrwx 31 root 22 Nov  2021 ď„• kernel-5.15.2-zen1-1-zen-x86_64 -> 495.44/5.15.2-zen1-1-zen/x86_64
lrwxrwxrwx 31 root 14 Dec  2021 ď„• kernel-5.15.5-zen1-1-zen-x86_64 -> 495.46/5.15.5-zen1-1-zen/x86_64
lrwxrwxrwx 32 root 13 Jan 21:04 ď„• kernel-5.15.12-zen1-1-zen-x86_64 -> 495.46/5.15.12-zen1-1-zen/x86_64
lrwxrwxrwx 34 root  7 Feb 00:27 ď„• kernel-5.16.4-zen1-1-zen-x86_64 -> 510.47.03/5.16.4-zen1-1-zen/x86_64
lrwxrwxrwx 29 root 25 Mar 19:03 ď„• kernel-5.16.16-arch1-1-x86_64 -> 510.54/5.16.16-arch1-1/x86_64
lrwxrwxrwx 32 root 25 Mar 19:02 ď„• kernel-5.16.16-zen1-1-zen-x86_64 -> 510.54/5.16.16-zen1-1-zen/x86_64
drwxr-xr-x  - root 25 Mar 19:02 ď„• original_module

╭─x99s@tbog in /var/lib/dkms/nvidia🔒 took 3ms
╰─λ sudo rm -fr 495.44 495.46 510.47.03 kernel-*

╭─x99s@tbog in /var/lib/dkms/nvidia🔒 took 4ms
╰─λ dkms status
nvidia/510.54, 5.16.16-arch1-1, x86_64: built
nvidia/510.54, 5.16.16-zen1-1-zen, x86_64: built (original_module exists)

After booting on the linux 5.16.16-arch1-1 kernel everything is working now!
Thank you for the help!

4 Likes

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