I have two systems, dual boot laptop (Windows/Ubuntu) and standalone PC (Ubuntu). SInce June, the default boot always stops at the Kernel Panic message of death.
I have recently noticed that I can use the Advanced option of the GNU GRUB startup menu to choose between the default kernel release 6.17 (Kernel Panic) and 6.14.0-37-generic (works fine, says Ubuntu 24.04.5 LTS).
I tried Software update but I still have the problem, the only change is that now, the default kernel release is 7.0 (also Kernel Panic), but I still have the option of kernel 6.14 âŠ
Do I understand that my only option is to use the Advanced menu on boot - or is there a recommended (and easy!) fix for my type of problem?
dkms: running auto installation service for kernel 7.0.0-31-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build areaâŠ
make -j16 KERNELRELEASE=7.0.0-31-generic -C /lib/modules/7.0.0-31-generic/build M=/var/lib/dkms/tuxedo-yt6801/1.0.29tux0/buildâŠ(bad ex
it status: 2)
ERROR: Cannot create report: [Errno 17] File exists: â/var/crash/tuxedo-yt6801.0.crashâ
Error! Bad return status for module build on kernel: 7.0.0-31-generic (x86_64)
Consult /var/lib/dkms/tuxedo-yt6801/1.0.29tux0/build/make.log for more information.
dkms autoinstall on 7.0.0-31-generic/x86_64 failed for tuxedo-yt6801(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: running auto installation service for kernel 6.17.0-20-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build areaâŠ
make -j16 KERNELRELEASE=6.17.0-20-generic -C /lib/modules/6.17.0-20-generic/build M=/var/lib/dkms/tuxedo-yt6801/1.0.29tux0/buildâŠ(bad
exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: â/var/crash/tuxedo-yt6801.0.crashâ
Error! Bad return status for module build on kernel: 6.17.0-20-generic (x86_64)
Consult /var/lib/dkms/tuxedo-yt6801/1.0.29tux0/build/make.log for more information.
dkms autoinstall on 6.17.0-20-generic/x86_64 failed for tuxedo-yt6801(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: running auto installation service for kernel 7.0.0-31-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build areaâŠ
make -j16 KERNELRELEASE=7.0.0-31-generic -C /lib/modules/7.0.0-31-generic/build M=/var/lib/dkms/tuxedo-yt6801/1.0.29tux0/buildâŠ(bad ex
it status: 2)
ERROR: Cannot create report: [Errno 17] File exists: â/var/crash/tuxedo-yt6801.0.crashâ
Error! Bad return status for module build on kernel: 7.0.0-31-generic (x86_64)
Consult /var/lib/dkms/tuxedo-yt6801/1.0.29tux0/build/make.log for more information.
dkms autoinstall on 7.0.0-31-generic/x86_64 failed for tuxedo-yt6801(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
The kernel panic happens because your new kernels are not fully installed: linux-image-7.0.0-31-generic aborted during installation, so its initramfs was never built properly.
When GRUB tries to boot the kernel without an initramfs, it panics immediately with âVFS: Unable to mount root fsâ.
The root cause is the tuxedo-yt6801 DKMS module. Version 1.0.29 fails to compile against kernel 6.17 and 7.0 headers, causing the kernel post-install hook to exit with code 11.
First, check if you actually have this Motorcomm network card:
lspci -nnk | grep -i net -A3
If you do not have this hardware (or donât need this Ethernet driver), simply purge the broken DKMS package and finish configuring the kernel:
Yes, I did weigh that in but I have put too much effort in maximizing network speed on my network to be ready to forget about the wired Ethernet port. I am ready for the longer story
That package does not come from the Ubuntu archive, we can not support it here, the code in it will likely need to get updated to support newer kernels to make it build, you should file an issue where you got that module source from to have its upstream fix it and hold back the kernel update to 7.x for the time being until they can provide you a fixed version when you actually require this module.
If your Ethernet still gives you problems (even after any excellent help from @steelf and @ogra), consider purchasing a USB/Ethernet adapter as a hardware backup
If you can get tuxedo-yt6801/1.0.29tux0 removed from your system sudo dkms uninstall tuxedo-yt6801/1.0.29tux0, the 7.0 should work fine with your ethernet device as support for the Motorcomm YT6801 was added
@Jeremy31 is right, kernel 7.0 has native in-tree support
Just make sure to completely purge the package with apt rather than dkms uninstall, otherwise the kernel post-install hook will keep trying to build the broken source and fail the initramfs.
If you still need Ethernet on kernel 6.14, TUXEDO already fixed this with version 1.0.31-8 in their Noble repository.
do you mean I should do sudo apt remove --purge tuxedo-yt6801 && sudo apt install -f instead of sudo dkms uninstall tuxedo-yt6801/1.0.29tux0 ?
I now have Ethernet on kernel 6.14, I only need it for these fixes, but if Ethernet works on kernel 7.0 and no longer works on kernel 6.14, itâs OK for me - and Iâlls still have wifi anyway if I need to go back to this backup kernel. Do I understand this right ?
after removal of tuxedo-yt6801, do I still have to do : sudo apt dist-upgrade ?
thank you all for your speedy and comprehensive response⊠and for bearing with my poor English and poor knowledge of LInux vocabularyâŠ
I donât have this card myself, but⊠your logs+drivers sources =
Yes: run sudo apt remove --purge tuxedo-yt6801 && sudo dpkg --configure -a. You need apt purge because dkms uninstall leaves broken source files that fail the build.
Yes: your plan is solid. Kernel 7.0 has in-tree support (dwmac-motorcomm), and you still have Wi-Fi on 6.14 as backup.
No: you do not need dist-upgrade.
Just check that the initramfs exists before rebooting:
dkms: running auto installation service for kernel 7.0.0-31-generic
dkms: autoinstall for kernel 7.0.0-31-generic
âŠdone.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-7.0.0-31-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grubâ
Generating grub configuration file âŠ
Found linux image: /boot/vmlinuz-7.0.0-31-generic
Found initrd image: /boot/initrd.img-7.0.0-31-generic
Found linux image: /boot/vmlinuz-6.14.0-37-generic
Found initrd image: /boot/initrd.img-6.14.0-37-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme1n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings âŠ
done