System won't boot after installing kernel-core-6.12.5-200.fc41.x86_64

Just downloaded the new kernel but system is not booting after installing it.

There are 3 versions of kernel is installed on my laptop

kernel-6.11.10-200.fc40.x86_64
kernel-6.12.4-200.fc41.x86_64
kernel-6.12.5-200.fc41.x86_64

And currently booted into 6.12.4.

Here is my system info :

# System Details Report
---

## Report details
- **Date generated:**                              2024-12-21 14:24:31

## Hardware Information:
- **Hardware Model:**                              Dell Inc. Latitude 7400
- **Memory:**                                      16.0 GiB
- **Processor:**                                   Intel® Core™ i5-8365U × 8
- **Graphics:**                                    Intel® UHD Graphics 620 (WHL GT2)
- **Disk Capacity:**                               (null)

## Software Information:
- **Firmware Version:**                            1.36.0
- **OS Name:**                                     Fedora Linux 41 (Workstation Edition)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               47
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.12.4-200.fc41.x86_64

Will happy to troubleshoot this if anyone have any idea how to resolve this? I won’t to try new kernel version as current kernel version 6.12.4 causing frequent disconnect of wifi and bluetooth.

Boot to old kernel and run:
sudo dracut --kver 6.12.5-200.fc41.x86_64

I have had the same problem with the last two updates, I hope they will fix it soon. I don’t want to run this for every future update.

Are you seeing the problem with 3rd party dkms software not building against the new kernel?

Yup currently booted on 6.12.4 with selecting option on grub bootloader directly. Waiting for team fixes it.

Just to confirm are you facing issue with bluetooth and wifi too? As when I try to change wifi network it basically won’t connect (It just shows connecting) to any network and that’s the same for bluetooth as well.

Same issue. Having to run dracut --regenerate-all -p after every kernel update

I could not find an existing bug report.
Raised 2333757 – initrd is not create if a dkms build fails leaving system boot to fail

Had the same issue coming from 6.11.(something) to 6.12.5-200.x86_64. Had a kernel panic on the 6.12.5-200 after reboot, threw a fit about initramfs.

Rebooted into prior kernel, ran the suggested dracut command:
dracut --kver 6.12.5-200.fc41.x86_64

Rebooted and the new kernel did throw a “dkms.service failed to start” but booted successfully after a few moments.

After login, I checked “systemctl status dkms.service”, was in failed state and wouldn’t restart…log output from status showed that “anbox-binder” and “anbox-ashmem” were the cause.

Took the following steps to fully resolve:

Reinstalled the relevant to make sure nothing was missed or corrupt
sudo dnf reinstall kernel-devel kernel-headers

(to confirm the packages matched the kernel)
uname -r
rpm -q kernel-devel kernel-headers

get bad dkms modules all cleaned up, again in this case looks like it was Anbox modules
sudo dkms remove anbox-binder/1 --all
sudo dkms remove anbox-ashmem/1 --all
sudo dkms autoinstall --verbose

make sure dkms was all updated
sudo dnf update dkms

restart and verify the dkms unit was successfully started
sudo systemctl restart dkms.service
sudo systemctl status dkms.service

voila… resolved. After reboot, dkms no longer complains when booting into 6.12.5-200.x86_64.

I would personally advise not regenerating against all installed kernels (could potentially bust working prior kernels… unlikely, but just cautionary), and only the latest affected one.

So instead of:
dracut --regenerate-all -p

Do that only the latest kernel having the issue:
dracut --kver 6.12.5-200.fc41.x86_64

again, thats just personal suggestion for safety. Don’t regenerate for what’s already working is a bit safer.

1 Like

Tried dracut for 6.12.5-200.fc41.x86_64 but not worked showing same kernel panic screen.

Verified if it generated new img file, and yes it does

