[Bug 715930] Re: geninitrd fails on masked vendor:device entries.
Paweł Sikora
715930 at bugs.launchpad.net
Thu Feb 10 18:57:05 CET 2011
one more thing. instead of comparing against specific 0xffff mask
there'd be a bit-and operation:
if ((lspci-device-id & device-mask-from-kernel-pcimap)==lspci-device-id)
then module-matched.
--
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