A patch to avoid unloading the floppy module before chain booting the node
authorStephen Soltesz <soltesz@cs.princeton.edu>
Mon, 28 Jan 2008 15:32:57 +0000 (15:32 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Mon, 28 Jan 2008 15:32:57 +0000 (15:32 +0000)
into the production kernel.  This prevents the HP dc7800 from hanging during boot
up.  Unknown cause, since the machine has no floppy drive.

source/steps/ChainBootNode.py

index b829e4c..2f1827a 100644 (file)
@@ -203,7 +203,10 @@ def Run( vars, log ):
         
         for line in modules:
             module= string.strip(line)
-            if module != "":
+            if module == "floppy":
+                log.write("Skipping unload of floppy module for dc7800.\n")
+                log.write("--!! Unknown effect on other platforms !!--\n")
+            elif module != "":
                 log.write( "Unloading %s\n" % module )
                 utils.sysexec_noerr( "modprobe -r %s" % module, log )
             if module == "e1000":