#5 Dracut cant load module zstd
Closed 3 years ago by bimokn97. Opened 3 years ago by bimokn97.

sudo dracut -fv --zstd --fstab --kver 5.11.7-lqx1.0.fc34
/etc/dracut.conf:add_drivers+="i915 zstd"
/etc/dracut.conf:add_dracutmodules+="resume selinux"

dracut: WARNING: <key>+=" <values> ": <values> should have surrounding white spaces!
dracut: WARNING: This will lead to unwanted side effects! Please fix the configuration file.

/etc/dracut.conf.d/nvdimm-security.conf:install_items+="/bin/ndctl"

dracut: WARNING: <key>+=" <values> ": <values> should have surrounding white spaces!
dracut: WARNING: This will lead to unwanted side effects! Please fix the configuration file.

dracut: Executing: /usr/bin/dracut -fv --zstd --fstab --kver 5.11.7-lqx1.0.fc34
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'network' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: memstrack is available
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: Including module: bash
dracut: Including module: systemd
dracut: Including module: systemd-initrd
dracut: Including module: nss-softokn
dracut: Including module: rngd
dracut: Including module: i18n
dracut: Including module: network-manager
dracut: Including module: network
dracut: Including module: ifcfg
dracut: Including module: drm
dracut: Including module: plymouth
dracut: Including module: btrfs
dracut: Including module: kernel-modules
dracut: Including module: kernel-modules-extra
dracut: Including module: kernel-network-modules
dracut: Including module: resume
dracut: Including module: rootfs-block
dracut: Including module: terminfo
dracut: Including module: udev-rules
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: Skipping udev rule: 70-persistent-net.rules
dracut: Including module: dracut-systemd
dracut: Including module: selinux
dracut: Including module: usrmount
dracut: Including module: base
dracut: Including module: fs-lib
dracut: Including module: memstrack
dracut: Including module: shutdown
dracut: Including modules done
dracut-install: ERROR: installing 'zstd'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.Oa5b9B/initramfs -N nvidia|nvidia_drm|nvidia-modeset|nvidia-uvm --kerneldir /lib/modules/5.11.7-lqx1.0.fc34/ -m i915 zstd libnvdimm
dracut: Installing kernel module dependencies
dracut: Installing kernel module dependencies done
dracut: Resolving executable dependencies
dracut: Resolving executable dependencies done
dracut: Hardlinking files
dracut: Hardlinking files done
dracut: Generating early-microcode cpio image
dracut: Constructing GenuineIntel.bin
dracut: Store current command line parameters
dracut: Stripping files
dracut: Stripping files done
dracut: Creating image file '/boot/initramfs-5.11.7-lqx1.0.fc34.img'
dracut: Creating initramfs image file '/boot/initramfs-5.11.7-lqx1.0.fc34.img' done
sudo dracut -fv --zstd --fstab --kver 5.11.7-lqx1.0.fc34 26,99s user 10,87s system 110% cpu 34,255 total


Metadata Update from @rmnscnce:
- Issue assigned to rmnscnce

3 years ago

Sorry I can just reach out to this problem now, I had a lot going on for days

Is this issue still plaguing you? If not, please consider closing this issue -- but if so, please recreate the logs and details as it may have been changed because dracut saw some updates on fc34-branched

Yeah the zstd still cant load by dracut, i use kernel 5.11.19-lqx1.0.fc34 now, i use default kernel from fedora too, but have no problem on default kernel.

# sudo dracut -fv --zstd --fstab --regenerate-all
/etc/dracut.conf:add_drivers+="i915 zstd"
/etc/dracut.conf:add_dracutmodules+="resume selinux"

dracut: WARNING: <key>+=" <values> ": <values> should have surrounding white spaces!
dracut: WARNING: This will lead to unwanted side effects! Please fix the configuration file.

