[Bug 715930] Re: geninitrd fails on masked vendor:device entries.
Paweł Sikora
715930 at bugs.launchpad.net
Thu Feb 10 10:54:16 CET 2011
[root at szymonk ~]# geninitrd -f --initrdfs=rom /tmp/test.img `uname -r` -v
geninitrd: # $Revision: 12081 $ $Date: 2011-01-24 00:36:56 +0200 (E, 24 jaan 2011) $
geninitrd: Using _lib: lib64
geninitrd: Using initrd_dir: /usr/lib64/initrd
geninitrd: find_tool: found /usr/lib64/initrd/busybox
geninitrd: find_tool: did not found any of: /usr/lib64/initrd/cryptsetup /sbin/cryptsetup-initrd
geninitrd: find_tool: did not found any of: /usr/lib64/initrd/dmraid /sbin/dmraid-initrd
geninitrd: find_tool: found /usr/lib64/initrd/lvm
geninitrd: find_tool: did not found any of: /usr/lib64/initrd/mdassemble /sbin/initrd-mdassemble
geninitrd: find_tool: found /sbin/mdadm
geninitrd: find_tool: found /usr/lib64/initrd/blkid
geninitrd: find_tool: did not found any of: /usr/lib64/initrd/udevd /sbin/initrd-udevd
geninitrd: find_tool: did not found any of: /usr/lib64/initrd/udevadm /sbin/initrd-udevadm
geninitrd: find_tool: did not found any of: /usr/lib64/initrd/resume /usr/lib64/suspend/resume /usr/sbin/resume
geninitrd: find_tool: did not found any of: /usr/sbin/splash_geninitramfs /usr/bin/splash_geninitramfs
geninitrd: find_tool: did not found any of: /usr/sbin/splash_geninitramfs /usr/bin/splash_geninitramfs
geninitrd: find_tool: did not found any of: /bin/splash.bin
geninitrd: find_tool: found /sbin/v86d
geninitrd: Using modprobe -c to get modules config
geninitrd: Finding SATA modules (class=0x0106)
geninitrd: Using /dev/sda1 as device for rootfs
geninitrd: Finding modules for device path /dev/sda1
geninitrd: Finding SCSI modules using scsi_hostadapter
geninitrd: Building initrd...
geninitrd: + cp /usr/lib64/initrd/busybox /root/tmp/initrd.tWKExX/bin/busybox
geninitrd: Loading module [scsi_mod] with options [scan=sync ]
geninitrd: Loading module [libata]
geninitrd: Loading module [pata_amd]
geninitrd: Loading module [sata_nv]
geninitrd: Loading module [mbcache]
geninitrd: Loading module [jbd]
geninitrd: Loading module [ext3]
geninitrd: Loading module [crc-t10dif]
geninitrd: Loading module [sd_mod]
geninitrd: Loading module [scsi_wait_scan]
geninitrd: Adding BLKID support to initrd
geninitrd: + cp /usr/lib64/initrd/blkid /root/tmp/initrd.tWKExX/bin/blkid
geninitrd: Adding rootfs finding based on kernel cmdline root= option support.
geninitrd: Creating rom image /root/tmp/initrd.img-NcngR0
geninitrd: image size: 2048 KiB (/root/tmp/initrd.tWKExX)
geninitrd: finding compressor: lzo gzip xz lzma bzip2 (via yes)
geninitrd: Compressing /tmp/test.img with gzip
[root at szymonk ~]# lspci -n
00:00.0 0500: 10de:02f4 (rev a2)
00:00.1 0500: 10de:02fa (rev a2)
00:00.2 0500: 10de:02fe (rev a2)
00:00.3 0500: 10de:02f8 (rev a2)
00:00.4 0500: 10de:02f9 (rev a2)
00:00.5 0500: 10de:02ff (rev a2)
00:00.6 0500: 10de:027f (rev a2)
00:00.7 0500: 10de:027e (rev a2)
00:04.0 0604: 10de:02fb (rev a1)
00:08.0 0500: 10de:0369 (rev a1)
00:09.0 0601: 10de:0360 (rev a2)
00:09.1 0c05: 10de:0368 (rev a2)
00:09.2 0500: 10de:036a (rev a2)
00:0a.0 0c03: 10de:036c (rev a1)
00:0a.1 0c03: 10de:036d (rev a2)
00:0c.0 0101: 10de:036e (rev a1)
00:0d.0 0101: 10de:037f (rev a2)
00:0d.1 0101: 10de:037f (rev a2)
00:0d.2 0101: 10de:037f (rev a2)
00:0e.0 0604: 10de:0370 (rev a2)
00:0e.1 0403: 10de:0371 (rev a2)
00:10.0 0680: 10de:0373 (rev a2)
00:11.0 0680: 10de:0373 (rev a2)
00:15.0 0604: 10de:0378 (rev a2)
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
01:00.0 0300: 10de:06e4 (rev a1)
--
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/715930
Title:
geninitrd fails on masked vendor:device entries.
Status in PLD Linux Distribution:
New
Bug description:
the new logic in /lib/geninitrd/mod-sata.sh is broken. it simply
doesn't work for masked vendor's devices.
e.g., for jmicorn sata/ide controlers we have masked 0xffff (all
devices) entries:
pata_jmicron 0x0000197b 0x0000ffff 0x0000ffff 0x0000ffff 0x00010100 0x00ffff00 0x0
jmicron 0x0000197b 0x0000ffff 0x0000ffff 0x0000ffff 0x00010100 0x00ffff00 0x0
in such situation the awk logic which uses equality operator won't work and return empty list of kernel modules.
this is a serious bug.
geninitrd-10000.31-0.1.noarch
More information about the pld-bugs
mailing list