Neon: Plasma 6.3 update updated the kernel. Kernel panic at boot

The latest update came with kernel 6.11.0-17-generic. It fails to boot. I am able to boot on the 6.8 kernel.

Operating System: KDE neon 6.2
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.8.0-53-generic (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 30.8 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: Dell Inc.
Product Name: Inspiron 16 Plus 7640

In removing some old packages, the kernel tried to reinstall and generated some errors. What’s the problem?

Building module:
Cleaning build area...
'make' -j22 KLIB=/lib/modules/6.11.0-17-generic KLIB_BUILD=/lib/modules/6.11.0-17-generic/build..........(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.11.0-17-generic (x86_64)
Consult /var/lib/dkms/backport-iwlwifi/11510/build/make.log for more information.
dkms autoinstall on 6.11.0-17-generic/x86_64 failed for backport-iwlwifi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.11.0-17-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.11.0-17-generic (--configure):
 installed linux-headers-6.11.0-17-generic package post-installation script subprocess returned error exit status 11
Setting up linux-image-6.11.0-17-generic (6.11.0-17.17~24.04.2) ...
I: /boot/initrd.img.old is now a symlink to initrd.img-6.11.0-17-generic
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-6.11.0-17-generic; however:
  Package linux-headers-6.11.0-17-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.11.0-17.17~24.04.2+2); 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 man-db (2.12.0-4build2) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
Processing triggers for linux-image-6.11.0-17-generic (6.11.0-17.17~24.04.2) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.11.0-17-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


The kernel being updated is going to be unrelated to the Plasma 6.3 update. You’ll want to go to your distros forum and create a help request thread there.

The kernel update came as part of the KDE Neon update, which included Plasma 6.3. Is there a better place for KDE Neon assistance?

The kernel came from Ubuntu, a day or two ago. Neon doesn’t have anything to do with most of the the Ubuntu OS parts.

dkms failed to rebuild the module for the new kernel. it happens sometimes, or there is a problem with backport-iwlwifi-dkms assuming this is what you installed,.

This comes from ubuntu, so you may find more info from more general Ubuntu places, for more eyeballs. You will find more *buntu users who have installed the wifi driver package than you will neon users.

Already someone has noted this, so it may not just be you.

I’d try looking at the log file, and maybe try reinstalling that wifi driver package, which would try running DKMS again – it might work this time. Or removing it, boot to the new kernel (which should work ) and try installing it again, assuming you do have a network connection without it.

3 Likes

Thank you, claydoh. It looks like a fresh bug. It just got confirmed.

Hello. I’m new in your chat and have KDE but I got exactly the same problem on my Ubuntu 24.04… when booting in recovery mode i got samle error, meaning it doesn’t fing the good boot device (with linux 6.11.0-17-generic). If I boot with linux 6.08.0-52-generic, there is no more problem. So the problem is well linked to the new 6.11.0-17 but i’m really not a specialist… Kind regards.

1 Like

Go to the Launchpad report and click at top that the bug affects you.

The solution to this is to remove the iwlwifi package. The kernel then compiles & boots. As I read, the driver is part of the kernel, and the package is no longer needed. I’ve done this and the wifi is still working.

1 Like

Hello.
I found the solution to my problem where After update containing linux kernel 6.11.0-17 generic, pc does not boot…

  1. with more boot option ; restart system with 6.08.0-52 generic and it works :slight_smile:

I apply the command “sudo apt upgrade” and it fail with message evdi 1.14.4 missing but still installed"…

==> remove it (sudo displaylink-installer uninstall) ==> no more 2 screens :-(( and must reboot as evdi is running…

than reinstall the latest driver from evdi site (in my case evdi 1.14.7

rebuild then with sudo apt upgrade and now the make function again, no more error in the make command :-))

so, try to reboot as usual with latest 6.11.0-17 and it works now fine

Hope it can help others.

Kind regards.

24.04 same issue
but i can’t install completely or remove that kernel
backport-iwlwifi-dkms wasn’t installed…
6.8 working ok
but i need to load it manually every time

If apt will not remove it then see if dpkg will.

sudo dpkg --purge linux-generic-hwe-24.04

Appears to be how it is named from the bug report above.

Then use.

sudo apt-mark hold linux-image-6.08.0-52-generic

To hold that package and prevent it from being upgraded. Once them people at ubuntu figure out how to release a kernel without problems install it and see if it works for you.

sudo apt install linux-generic-hwe-24.04

Sorry, not “I can’t” but regular system,
yes I know deal with this)