Kernel Panic

after installing the new kernels via dnf:
kernel-6.13.7-200.fc41.x86_64
kernel-6.13.8-200.fc41.x86_64

I get the kernel panic error, what can I do?

NOTE: I have installed the display-link rpm driver via github… I searched online and fpr some people that driver was the problem… I tried uninstalling the rpm but it changed nothing

NOTE 2: When I try to reinstall the kernel the terminal says it has 0.0 B size

Hi Lorenzo,
I would just wait for Kernel 6.13.9. If that also gives you a Kernel Panic then submit a bug report.

I am assuming you are currently booting to a working Kernel?

In case you are worried about installing only non-working Kernels you can see instructions in How can I change the number of kernels retained when updating in Fedora? regarding keeping more than 3 Kernels.

Cheers,
Mat

yes I am on kernel 6.13.6

I would certainly not wait for 6.13.9 until increasing the number of kernels to keep, because if 6.13.9 also fails, you are left with an unbootable system.

Thats why I posted a link to your instructions to increase the number of Kernels kept.

1 Like

yeah I have increased the number of kernels to 5 for now… it is however strange that both the 6.13.7 and 6.13.8 give the kernel panic error…

1 Like

It’s the Cursed Kernel :slight_smile:
6.13.6 gave me my first kernel panic.

I have no idea how to ‘fix’ a kernel panic other than get a new kernel.

maybe!
I had a kernel panic with 6.13.4, the first after over a decade…

Panics that only affect a few users may not be fixed without a bug report.

A kernel panic can be caused by a module (driver) or a hardware fault. These days, most panics affect only a small number of users, and will appear across distros so you may find other reports with web searches if you can get past all the AI clickbait. Adding the output from running inxi -Fzxx in a terminal (as pre-formatted text) may halp others with the issue on similar hardware find this topic.

If you have things like KVM’s or external USB devices you should try booting a kernel that panics with a minimal hardware configuration. If that succeeds, add the devices one at a time until the problem appears.


before the “kernel panic” error I get a screen where it says “… image not found”
When I try to reinstall the kernel it says under size “0.0 B”… isnt it strange?
Could this be the problem?

I tried doing: sudo dnf reinstall kernel-core-6.13.8-200.fc41.x86_64
and I got this

Ok I have found the solution…
The problem was that I had rtw89/git module installed (dkms) and it was somehow conflicting with the kernel… I have removed the module and reinstalled the kernel.
Now is all good