From: Stephen Soltesz Date: Mon, 28 Jan 2008 15:32:57 +0000 (+0000) Subject: A patch to avoid unloading the floppy module before chain booting the node X-Git-Tag: bootmanager-3.2-3~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=fbe36e0e2595c9ce8a1f53f341ba35b237a74bcd;p=bootmanager.git A patch to avoid unloading the floppy module before chain booting the node into the production kernel. This prevents the HP dc7800 from hanging during boot up. Unknown cause, since the machine has no floppy drive. --- diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index b829e4c..2f1827a 100644 --- a/source/steps/ChainBootNode.py +++ b/source/steps/ChainBootNode.py @@ -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":