include in branch for current production nodes.
authorStephen Soltesz <soltesz@cs.princeton.edu>
Fri, 26 Sep 2008 19:14:51 +0000 (19:14 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Fri, 26 Sep 2008 19:14:51 +0000 (19:14 +0000)
addresses boot hangs for dc7800 nodes and other machines at princeton.

source/steps/ChainBootNode.py

index 6d9d5c6..077d42c 100644 (file)
@@ -204,7 +204,7 @@ def Run( vars, log ):
     
     # modules that should not get unloaded
     # unloading cpqphp causes a kernel panic
-    blacklist = [ "floppy", "cpqphp" ]
+    blacklist = [ "floppy", "cpqphp", "i82875p_edac" ]
     try:
         modules= file("/tmp/loadedmodules","r")
         
@@ -215,7 +215,7 @@ def Run( vars, log ):
             elif module != "":
                 log.write( "Unloading %s\n" % module )
                 utils.sysexec_noerr( "modprobe -r %s" % module, log )
-                if module == "e1000":
+                if "e1000" in module:
                     log.write("Unloading e1000 driver; sleeping 4 seconds...\n")
                     time.sleep(4)