[Bug 715930] Re: geninitrd fails on masked vendor:device entries.
Elan Ruusamäe
715930 at bugs.launchpad.net
Thu Feb 10 12:36:40 CET 2011
this patch makes it accept module subid with "0x0000ffff"
this resulting these modules:
jmicron
pata_jmicron
ahci
what should be done with these? all of them be loaded?
matching modules.pcimap entries for those modules:
geninitrd/tests $ grep -E 'jmicron|pata_jmicron|ahci' modules.pcimap-2.6.33.4-1 | grep 197b
# pci module vendor device subvendor subdevice class class_mask driver_data
jmicron 0x0000197b 0x0000ffff 0x0000ffff 0x0000ffff 0x00010100 0x00ffff00 0x0
pata_jmicron 0x0000197b 0x0000ffff 0x0000ffff 0x0000ffff 0x00010100 0x00ffff00 0x0
ahci 0x0000197b 0x0000ffff 0x0000ffff 0x0000ffff 0x00010601 0x00ffffff 0x0
** Patch added: "m.patch"
https://bugs.launchpad.net/pld-linux/+bug/715930/+attachment/1841216/+files/m.patch
--
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