[Kernel-packages] [Bug 2055147] Re: Kernel upgrade to 6.5.0-21-generic fails to boot
Thanks. Installing an updated EVDI seems to have done the trick `sudo apt-get install evdi-dkms`. The new kernel is now working. However it is not good that automatic updating the kernel broke boot up. I know that there are so many different packages, etc, that you can't possible test all combinations. But maybe there is some way the install could test if the compile works, and if it doesn't then don't add/configure the new kernel but instead report an installation error. The problem would still need fixing, but at least it can be checked before installing that would stop creating a boot up issue. Or maybe you have to install the kernel first before it can be checked, so that may not be possible. Anyway, thanks for the help. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2055147 Title: Kernel upgrade to 6.5.0-21-generic fails to boot Status in linux package in Ubuntu: Invalid Bug description: After automatic update to kernel 6.5.0-21-generic my laptop fails to complete booting with a kernel panic. Safe mode did not work. Booting to previous kernel 6.5.0-17-generic is fine. Errors during failed boot include: ``` VFS Cannot open root device /dev/mapper/vgubuntu-root or unknown-block(0.0) error -6 Please append a correct root= boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0.0) ``` Trying clean up, I see the following error with the kernel installation: ``` sly@sigil:~$ sudo apt-get autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade. 3 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up linux-headers-6.5.0-21-generic (6.5.0-21.21) ... /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 6.5.0-21-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.5.0-21-generic all INCLUDEDIR=/lib/modules/6.5.0-21-generic/build/include KVERSION=6.5.0-21-generic DKMS_BUILD=1...(bad exit status: 2) ERROR (dkms apport): binary package for evdi: 1.11.0 not found Error! Bad return status for module build on kernel: 6.5.0-21-generic (x86_64) Consult /var/lib/dkms/evdi/1.11.0/build/make.log for more information. dkms autoinstall on 6.5.0-21-generic/x86_64 succeeded for nvidia dkms autoinstall on 6.5.0-21-generic/x86_64 failed for evdi(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. * dkms: autoinstall for kernel 6.5.0-21-generic ...fail! run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11 dpkg: error processing package linux-headers-6.5.0-21-generic (--configure): installed linux-headers-6.5.0-21-generic package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-6.5.0-21-generic; however: Package linux-headers-6.5.0-21-generic is not configured yet. dpkg: error processing package linux-headers-generic (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-headers-generic (= 6.5.0.21.20); however: Package linux-headers-generic is not configured yet. dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured Processing triggers for linux-image-6.5.0-21-generic (6.5.0-21.21) ... /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 6.5.0-21-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.5.0-21-generic all INCLUDEDIR=/lib/modules/6.5.0-21-generic/build/include KVERSION=6.5.0-21-generic DKMS_BUILD=1...(bad exit status: 2) ERROR (dkms apport): binary package for evdi: 1.11.0 not found Error! Bad return status for module build on kernel: 6.5.0-21-generic (x86_64) Consult /var/lib/dkms/evdi/1.11.0/build/make.log for more information. dkms
[Kernel-packages] [Bug 2055147] [NEW] Kernel upgrade to 6.5.0-21-generic fails to boot
Public bug reported: After automatic update to kernel 6.5.0-21-generic my laptop fails to complete booting with a kernel panic. Safe mode did not work. Booting to previous kernel 6.5.0-17-generic is fine. Errors during failed boot include: ``` VFS Cannot open root device /dev/mapper/vgubuntu-root or unknown-block(0.0) error -6 Please append a correct root= boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0.0) ``` Trying clean up, I see the following error with the kernel installation: ``` sly@sigil:~$ sudo apt-get autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade. 3 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up linux-headers-6.5.0-21-generic (6.5.0-21.21) ... /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 6.5.0-21-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.5.0-21-generic all INCLUDEDIR=/lib/modules/6.5.0-21-generic/build/include KVERSION=6.5.0-21-generic DKMS_BUILD=1...(bad exit status: 2) ERROR (dkms apport): binary package for evdi: 1.11.0 not found Error! Bad return status for module build on kernel: 6.5.0-21-generic (x86_64) Consult /var/lib/dkms/evdi/1.11.0/build/make.log for more information. dkms autoinstall on 6.5.0-21-generic/x86_64 succeeded for nvidia dkms autoinstall on 6.5.0-21-generic/x86_64 failed for evdi(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. * dkms: autoinstall for kernel 6.5.0-21-generic ...fail! run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11 dpkg: error processing package linux-headers-6.5.0-21-generic (--configure): installed linux-headers-6.5.0-21-generic package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-6.5.0-21-generic; however: Package linux-headers-6.5.0-21-generic is not configured yet. dpkg: error processing package linux-headers-generic (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-headers-generic (= 6.5.0.21.20); however: Package linux-headers-generic is not configured yet. dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured Processing triggers for linux-image-6.5.0-21-generic (6.5.0-21.21) ... /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 6.5.0-21-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.5.0-21-generic all INCLUDEDIR=/lib/modules/6.5.0-21-generic/build/include KVERSION=6.5.0-21-generic DKMS_BUILD=1...(bad exit status: 2) ERROR (dkms apport): binary package for evdi: 1.11.0 not found Error! Bad return status for module build on kernel: 6.5.0-21-generic (x86_64) Consult /var/lib/dkms/evdi/1.11.0/build/make.log for more information. dkms autoinstall on 6.5.0-21-generic/x86_64 succeeded for nvidia dkms autoinstall on 6.5.0-21-generic/x86_64 failed for evdi(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. * dkms: autoinstall for kernel 6.5.0-21-generic ...fail! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: error processing package linux-image-6.5.0-21-generic (--configure): installed linux-image-6.5.0-21-generic package post-installation script subprocess returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: linux-headers-6.5.0-21-generic linux-headers-generic linux-generic linux-image-6.5.0-21-generic E: Sub-process /usr/bin/dpkg returned an error code (1) ``` ProblemType: Bug DistroRelease: Ubuntu 23.10 Package: linux-image-6.5.0-17-generic 6.5.0-17.17 ProcVersionSignature: Ubuntu 6.5.0-17.17-generic 6.5.8 Uname: Linux 6.5.0-17-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.27.0-0ubuntu5