blacklist proteon and depca in initrd generation as they seem to cause problems with... 0.74
authorMichael Prokop <mika@grml.org>
Fri, 17 Nov 2006 19:35:14 +0000 (20:35 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 17 Nov 2006 19:35:14 +0000 (20:35 +0100)
grml-terminalserver-config

index 689b4a2..9b8d0f6 100755 (executable)
@@ -177,8 +177,9 @@ function mkInitrd
     isNotExistent $CARDS_DETECTED_BY_DISCOVER && awk '/ethernet/{print $3}' /lib/discover/pci.lst |sort |uniq > $CARDS_DETECTED_BY_DISCOVER
   else # newer discover does not provide /lib/discover/pci.lst, get a list of all network drivers therefore
     isNotExistent $CARDS_DETECTED_BY_DISCOVER && \
-    # find *all* network drivers
-    find /lib/modules/`uname -r`/kernel/drivers/net/ -name \*.ko | grep -v 'wireless\|wan\|hamradio\|wlan\|ppp\|irda\|pcmcia' | \
+    # find *all* network drivers, but do not include wlan/pcmcia/... related ones
+    # blacklist: proteon and depca as they seem to cause problems with udevsettle
+    find /lib/modules/`uname -r`/kernel/drivers/net/ -name \*.ko | grep -v 'wireless\|wan\|hamradio\|wlan\|ppp\|irda\|pcmcia\|depca\|proteon' | \
          sed 's#.*./## ; s#\.ko##' | sort | uniq > $CARDS_DETECTED_BY_DISCOVER
     # find the ones supported by discover
     # for mod in `grep "name'>.*</data>" /lib/discover/pci-device.xml | sed "s#.*name'>## ; s#</data>##" | sort -u`; do