Bug ID 1145519
Summary Mkinitrd is calling dracut with wrong kerneldir version
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-maintainers@forge.provo.novell.com
Reporter agronick+suse@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

I am running 5.2.7-1-default. Mkinitrd builds a version for 5.2.7-1-default but
these lines are printed in error:

dracut-install: ERROR: installing 'nvidia'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D
/var/tmp/dracut.LETKAu/initramfs -N i2o_scsi --kerneldir
/lib/modules/5.2.2-1-default/ -m nvidia nvidia_drm nvidia-modeset nvidia-uvm

This is because the kerneldir parameter is wrong. Setting it manually to
5.2.7-1-default fixes the issue. Dracut is failing on the kmod_module_get_path
function.

Here is the full output.

Creating initrd: /boot/initrd-5.2.2-1-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log
--force /boot/initrd-5.2.2-1-default 5.2.2-1-default
dracut: dracut module 'bootchart' will not be installed, because command
'/sbin/bootchartd' could not be found!
dracut: dracut module 'dash' will not be installed, because command '/bin/dash'
could not be found!
dracut: dracut module 'caps' will not be installed, because command 'capsh'
could not be found!
dracut: dracut module 'busybox' will not be installed, because command
'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd'
could not be found!
dracut: dracut module 'plymouth' will not be installed, because it's in the
list to be omitted!
dracut: dracut module 'stratis' will not be installed, because command
'stratisd-init' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command
'biosdevname' could not be found!
dracut: dracut module 'dash' will not be installed, because command '/bin/dash'
could not be found!
dracut: dracut module 'caps' will not be installed, because command 'capsh'
could not be found!
dracut: dracut module 'busybox' will not be installed, because command
'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd'
could not be found!
dracut: dracut module 'stratis' will not be installed, because command
'stratisd-init' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-btrfs ***
dracut: *** Including module: suse-xfs ***
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: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: ostree ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including modules done ***
dracut-install: ERROR: installing 'nvidia'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D
/var/tmp/dracut.LETKAu/initramfs -N i2o_scsi --kerneldir
/lib/modules/5.2.2-1-default/ -m nvidia nvidia_drm nvidia-modeset nvidia-uvm
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: Stored kernel commandline:
dracut:  resume=UUID=21781d20-582b-4813-8f3d-a0b3a7ff9e99
dracut:  root=UUID=025099fa-e624-4142-b9e8-ec4fab3f44ce rootfstype=xfs
rootflags=rw,relatime,attr2,inode64,noquota
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initrd-5.2.2-1-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.2.2-1-default' done
***
Creating initrd: /boot/initrd-5.2.7-1-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log
--force /boot/initrd-5.2.7-1-default 5.2.7-1-default
dracut: dracut module 'bootchart' will not be installed, because command
'/sbin/bootchartd' could not be found!
dracut: dracut module 'dash' will not be installed, because command '/bin/dash'
could not be found!
dracut: dracut module 'caps' will not be installed, because command 'capsh'
could not be found!
dracut: dracut module 'busybox' will not be installed, because command
'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd'
could not be found!
dracut: dracut module 'plymouth' will not be installed, because it's in the
list to be omitted!
dracut: dracut module 'stratis' will not be installed, because command
'stratisd-init' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command
'biosdevname' could not be found!
dracut: dracut module 'dash' will not be installed, because command '/bin/dash'
could not be found!
dracut: dracut module 'caps' will not be installed, because command 'capsh'
could not be found!
dracut: dracut module 'busybox' will not be installed, because command
'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd'
could not be found!
dracut: dracut module 'stratis' will not be installed, because command
'stratisd-init' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-btrfs ***
dracut: *** Including module: suse-xfs ***
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: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: ostree ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
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: Stored kernel commandline:
dracut:  resume=UUID=21781d20-582b-4813-8f3d-a0b3a7ff9e99
dracut:  root=UUID=025099fa-e624-4142-b9e8-ec4fab3f44ce rootfstype=xfs
rootflags=rw,relatime,attr2,inode64,noquota
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initrd-5.2.7-1-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.2.7-1-default' done
***


You are receiving this mail because: