And tried to get my computer to boot using Ubuntu with Linux 6.17.0-14-generic. However, when I restarted I got a Kernel Panic with the message ‘attempted to kill the idle task’ and when I tried to power the computer off and back on again, I get stuck in this menu:
Attempting to “Continue” or turn the computer off and on again just brings me back to this screen. I also can’t figure out how to get to GRUB, either (hitting shift and escape when the logo appears doesn’t seem to work). How do I get out of it and return to desktop?
UPDATE: Managed to get out of that screen by booting into my Ubuntu install media and chrooting to get grub back to its old value. The contents of /etc/default/grub look like this for now:
Are you aware that the realtime kernel flavor is optimized for industrial/robotics/medical-device/automotive use-cases ? It really is not anything you want to use on desktop installs …
Does your issue happen if you use a normal preemptive desktop kernel ?
Tried to install a newer generic kernel through Mainline, but keep running into errors like this:
Autoinstall of module hid-xpadneo/v0.9-222-gcd25680 for kernel 6.19.0-061900-generic (x86_64)Building module(s)…(bad exit status: 2)Failed command:make -j12 KERNELRELEASE=6.19.0-061900-generic -C ‘/lib/modules/6.19.0-061900-generic/build’ M=‘/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src’ VERSION=‘v0.9-222-gcd25680’ modulesERROR (dkms apport): binary package for hid-xpadneo: v0.9-222-gcd25680 not found
Error! Bad return status for module build on kernel: 6.19.0-061900-generic (x86_64)Consult /var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/make.log for more information.
The make.log file output this:
DKMS (dkms-3.2.0) make.log for hid-xpadneo/v0.9-222-gcd25680 for kernel 6.19.0-061900-generic (x86_64)
Tue Mar 3 12:43:05 CST 2026
Building module(s)
# command: make -j12 KERNELRELEASE=6.19.0-061900-generic -C '/lib/modules/6.19.0-061900-generic/build' M='/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src' VERSION='v0.9-222-gcd25680' modules
make: Entering directory '/usr/src/linux-headers-6.19.0-061900-generic'
make[1]: Entering directory '/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-15 (Ubuntu 15.2.0-4ubuntu4) 15.2.0
You are using: gcc-15 (Ubuntu 15.2.0-4ubuntu4) 15.2.0
cp hid-xpadneo.c xpadneo.c
CC [M] xpadneo/core.o
CC [M] xpadneo/consumer.o
CC [M] xpadneo/keyboard.o
CC [M] xpadneo.o
xpadneo.c: In function ‘xpadneo_probe’:
xpadneo.c:1225:21: error: implicit declaration of function ‘ida_simple_get’ [-Wimplicit-function-declaration]
1225 | xdata->id = ida_simple_get(&xpadneo_device_id_allocator, 0, 0, GFP_KERNEL);
| ^~~~~~~~~~~~~~
xpadneo.c: In function ‘xpadneo_release_device_id’:
xpadneo.c:1330:17: error: implicit declaration of function ‘ida_simple_remove’ [-Wimplicit-function-declaration]
1330 | ida_simple_remove(&xpadneo_device_id_allocator, xdata->id);
| ^~~~~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-6.19.0-061900-generic/scripts/Makefile.build:289: xpadneo.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.19.0-061900-generic/Makefile:2062: .] Error 2
make[1]: *** [/usr/src/linux-headers-6.19.0-061900-generic/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src'
make: *** [Makefile:248: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.19.0-061900-generic'
# exit code: 2
# elapsed time: 06:00:00
----------------------------------------------------------------
The Mainline app is known to install non-ubuntu kernels that are known to be insecure and have missing kernel configs (and security patches) the Ubuntu userspace expects to be there …
These kernels will also turn off all automatic kernel updates of the system for the future, you should really not use this …
sudo apt install linux-generic gives you the default kernel … (for LTS releases (like 24.04 or 26.04 when it comes out) you can also have newer kernels than the default (called HWE), for short lived releases that go EOL after 9 months like 25.10 is, nobody makes such an effort though…
Here is some info about HWE kernels for long term releases:
Running that command tells me I’ve already got the newest version (6.17.0-14.14). However, I’ve still got the realtime kernels and I’m not sure how to get rid of them (or at least make sure the generic kernel runs first without having to enter GRUB). How do I do that?
It’s always useful to allow Grub to appear when you start the PC.
Then, it’s easy to select an alternative kernel, recovery mode or access UEFI settings.
sudo nano /etc/default/grub
Here’s an example:-
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10 # or however many seconds for your own comfort
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
When I get home from work tonight, I’ll give this a try to remove that realtime kernel ogra said was no good. I’ll also try setting up that GRUB menu you mentioned and let you know how it goes.
Just gave this a try, but while I do manage to get to grub, there’s an odd problem I’m still having.
I have a lot of things plugged into my computer at once - an external monitor, a USB hub with USBs for a keyboard, computer mice, and a mic, and an external SSD.
I’m unsure if I’m mistaking correlation for causation, but the computer only seems to boot up properly (to the GRUB and then the login screen) when I turn it on after disconnecting all those devices.
Any idea what I can do to help determine if these plug-in devices are somehow the issue?