root@fedora:/boot# ls -lrth
total 343M
drwx------. 6 root root 4.0K Jan  1  1970 efi
drwx------. 2 root root  16K Jul 28 00:03 lost+found
drwxr-xr-x. 3 root root 4.0K Jul 28 00:05 loader
-rwxr-xr-x. 1 root root  15M Jul 28 00:06 vmlinuz-0-rescue-05048653076d4700992ea5f2ce7ebf08
-rw-------. 1 root root 155M Jul 28 00:06 initramfs-0-rescue-05048653076d4700992ea5f2ce7ebf08.img
-rwxr-xr-x. 1 root root  16M Nov 22 05:30 vmlinuz-6.11.10-200.fc40.x86_64
-rw-r--r--. 1 root root 9.6M Nov 22 05:30 System.map-6.11.10-200.fc40.x86_64
-rw-r--r--. 1 root root 272K Nov 22 05:30 config-6.11.10-200.fc40.x86_64
-rw-------. 1 root root  36M Dec  8 15:15 initramfs-6.11.10-200.fc40.x86_64.img
-rw-r--r--. 1 root root 179K Dec  8 15:15 symvers-6.11.10-200.fc40.x86_64.xz
-rwxr-xr-x. 1 root root  16M Dec  9 05:30 vmlinuz-6.12.4-200.fc41.x86_64
-rw-r--r--. 1 root root  11M Dec  9 05:30 System.map-6.12.4-200.fc41.x86_64
-rw-r--r--. 1 root root 274K Dec  9 05:30 config-6.12.4-200.fc41.x86_64
-rwxr-xr-x. 1 root root  16M Dec 15 05:30 vmlinuz-6.12.5-200.fc41.x86_64
-rw-r--r--. 1 root root  11M Dec 15 05:30 System.map-6.12.5-200.fc41.x86_64
-rw-r--r--. 1 root root 274K Dec 15 05:30 config-6.12.5-200.fc41.x86_64
-rw-------. 1 root root  30M Dec 20 00:10 initramfs-6.12.4-200.fc41.x86_64.img
-rw-r--r--. 1 root root 179K Dec 20 00:10 symvers-6.12.4-200.fc41.x86_64.xz
-rw-r--r--. 1 root root 179K Dec 21 13:57 symvers-6.12.5-200.fc41.x86_64.xz
-rw-------. 1 root root  30M Dec 25 12:57 initramfs-6.12.5-200.fc41.x86_64.img
drwx------. 4 root root 4.0K Dec 25 13:03 grub2
root@fedora:/boot# date
Wednesday 25 December 2024 01:03:47 PM IST

Also checked dkms service status, it is exited:

Service status :

