Pink Screen of death kernel 6.14 update

It seems the header packages have a configuration error in the script. I tried to reinstall the header package to no avail. Details below.

Error! Bad return status for module build on kernel: 6.14.0-24-generic (x86_64)
Consult /var/lib/dkms/rtl88x2bu/git/build/make.log for more information.
dkms autoinstall on 6.14.0-24-generic/x86_64 succeeded for openrazer-driver virtualbox
dkms autoinstall on 6.14.0-24-generic/x86_64 failed for rtl88x2bu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

  • dkms: autoinstall for kernel 6.14.0-24-generic
    …fail!
    run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
    dpkg: error processing package linux-headers-6.14.0-24-generic (–configure):
    installed linux-headers-6.14.0-24-generic package post-installation script subprocess returned error exit status 11
    Setting up linux-image-6.14.0-24-generic (6.14.0-24.24~24.04.3) …
    I: /boot/initrd.img.old is now a symlink to initrd.img-6.14.0-24-generic
    dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
    linux-headers-generic-hwe-24.04 depends on linux-headers-6.14.0-24-generic; however:
    Package linux-headers-6.14.0-24-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.14.0-24.24~24.04.3); however:
Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (–configure):
dependency problems - leaving unconfigured
Processing triggers for linux-image-6.14.0-24-generic (6.14.0-24.24~24.04.3) …
/etc/kernel/postinst.d/dkms:

  • dkms: running auto installation service for kernel 6.14.0-24-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’ -j12 KVER=6.14.0-24-generic KSRC=/lib/modules/6.14.0-24-generic/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.14.0-24-generic (x86_64)
Consult /var/lib/dkms/rtl88x2bu/git/build/make.log for more information.
dkms autoinstall on 6.14.0-24-generic/x86_64 succeeded for openrazer-driver virtualbox
dkms autoinstall on 6.14.0-24-generic/x86_64 failed for rtl88x2bu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

  • dkms: autoinstall for kernel 6.14.0-24-generic
    …fail!
    run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
    dpkg: error processing package linux-image-6.14.0-24-generic (–configure):
    installed linux-image-6.14.0-24-generic package post-installation script subprocess returned error exit status 11
    Errors were encountered while processing:
    linux-headers-6.14.0-24-generic
    linux-headers-generic-hwe-24.04
    linux-generic-hwe-24.04
    linux-image-6.14.0-24-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Well, I did a timeshift restore, then ran sudo apt clean to clear the cache and force a fresh download, but that changed nothing. Are these packages vetted by the Neon team, or is it something that comes straight from Ubuntu? I am wondering if I should take this problem to an Ubuntu forum.

If you do not use the rtl88x2bu module then uninstall it to get rid of the problem. Otherwise consider the new kernel junk that was not tested well and do not allow it to be installed and hope for better results on the next try at it.

This is a 3rd party dkms driver which fails to be and apparently there’s a bug report in ubuntu about it

1 Like

How did you get those error logs? TIA

The only reason the build failed is because the headers wont install properly. I was going to strip it out as I suspected it might cause confusion. Guess I should have. Three files depend on each other and none will install. The main error is a configuration file in the headers as outlined by this line:

“linux-headers-generic-hwe-24.04 depends on linux-headers-6.14.0-24-generic; however:
Package linux-headers-6.14.0-24-generic is not configured yet.”

I may try to force the install of the headers, the module-extras, and HWE and then run the configurator.

That is the output from apt when I ran:

sudo update-initramfs -u -k 6.14.0-24-generic

from a terminal.

I do not think the failed wifi module build is causing the kernel panic. The kernel does not depend on it, and it just wont be loaded if its not built. Having to update that driver is somewhat commonplace as I have been using this wifi adapter for years. The generic Kernel module is junk. Its slow, has poor signal gain, drops out regularly, and does not activate the adapter’s network activity LED.

My error was a similar dkms error, but for xpadneo module. I haven’t really needed that module for a while, so i uninstalled it.
After that, the 6.14 headers installed okay, and I was able to boot into 6.14 kernel fine.
So, I’m guessing it’s a dkms related issue?? Or something in 6.14 that breaks certain dkms modules??