git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
888813b
)
A patch to avoid unloading the floppy module before chain booting the node
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Mon, 28 Jan 2008 15:32:57 +0000
(15:32 +0000)
committer
Stephen 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
patch
|
blob
|
history
diff --git
a/source/steps/ChainBootNode.py
b/source/steps/ChainBootNode.py
index
b829e4c
..
2f1827a
100644
(file)
--- 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":