Wind River Support Network

HomeDefectsLIN6-10408
Fixed

LIN6-10408 : wrl6 : generated initrd does not work properly

Created: Oct 9, 2015    Updated: Dec 3, 2018
Resolved Date: Oct 27, 2015
Found In Version: 6.0.0.17
Fix Version: 6.0.0.26
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

during generation of initrd and during boot of the system with the generated initrd we see errors such as:

root@m1001:/root> dracut /boot/test.img $(uname -r)
Executing: /usr/bin/dracut /boot/test.img 3.10.62-ltsi-rt55-WR6.0.0.17_preempt-rt
*** Including module: bash ***
*** Including module: i18n ***
cp: cannot stat '/consolefonts/*': No such file or directory
cp: cannot stat '/consoletrans/*': No such file or directory
cp: cannot stat '/keymaps/*': No such file or directory
cp: cannot stat '/unimaps/*': No such file or directory
*** Including module: network ***
*** Including module: dm ***
Skipping udev rule: 10-dm.rules
Skipping udev rule: 13-dm-disk.rules
Skipping udev rule: 95-dm-notify.rules
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 60-persistent-storage-dm.rules
Skipping udev rule: 55-dm.rules
*** Including module: kernel-modules ***
*** Including module: lvm ***
Skipping udev rule: 11-dm-lvm.rules
Skipping udev rule: 69-dm-lvm-metad.rules
grep: /var/tmp/initramfs.rp1dCo/lib/udev/rules.d/69-dm-lvm-metad.rules: No such file or directory
sed: can't read /var/tmp/initramfs.rp1dCo/lib/udev/rules.d/69-dm-lvm-metad.rules: No such file or directory
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 56-lvm.rules
Skipping udev rule: 60-persistent-storage-lvm.rules
*** Including module: mdraid ***
dracut-install: ERROR: installing '/sbin/partx'
/usr/lib/dracut/dracut-install -D /var/tmp/initramfs.rp1dCo /sbin/partx
Skipping udev rule: 63-md-raid-arrays.rules
Skipping udev rule: 64-md-raid-assembly.rules
Skipping program /sbin/partx using in udev rule 65-md-incremental-imsm.rules as it cannot be found
*** Including module: nfs ***
*** Including module: resume ***
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 91-permissions.rules
Skipping udev rule: 80-drivers-modprobe.rules
*** Including module: usrmount ***
*** Including module: base ***
/etc/os-release: line 2: River: command not found
/etc/os-release: line 5: River: command not found
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Pre-linking files ***
WRAPPER ERROR: Couldn't find 'i686-wrs-linux-gnu-prelink' in path.

*** Pre-linking files done ***
*** Stripping files ***
*** Stripping files done ***
*** Store current command line parameters ***
*** Creating image file ***
*** Creating image file done ***


during boot we see errors that /sbin/dmsetup could not be found. Which is correct as this located in /usr/sbin/dmsetup in the initrd image.

Expected Behavior dracut must be able to generate initrd images without errors.

during boot time when the initrd image we should not have scripts complaining that binaries can not be found
Steps To Reproduce - install system
- generate initrd with dracut; dracut $INITRD_FILENAME $(uname -r)
- boot system with generated initrd (change grub config if necessary)

Other Downloads


Live chat
Online