dracut: Executing: /usr/bin/dracut --kver=5.11.17-300.fc34.x86_64 -fv --zstd --fstab
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: memstrack is available
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: Including module: bash
dracut: Including module: systemd
dracut: Including module: systemd-initrd
dracut: Including module: nss-softokn
dracut: Including module: rngd
dracut: Including module: i18n
dracut: Including module: network-manager
dracut: Including module: network
dracut: Including module: ifcfg
dracut: Including module: drm
dracut: Including module: plymouth
dracut: Including module: btrfs
dracut: Including module: kernel-modules
dracut: Including module: kernel-modules-extra
dracut: Including module: kernel-network-modules
dracut: Including module: resume
dracut: Including module: rootfs-block
dracut: Including module: terminfo
dracut: Including module: udev-rules
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: Skipping udev rule: 70-persistent-net.rules
dracut: Including module: dracut-systemd
dracut: Including module: selinux
dracut: Including module: usrmount
dracut: Including module: base
dracut: Including module: fs-lib
dracut: Including module: memstrack
dracut: Including module: shutdown
dracut: Including modules done
dracut: Installing kernel module dependencies
dracut: Installing kernel module dependencies done
dracut: Resolving executable dependencies
dracut: Resolving executable dependencies done
dracut: Hardlinking files
dracut: Hardlinking files done
dracut: Generating early-microcode cpio image
dracut: Constructing GenuineIntel.bin
dracut: Store current command line parameters
dracut: Stripping files
dracut: Stripping files done
dracut: Creating image file '/boot/initramfs-5.11.17-300.fc34.x86_64.img'
dracut: Creating initramfs image file '/boot/initramfs-5.11.17-300.fc34.x86_64.img' done
/etc/dracut.conf:add_drivers+="i915 zstd"
/etc/dracut.conf:add_dracutmodules+="resume selinux"

dracut: WARNING: <key>+=" <values> ": <values> should have surrounding white spaces!
dracut: WARNING: This will lead to unwanted side effects! Please fix the configuration file.

dracut: Executing: /usr/bin/dracut --kver=5.11.19-lqx1.0.fc34 -fv --zstd --fstab
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: memstrack is available
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: Including module: bash
dracut: Including module: systemd
dracut: Including module: systemd-initrd
dracut: Including module: nss-softokn
dracut: Including module: rngd
dracut: Including module: i18n
dracut: Including module: network-manager
dracut: Including module: network
dracut: Including module: ifcfg
dracut: Including module: drm
dracut: Including module: plymouth
dracut: Including module: btrfs
dracut: Including module: kernel-modules
dracut: Including module: kernel-modules-extra
dracut: Including module: kernel-network-modules
dracut: Including module: resume
dracut: Including module: rootfs-block
dracut: Including module: terminfo
dracut: Including module: udev-rules
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: Skipping udev rule: 70-persistent-net.rules
dracut: Including module: dracut-systemd
dracut: Including module: selinux
dracut: Including module: usrmount
dracut: Including module: base
dracut: Including module: fs-lib
dracut: Including module: memstrack
dracut: Including module: shutdown
dracut: Including modules done
dracut-install: ERROR: installing 'zstd'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.QYFS71/initramfs -N nvidia|nvidia_drm|nvidia-modeset|nvidia-uvm --kerneldir /lib/modules/5.11.19-lqx1.0.fc34/ -m i915 zstd
dracut: Installing kernel module dependencies
dracut: Installing kernel module dependencies done
dracut: Resolving executable dependencies
dracut: Resolving executable dependencies done
dracut: Hardlinking files
dracut: Hardlinking files done
dracut: Generating early-microcode cpio image
dracut: Constructing GenuineIntel.bin
dracut: Store current command line parameters
dracut: Stripping files
dracut: Stripping files done
dracut: Creating image file '/boot/initramfs-5.11.19-lqx1.0.fc34.img'
dracut: Creating initramfs image file '/boot/initramfs-5.11.19-lqx1.0.fc34.img' done
sudo dracut -fv --zstd --fstab --regenerate-all 68.27s user 15.46s system 123% cpu 1:07.98 total

and this my dracut config,

# cat /etc/dracut.conf

hostonly="yes"
hostonly_cmdline=no
use_fstab=yes
compress="zstd"
add_drivers+="i915 zstd"
add_dracutmodules+="resume selinux"
uefi_secureboot_cert=/etc/efi-keys/db.der
uefi_secureboot_key=/etc/efi-keys/db.priv
CMDLINE=(
rd.luks=0
rd.lvm=0
rd.md=0
rd.dm=0
rw
root=UUID=f48464c0-d027-4384-9c50-eead9c69244e
resume=UUID=4f3d2741-daac-432f-9872-79ef318a94cd
rootflags=subvol=_active/@root
rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau
nvidia-drm.modeset=1
zswap.enabled=1
zswap.compressor=zstd
zswap.zpool=z3fold
rw
rhgb
quiet
splash

)
kernel_cmdline="${CMDLINE[*]}"
unset CMDLINE

Btw, i appriciate your work, thanks for porting liquorix kernel and xanmod kernel into fedora, Happy porting :)

okay, maybe somethink wrong with my machine, because that not happen on virtual machine, Thanks for helping :smile:

Metadata Update from @bimokn97:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata