Repository navigation
Closed
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)
Description
System information
| Type | Version/Name |
|---|---|
| Distribution Name | Fedora |
| Distribution Version | 43 |
| Kernel Version | 6.19.10-200.fc43.x86_64 -- build failing for 7.0.4-100.fc43.x86_64 |
| Architecture | x86_64 |
| OpenZFS Version | 2.4.2 |
Describe the problem you're observing
I am unable to dnf upgrade due to a dracut build failure:
[32/32] Removing libuutil3-0:2.4.1-1.fc43.x86_64 100% | 0.0 B/s | 5.0 B | 00m31s
>>> Running %posttrans scriptlet: kernel-core-0:7.0.4-100.fc43.x86_64
>>> Finished %posttrans scriptlet: kernel-core-0:7.0.4-100.fc43.x86_64
>>> Scriptlet output:
>>> grub2-probe: error: ../grub-core/kern/fs.c:123:unknown filesystem.
>>>
>>> Error! Could not locate dkms.conf file.
>>> File: /var/lib/dkms/evdi/1.14.6/source/dkms.conf does not exist.
>>> dracut-install: Failed to find module 'zfs'
>>> dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.dinQq73/initramfs --kerneldir /usr/lib/modules/7.0.4-100.fc43.x86_64 -m zfs >>>
Complete!
Journalctl:
May 13 06:49:51 myhostname dracut[1304620]: *** Including module: kernel-modules-extra ***
May 13 06:49:51 myhostname dracut[1304620]: kernel-modules-extra: configuration source "/run/depmod.d" does not exist
May 13 06:49:51 myhostname dracut[1304620]: kernel-modules-extra: configuration source "/etc/depmod.d" is ignored (directory or doesn't exist)
May 13 06:49:51 myhostname dracut[1304620]: kernel-modules-extra: configuration source "/lib/depmod.d" does not exist
May 13 06:49:51 myhostname dracut[1304620]: *** Including module: zfs ***
May 13 06:49:51 myhostname dracut[1304620]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.ddhnn4f/initramfs --kerneldir /usr/lib/modules/7.0.4-100.fc43.x86_64 -m zfs
Packages:
$ rpm -qa | grep -E '\-2\.4\.1-|-2\.4\.2-'
Box2D-2.4.2-5.fc43.x86_64
libnvpair3-2.4.2-1.fc43.x86_64
libuutil3-2.4.2-1.fc43.x86_64
zfs-dkms-2.4.2-1.fc43.noarch
libzfs7-2.4.2-1.fc43.x86_64
libzpool7-2.4.2-1.fc43.x86_64
zfs-2.4.2-1.fc43.x86_64
zfs-dracut-2.4.2-1.fc43.noarch
$ sudo rpm -qa | grep kernel-core
kernel-core-6.19.10-200.fc43.x86_64
kernel-core-6.19.14-200.fc43.x86_64 ## I had the same issue on this kernel with 2.4.1, which is why I held back on 6.19.10-200
kernel-core-7.0.4-100.fc43.x86_64
DKMS install:
$ sudo dkms install -m zfs -v 2.4.2
Module zfs/2.4.2 already installed on kernel 6.19.10-200.fc43.x86_64 (x86_64), skip. You may override by specifying --force.
Executing post-transaction command....................(bad exit status: 1)
Failed command:
dracut --regenerate-all --force
I have pinned the working Kernel in ZFSBoot menu in case I need to reboot, but would appreciate the help:
$ zfs get all zroot/ROOT/fedora | grep zfs
zroot/ROOT/fedora org.zfsbootmenu:commandline nvme_core.default_ps_max_latency_us=0 pcie_aspm=off pcie_port_pm=off rhgb amdgpu.cik_support=1 radeon.cik_support=0 local
zroot/ROOT/fedora org.zfsbootmenu:kernel vmlinuz-6.19.10-200.fc43.x86_64$ local
zroot/ROOT/fedora org.zfsbootmenu:keysource zroot/ROOT/fedora inherited from zroot
Describe how to reproduce the problem
Unsure
Include any warning/errors/backtraces from the system logs
See above
Metadata
Metadata
Assignees
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)
Activity
edgan commentedon May 13, 2026
Are you using
zfsfor the root filesystem?Kaurin commentedon May 13, 2026
Indeed, via ZFSBootMenu
edgan commentedon May 13, 2026
Ah, that is why you are using
zfs-dracut. I only usezfsfor data storage.Kaurin commentedon May 14, 2026
Fingers crossed that a backport of #18526 fixes this problem.
tonyhutter commentedon May 14, 2026
@Kaurin I would be surprised if #18526 fixed this.
Some basic things:
Is zfs.ko somewhere in /usr/lib/modules/7.0.4-100.fc43.x86_64?
Can you dig down as to why this is specifically failing? Maybe run
dracut-installwith--verboseor strace it?Kaurin commentedon May 14, 2026
Hi,
I will be switching to Ubuntu because of its native ZFS support and abandoning Fedora with ZFS root.
This workstation needs a serious rework anyway.
Closing this one out. Sorry for having raised this.
Kaurin commentedon Jun 30, 2026
I was not able to switch yet, but the fix was as follows:
# 7.0.13 kernel being the latest at the time of typing this sudo dkms install -m zfs -v 2.4.3 -k 7.0.13-100.fc43.x86_64 sudo dracut --regenerate-all --force -v sudo dkms status zfs/2.4.3, 6.19.10-200.fc43.x86_64, x86_64: installed zfs/2.4.3, 7.0.13-100.fc43.x86_64, x86_64: installed