[Bug 715930] Re: geninitrd fails on masked vendor:device entries.

Paweł Sikora 715930 at bugs.launchpad.net
Fri Feb 11 18:36:51 CET 2011


i think that we can ask user which module to load and use explicit value
or all matching modules.

example:

$ cat select.sh
#!/bin/zsh

tempfile="$(mktemp)"
dialog --menu "select module" 15 70 5 pata_jmicron "new libata based" jmicron "legacy" 2>${tempfile}
if [ $? -eq 0 ]; then
        echo "[loading $(cat $tempfile)]"
else
# cancel/esc.
        echo "[loading all modules...]"
fi

-- 
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