1. Please describe the problem: When installing new kernel, if there are dkms modules, which would fail to build, dnf won't generate initramfs. 2. What is the Version-Release number of the kernel: kernels 6.11.11-300.fc41 and 6.12.4-200.fc41. 3. Did it work previously in Fedora? If so, what kernel version did the issue *first* appear? Old kernels are available for download at https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : It looks ok with kernel 6.11.10-300.fc41, but it's not verified. Maybe problem was not in kernel scripts. 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: - Boot to some not latest kernel. - run `dnf5 reinstall --setopt=keepcache=True kernel*` - `ls -lah /boot/initramfs-*` to ensure there is initramfs for latest kernel. - install dkms, `mkdir /usr/src/tst-1.0`, create `/usr/src/tst-1.0/dkms.conf` with ``` PACKAGE_NAME="tst" PACKAGE_VERSION="1.0" BUILT_MODULE_NAME[0]="$PACKAGE_NAME" MAKE[0]="make KVERSION=$kernelver M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build" CLEAN="make KVERSION=$kernelver M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean" DEST_MODULE_LOCATION[0]=/kernel/drivers/usb/serial AUTOINSTALL=yes ``` - run `dkms add -m tst -v 1.0` - run `dnf5 reinstall --setopt=keepcache=True kernel*` - `ls -lah /boot/initramfs-*` to ensure there is no initramfs for latest kernel (it removed on clean and not recreated after dkms failure). - run `dkms remove -m tst -v 1.0` - run `dnf5 reinstall --setopt=keepcache=True kernel*` - `ls -lah /boot/initramfs-*` to ensure there is initramfs for latest kernel. 5. Does this problem occur with the latest Rawhide kernel? To install the Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by ``sudo dnf update --enablerepo=rawhide kernel``: Not tested. 6. Are you running any modules that not shipped with directly Fedora's kernel?: Yes, via dkms. 7. Please attach the kernel logs. You can get the complete kernel log for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the issue occurred on a previous boot, use the journalctl ``-b`` flag. Reproducible: Always
The issue is with dkms, not with the kernel. Downgrading to dkms-3.0.13-2.fc41.noarch fixes the problem.
I am seeing this with xone: $ sudo dnf --enablerepo={,rpmfusion-{,non}free-}updates-testing reinstall kernel*6.12.5* Aktualisiere und lade Paketquellen: Paketquellen geladen. Paket Architektur Version Paketquelle Größe Reinstalliere: kernel x86_64 6.12.5-200.fc41 updates 0.0 B ersetze kernel x86_64 6.12.5-200.fc41 updates-testing 0.0 B kernel-core x86_64 6.12.5-200.fc41 updates 73.6 MiB ersetze kernel-core x86_64 6.12.5-200.fc41 updates-testing 73.6 MiB kernel-devel x86_64 6.12.5-200.fc41 updates 76.6 MiB ersetze kernel-devel x86_64 6.12.5-200.fc41 updates-testing 76.6 MiB kernel-devel-matched x86_64 6.12.5-200.fc41 updates 0.0 B ersetze kernel-devel-matched x86_64 6.12.5-200.fc41 updates-testing 0.0 B kernel-modules x86_64 6.12.5-200.fc41 updates 62.5 MiB ersetze kernel-modules x86_64 6.12.5-200.fc41 updates-testing 62.5 MiB kernel-modules-core x86_64 6.12.5-200.fc41 updates 37.1 MiB ersetze kernel-modules-core x86_64 6.12.5-200.fc41 updates-testing 37.1 MiB kernel-modules-extra x86_64 6.12.5-200.fc41 updates 2.7 MiB ersetze kernel-modules-extra x86_64 6.12.5-200.fc41 updates-testing 2.7 MiB kernel-tools x86_64 6.12.5-200.fc41 updates 926.2 KiB ersetze kernel-tools x86_64 6.12.5-200.fc41 updates-testing 926.2 KiB kernel-tools-libs x86_64 6.12.5-200.fc41 updates 34.3 KiB ersetze kernel-tools-libs x86_64 6.12.5-200.fc41 updates-testing 34.3 KiB Transaktionszusammenfasung: Reinstalliere: 9 Pakete Ersetze: 9 Pakete Die vollständige Größe eingehender Pakete ist 146 MiB. Heruntergeladen werden müssen 146 MiB. Nach dieser Operation werden 0 B mehr benötigt (installiere 253 MiB, entferne 253 MiB). Is this ok [y/N]: y [1/9] kernel-0:6.12.5-200.fc41.x86_64 100% | 2.1 MiB/s | 191.0 KiB | 00m00s [2/9] kernel-tools-0:6.12.5-200.fc41.x86_64 100% | 4.3 MiB/s | 474.8 KiB | 00m00s [3/9] kernel-core-0:6.12.5-200.fc41.x86_64 100% | 33.4 MiB/s | 18.4 MiB | 00m01s [4/9] kernel-devel-0:6.12.5-200.fc41.x86_64 100% | 38.3 MiB/s | 21.0 MiB | 00m01s [5/9] kernel-modules-extra-0:6.12.5-200.fc41.x86_64 100% | 30.3 MiB/s | 2.9 MiB | 00m00s [6/9] kernel-devel-matched-0:6.12.5-200.fc41.x86_64 100% | 8.5 MiB/s | 191.1 KiB | 00m00s [7/9] kernel-tools-libs-0:6.12.5-200.fc41.x86_64 100% | 8.6 MiB/s | 203.6 KiB | 00m00s [8/9] kernel-modules-core-0:6.12.5-200.fc41.x86_64 100% | 17.2 MiB/s | 38.4 MiB | 00m02s [9/9] kernel-modules-0:6.12.5-200.fc41.x86_64 100% | 22.9 MiB/s | 64.2 MiB | 00m03s -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [9/9] Total 100% | 49.1 MiB/s | 145.9 MiB | 00m03s Transaktion wird ausgeführt [ 1/20] Verifiziere Paket Dateien 100% | 28.0 B/s | 9.0 B | 00m00s [ 2/20] Transaktion vorbereiten 100% | 34.0 B/s | 18.0 B | 00m01s [ 3/20] Reinstalliere kernel-modules-core-0:6.12.5-200.fc41.x86_64 100% | 29.9 MiB/s | 37.6 MiB | 00m01s [ 4/20] Reinstalliere kernel-core-0:6.12.5-200.fc41.x86_64 100% | 101.0 MiB/s | 26.9 MiB | 00m00s [ 5/20] Reinstalliere kernel-modules-0:6.12.5-200.fc41.x86_64 100% | 12.9 MiB/s | 62.9 MiB | 00m05s [ 6/20] Reinstalliere kernel-tools-libs-0:6.12.5-200.fc41.x86_64 100% | 321.5 KiB/s | 34.7 KiB | 00m00s [ 7/20] Reinstalliere kernel-devel-0:6.12.5-200.fc41.x86_64 100% | 3.0 MiB/s | 80.8 MiB | 00m27s [ 8/20] Reinstalliere kernel-devel-matched-0:6.12.5-200.fc41.x86_64 100% | 9.3 KiB/s | 124.0 B | 00m00s [ 9/20] Reinstalliere kernel-tools-0:6.12.5-200.fc41.x86_64 100% | 22.8 MiB/s | 932.1 KiB | 00m00s [10/20] Reinstalliere kernel-0:6.12.5-200.fc41.x86_64 100% | 17.3 KiB/s | 124.0 B | 00m00s [11/20] Reinstalliere kernel-modules-extra-0:6.12.5-200.fc41.x86_64 100% | 747.6 KiB/s | 2.7 MiB | 00m04s [12/20] Entferne kernel-modules-extra-0:6.12.5-200.fc41.x86_64 100% | 39.0 B/s | 143.0 B | 00m04s [13/20] Entferne kernel-0:6.12.5-200.fc41.x86_64 100% | 10.9 KiB/s | 100.0 B | 00m00s [14/20] Entferne kernel-modules-0:6.12.5-200.fc41.x86_64 100% | 633.0 B/s | 2.3 KiB | 00m04s [15/20] Entferne kernel-devel-matched-0:6.12.5-200.fc41.x86_64 100% | 16.3 KiB/s | 100.0 B | 00m00s [16/20] Entferne kernel-tools-0:6.12.5-200.fc41.x86_64 100% | 181.0 B/s | 40.0 B | 00m00s >>> Führe pre-uninstall scriptlet aus: kernel-core-0:6.12.5-200.fc41.x86_64 >>> Fertiggestellt pre-uninstall scriptlet: kernel-core-0:6.12.5-200.fc41.x86_64 >>> Scriptlet Ausgabe: >>> Module xone/v0.3-57-g29ec357 is not installed for kernel 6.12.5-200.fc41.x86_64 (x86_64x86_64). Skipping... >>> Module xone/v0.3-57-g29ec357 is not built for kernel 6.12.5-200.fc41.x86_64 (x86_64x86_64). Skipping... >>> [17/20] Entferne kernel-core-0:6.12.5-200.fc41.x86_64 100% | 340.0 B/s | 17.0 B | 00m00s [18/20] Entferne kernel-modules-core-0:6.12.5-200.fc41.x86_64 100% | 39.9 KiB/s | 3.1 KiB | 00m00s [19/20] Entferne kernel-devel-0:6.12.5-200.fc41.x86_64 100% | 202.9 KiB/s | 22.9 KiB | 00m00s [20/20] Entferne kernel-tools-libs-0:6.12.5-200.fc41.x86_64 100% | 0.0 B/s | 2.0 B | 00m08s >>> Führe post-transaction scriptlet aus: kernel-core-0:6.12.5-200.fc41.x86_64 >>> Nicht-kritischer Fehler in post-transaction scriptlet: kernel-core-0:6.12.5-200.fc41.x86_64 >>> Scriptlet Ausgabe: >>> >>> Sign command: /lib/modules/6.12.5-200.fc41.x86_64/build/scripts/sign-file >>> Signing key: /etc/pki/akmods/private/private_key.priv >>> Public certificate (MOK): /etc/pki/akmods/certs/public_key.der >>> >>> Cleaning build area... done. >>> Building module(s)...(bad exit status: 2) >>> Failed command: >>> make -j12 KERNELRELEASE=6.12.5-200.fc41.x86_64 -C /lib/modules/6.12.5-200.fc41.x86_64/build M=/var/lib/dkms/xone/v0.3-57-g29ec357/build >>> >>> Error! Bad return status for module build on kernel: 6.12.5-200.fc41.x86_64 (x86_64) >>> Consult /var/lib/dkms/xone/v0.3-57-g29ec357/build/make.log for more information. >>> Autoinstall on 6.12.5-200.fc41.x86_64 failed for module(s) xone(10). >>> >>> Error! One or more modules failed to install during autoinstall. >>> Refer to previous errors for more information. >>> /usr/lib/kernel/install.d/40-dkms.install failed with exit status 11. >>> >>> [RPM] %posttrans(kernel-core-6.12.5-200.fc41.x86_64) Scriptlet fehlgeschlagen, Beenden-Status 11 Abgeschlossen! julas@napoleon2:~$ ls -lh /boot insgesamt 394M -rw-r--r--. 1 root root 272K 5. Dez 01:00 config-6.11.11-300.fc41.x86_64 -rw-r--r--. 1 root root 274K 9. Dez 01:00 config-6.12.4-200.fc41.x86_64 -rw-r--r--. 1 root root 274K 15. Dez 01:00 config-6.12.5-200.fc41.x86_64 drwx------. 5 root root 4,0K 1. Jan 1970 efi drwxr-xr-x. 3 root root 4,0K 3. Sep 10:06 EFI drwxr-xr-x. 4 root root 4,0K 3. Sep 09:53 efibk drwxr-xr-x. 2 root root 4,0K 30. Okt 19:24 extlinux drwx------. 4 root root 4,0K 21. Dez 07:19 grub2 -rw-------. 1 root root 103M 25. Okt 2022 initramfs-0-rescue-27a1933039304fc29c28f87be8488499.img -rw-------. 1 root root 67M 10. Dez 2018 initramfs-0-rescue-27a1933039304fc29c28f87be8488499.img.old -rw-------. 1 root root 67M 8. Dez 15:55 initramfs-6.11.11-300.fc41.x86_64.img -rw-------. 1 root root 67M 13. Dez 16:54 initramfs-6.12.4-200.fc41.x86_64.img drwxr-xr-x. 3 root root 4,0K 10. Dez 2018 loader drwx------. 2 root root 16K 10. Dez 2018 lost+found -rw-r--r--. 1 root root 179K 8. Dez 15:55 symvers-6.11.11-300.fc41.x86_64.xz -rw-r--r--. 1 root root 179K 13. Dez 16:54 symvers-6.12.4-200.fc41.x86_64.xz -rw-r--r--. 1 root root 9,6M 5. Dez 01:00 System.map-6.11.11-300.fc41.x86_64 -rw-r--r--. 1 root root 11M 9. Dez 01:00 System.map-6.12.4-200.fc41.x86_64 -rw-r--r--. 1 root root 11M 15. Dez 01:00 System.map-6.12.5-200.fc41.x86_64 -rwxr-xr-x. 1 root root 13M 25. Okt 2022 vmlinuz-0-rescue-27a1933039304fc29c28f87be8488499 -rwxr-xr-x. 1 root root 16M 5. Dez 01:00 vmlinuz-6.11.11-300.fc41.x86_64 -rwxr-xr-x. 1 root root 16M 9. Dez 01:00 vmlinuz-6.12.4-200.fc41.x86_64 -rwxr-xr-x. 1 root root 16M 15. Dez 01:00 vmlinuz-6.12.5-200.fc41.x86_64
dkms-3.1.4-1.fc41.noarch is still affected.
Scriptlet output for 3.0.13-2.fc41 which does not result in missing dracut image: >>> Scriptlet Ausgabe: >>> dkms: running auto installation service for kernel 6.12.6-200.fc41.x86_64 >>> Sign command: /lib/modules/6.12.6-200.fc41.x86_64/build/scripts/sign-file >>> Signing key: /etc/pki/akmods/private/private_key.priv >>> Public certificate (MOK): /etc/pki/akmods/certs/public_key.der >>> >>> Building module: >>> Cleaning build area... >>> Building module(s)...(bad exit status: 2) >>> Failed command: >>> make -j12 KERNELRELEASE=6.12.6-200.fc41.x86_64 -C /lib/modules/6.12.6-200.fc41.x86_64/build M=/var/lib/dkms/xone/v0.3-57-g29ec357/build >>> Error! Bad return status for module build on kernel: 6.12.6-200.fc41.x86_64 (x86_64) >>> Consult /var/lib/dkms/xone/v0.3-57-g29ec357/build/make.log for more information. >>> dkms autoinstall on 6.12.6-200.fc41.x86_64/x86_64 failed for xone(10) >>> Error! One or more modules failed to install during autoinstall. >>> Refer to previous errors for more information. >>> dkms: autoinstall for kernel 6.12.6-200.fc41.x86_64 Failed. >>> dkms: running auto installation service for kernel 6.12.6-200.fc41.x86_64 >>> Sign command: /lib/modules/6.12.6-200.fc41.x86_64/build/scripts/sign-file >>> Signing key: /etc/pki/akmods/private/private_key.priv >>> Public certificate (MOK): /etc/pki/akmods/certs/public_key.der >>> >>> Building module: >>> Cleaning build area... >>> Building module(s)...(bad exit status: 2) >>> Failed command: >>> make -j12 KERNELRELEASE=6.12.6-200.fc41.x86_64 -C /lib/modules/6.12.6-200.fc41.x86_64/build M=/var/lib/dkms/xone/v0.3-57-g29ec357/build >>> Error! Bad return status for module build on kernel: 6.12.6-200.fc41.x86_64 (x86_64) >>> Consult /var/lib/dkms/xone/v0.3-57-g29ec357/build/make.log for more information. >>> dkms autoinstall on 6.12.6-200.fc41.x86_64/x86_64 failed for xone(10) >>> Error! One or more modules failed to install during autoinstall. >>> Refer to previous errors for more information. >>> dkms: autoinstall for kernel 6.12.6-200.fc41.x86_64 Failed.
Waiting for feedback from Julian: https://github.com/dell/dkms/issues/472
FEDORA-EPEL-2024-99d1118882 (dkms-3.1.4-3.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-99d1118882
FEDORA-2024-1aca8cabcd (dkms-3.1.4-3.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-1aca8cabcd
FEDORA-EPEL-2024-6a1e893ae2 (dkms-3.1.4-3.el10_0) has been submitted as an update to Fedora EPEL 10.0. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-6a1e893ae2
FEDORA-EPEL-2024-32f86333ca (dkms-3.1.4-3.el8) has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-32f86333ca
FEDORA-2024-1aca8cabcd has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-1aca8cabcd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-1aca8cabcd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-6a1e893ae2 has been pushed to the Fedora EPEL 10.0 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-6a1e893ae2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-99d1118882 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-99d1118882 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-32f86333ca has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-32f86333ca See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-190da6715b has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-190da6715b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-190da6715b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
dkms-3.1.4-3.fc41 fixes this issue. Thank you!
FEDORA-2024-1aca8cabcd (dkms-3.1.4-3.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-190da6715b (dkms-3.1.4-3.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-6a1e893ae2 (dkms-3.1.4-3.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-99d1118882 (dkms-3.1.4-3.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-32f86333ca (dkms-3.1.4-3.el8) has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.