root@fedora:~# systemctl status dkms
â—Ź dkms.service - Builds and install new kernel modules through DKMS
     Loaded: loaded (/usr/lib/systemd/system/dkms.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf, 50-keep-warm.conf
     Active: active (exited) since Wed 2024-12-25 13:00:26 IST; 5min ago
 Invocation: e2d749d0846a4e8f9941d0069d73ab5a
       Docs: man:dkms(8)
    Process: 1042 ExecStart=/usr/sbin/dkms autoinstall --verbose --kernelver 6.12.4-200.fc41.x86_64 (code=exited, status=0/SU>
   Main PID: 1042 (code=exited, status=0/SUCCESS)
   Mem peak: 27.8M
        CPU: 162ms

Dec 25 13:00:25 fedora systemd[1]: Starting dkms.service - Builds and install new kernel modules through DKMS...
Dec 25 13:00:26 fedora systemd[1]: Finished dkms.service - Builds and install new kernel modules through DKMS.

Below are the journalctl logs:

-- Boot ba1d368151164cf5be1e7a69acd78998 --
Dec 25 12:56:36 fedora systemd[1]: Starting dkms.service - Builds and install new kernel modules through DKMS...
Dec 25 12:56:37 fedora systemd[1]: Finished dkms.service - Builds and install new kernel modules through DKMS.
Dec 25 12:59:10 fedora systemd[1]: dkms.service: Deactivated successfully.
Dec 25 12:59:10 fedora systemd[1]: Stopped dkms.service - Builds and install new kernel modules through DKMS.
-- Boot f9efa4bdad054b9ba13e9c45dd76beef --
Dec 25 13:00:25 fedora systemd[1]: Starting dkms.service - Builds and install new kernel modules through DKMS...
Dec 25 13:00:26 fedora systemd[1]: Finished dkms.service - Builds and install new kernel modules through DKMS.

Anything I can check further to resolve this?

I had the same problem. Issuing a ˋsystemctl restart dkmsˋ showed for me that 3 modules, all unrelated to each other, caused the error.

Do more a matter unrelated to Fedora or the kernel, more other modules that were not updated.

Merry Christmas all!
*

1 Like

Just an update:

I installed 6.12.7 kernel version and it showed the same kernel panic error so tried dracut and it worked

root@fedora:~# uname -r
6.12.7-200.fc41.x86_64

After all this wifi option is not showing though… :slight_smile:

Doesn’t dracut warn you that you may have to manually enable or include wifi and bluetooth? I believe my laptop had that warning, although there everything worked.
May still be worthwhile for you to figure out what kills the creation of the initfs (see my last post before yours) and sort that problem out. Likely some non-stnadard module that needs updated source, may not be needed anymore or simply is not maintained and does not compile anymore.

Nope, I didn’t see any warnings but bluetooth is working fine after upgrade to kernel 6.12.7 unlike wifi.

This Dell Latitude 7480 with 1.40.0 firmware gave the error you show for all installed kernels and also USB installer keys. Using the Dell BIOS configuration, I used the option to add a boot entry, which filled in the fields and gave Boot0003 (Fedora2) that works:

% efibootmgr  
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,0002,0001
Boot0001* Fedora	HD(1,GPT,a9b8f5c8-95d9-4899-a355-e9fbeb547be8,0x800,0xfa000)/\EFI\fedora\shimx64.efi
Boot0002* Linux Firmware Updater	HD(1,GPT,a9b8f5c8-95d9-4899-a355-e9fbeb547be8,0x800,0xfa000)/\EFI\fedora\fwupdx64.efi
Boot0003* Fedora2	PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-5A-01-9E-5A-56)/HD(1,GPT,a9b8f5c8-95d9-4899-a355-e9fbeb547be8,0x800,0xfa000)/\EFI\fedora\shimx64.efi

Some documents indicate that the grub2 HD() format is not universally supported, but haven’t had time to fully investigate.

Thanks for the reply. After upgrading to 6.12.7, I was able to boot. And regarding grub2 not supporting HD(), maybe it is because of efi systems.

Yo I made an account for this, I’m a bit of a casual user of fedora 42 workstation. The final 41 before 42, Fedora Linux (6.13.9-200.fc41x86_64) 41 (Workstation Edition) about a month ago is when the initramfs first stopped being included, And every system update since then has had the same issue. I’ve been manually using the same sudo dracut --regenerate-all --force each time to make it work from a prior working version.

Rescue boot has also been broken the entire time. This makes the kernal Panic screen happen with the same error message each time.

the issue seems to also be with dkms, but I am unable to figure out how to access the make.logs it directs me to.

Ă— dkms.service - Builds and install new kernel modules through DKMS
     Loaded: loaded (/usr/lib/systemd/system/dkms.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: exit-code) since Sun 2025-05-18 16:50:15 MDT; 44min ago
 Invocation: 3131a497e8b64965bfd3f3cbccdf4d5f
       Docs: man:dkms(8)
   Main PID: 28662 (code=exited, status=11)
   Mem peak: 508.9M
        CPU: 1.735s

May 18 16:50:15 dkms[28779]: (bad exit status: 2)
May 18 16:50:15 dkms[29054]: Error! Bad return status for module build on kernel: 6.14.5-300.fc42.x86_64 (x86_64)
May 18 16:50:15 dkms[29054]: Consult /var/lib/dkms/digimend/13/build/make.log for more information.
May 18 16:50:15 dkms[28662]: Autoinstall on 6.14.5-300.fc42.x86_64 failed for module(s) digimend(10).
May 18 16:50:15 dkms[29055]: Error! One or more modules failed to install during autoinstall.
May 18 16:50:15 dkms[29055]: Refer to previous errors for more information.
May 18 16:50:15 systemd[1]: dkms.service: Main process exited, code=exited, status=11/n/a
May 18 16:50:15 systemd[1]: dkms.service: Failed with result 'exit-code'.
May 18 16:50:15 systemd[1]: Failed to start dkms.service - Builds and install new kernel modules through DKMS.
May 18 16:50:15 systemd[1]: dkms.service: Consumed 1.735s CPU time, 508.9M memory peak.

I tried to go into the files it advises, /var/lib/dkms/digimend/13/build/make.log but they do not exist on my computer, in the files, and attempts to access the files in terminal were trying to tell me that dkms does not exist- I did do this and know that they definitely exist. " make sure dkms was all updated
sudo dnf update dkms

restart and verify the dkms unit was successfully started
sudo systemctl restart dkms.service
sudo systemctl status dkms.service"

Also gave this error

$  sudo systemctl restart dkms.service
Job for dkms.service failed because the control process exited with error code.
See "systemctl status dkms.service" and "journalctl -xeu dkms.service" for details.

I think digimend is the problem but I cannot find digimend in the file system either. searching the error code of exit-code, and the unique error code invocation was trying to summon mac addresses on the web…

So I know something is wrong with dkms but I don’t know what it is. Can you tell me how to figure out what is wrong with dkms, as you figured out what part of your dkms was broken?

I was seeing that many have been having the issue, see ye old reddit, there were more but I found enough to prove my point that there might be a big issue built into the latest kernels.. Someone said it had to do with nvidia but I don’t have that graphics, I have AMD Radeon™ RX 7600… but I did see that the nvidia driver was… installed for some reason. They said they solved it by waiting 10m to boot, but any install restart sequence from the gnome software store makes that impossible… how can I install and just turn it off without that instant restart anyhow?
Reddit - The heart of the internet Reddit - The heart of the internet Reddit - The heart of the internet Reddit - The heart of the internet

Ok so I seem to have a nvidia gpu driver installed and I don’t know why. Here are my specs-

# System Details Report
---

## Report details
- **Date generated:**                              2025-05-18 18:48:14

## Hardware Information:
- **Hardware Model:**                              Gigabyte Technology Co., Ltd. B650 GAMING X AX V2
- **Memory:**                                      32.0 GiB
- **Processor:**                                   AMD Ryzen™ 7 7700X × 16
- **Graphics:**                                    AMD Radeon™ RX 7600
- **Graphics 1:**                                  AMD Radeon™ Graphics
- **Disk Capacity:**                               (null)

## Software Information:
- **Firmware Version:**                            F5
- **OS Name:**                                     Fedora Linux 42 (Workstation Edition)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               48
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.14.5-300.fc42.x86_64

and here are the things nvidia I have installed. For some reason. I can’t find whatever terminal output told me I originally had nvidia installed, I think when I cleared my cache it went away??? As per the troubleshooting here. Can I just uninstall this gpu firmware? If I do what should I replace it with?

$ dnf list installed *nvidia*
Updating and loading repositories:
Repositories loaded.
Installed packages
nvidia-gpu-firmware.noarch                          20250509-1.fc42                  <

Available packages
akmod-nvidia.x86_64                                 3:570.144-1.fc42                 r
golang-github-nvidia-container-toolkit.x86_64       1.17.4-1.fc42                    u
golang-github-nvidia-container-toolkit-devel.noarch 1.17.4-1.fc42                    u
golang-github-nvidia-nvlib-devel.noarch             0.7.1-1.fc42                     u
golang-github-nvidia-nvml-devel.noarch              0.12.4.1-2.fc42                  f
kmod-nvidia.x86_64                                  3:570.144-1.fc42                 r
libva-nvidia-driver.i686                            0.0.13^20250419gitc2860cc-1.fc42 u
libva-nvidia-driver.x86_64                          0.0.13^20250419gitc2860cc-1.fc42 u
nvidia-modprobe.x86_64                              3:570.144-1.fc42                 r
nvidia-persistenced.x86_64                          3:570.144-1.fc42                 r
nvidia-query-resource-opengl.x86_64                 1.0.0-20.fc42                    f
nvidia-query-resource-opengl-lib.i686               1.0.0-20.fc42                    f
nvidia-query-resource-opengl-lib.x86_64             1.0.0-20.fc42                    f
nvidia-settings.x86_64                              3:570.144-1.fc42                 r
nvidia-texture-tools.i686                           2.1.2-10.fc41                    f
nvidia-texture-tools.x86_64                         2.1.2-10.fc41                    f
nvidia-texture-tools-devel.i686                     2.1.2-10.fc41                    f
nvidia-texture-tools-devel.x86_64                   2.1.2-10.fc41                    f
nvidia-xconfig.x86_64                               3:570.144-1.fc42                 r
pcp-pmda-nvidia-gpu.x86_64                          6.3.7-2.fc42                     u
xorg-x11-drv-nvidia.x86_64                          3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-cuda.x86_64                     3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-cuda-libs.i686                  3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-cuda-libs.x86_64                3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-devel.i686                      3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-devel.x86_64                    3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-kmodsrc.x86_64                  3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-libs.i686                       3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-libs.x86_64                     3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-power.x86_64                    3:570.144-1.fc42                 r
xorg-x11-drv-nvidia-xorg-libs.x86_64                3:570.144-1.fc42                 r

Oh dear. Le final edit- I didn’t realize this thread was more than 3 months old.

This thread is only about 5 months old

I see 2 issues.

  1. You have installed the kmod-nvidia package which is not useful for fedora. The akmod-nvidia package builds a driver specific for the current kernel version.

To fix that issue simply remove the kmod-nvidia package and build the proper driver (sudo dnf remove kmod-nvidia followed by sudo akmods --rebuild --force)

  1. Your system does not seem to have an nvidia gpu so the nvidia drivers are superfluous.

The command inxi -Fzxx should also show the GPUs that are actually installed but the info you already included do not show an nvidia GPU.

I cannot tell the source used to install nvidia drivers, but if installed from the rpmfusion repo which is the preferred source it would not install nor be using dkms. The rpmfusion packages use akmods to generate the kernel modules.

I suggest that you remove ALL the nvidia packages currently installed since the hardware appears to not be available. How that is done depends upon how they were installed. If installed from fedora & rpmfusion then sudo dnf remove \*nvidia\* --exclude nvidia-gpu-firmware should clean it all out.

That’s shown as “available”, not as “installed”.

The only installed nvidia package is nvidia-gpu-firmware, so there shouldn’t be any nvidia proprietary kernel modules causing issues here?

This digimend seems to be the issue, but I don’t really know anything about that package. Are there any issues reported against it in terms of kernel version compatibility?

(Edit - I can see this one, but this person’s issue seems to be with 6.13 rather than 6.14: Support for kernel 6.13 · Issue #713 · DIGImend/digimend-kernel-drivers · GitHub)

My error. I misread the list.

No you do not need to remove that firmware package. It is a standard package for fedora and if the hardware is not there then it is unused.