From 4f1f5f6c799f06117952092bdc270168fe6f44b8 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Tue, 19 Aug 2008 21:33:21 +0000 Subject: [PATCH 1/1] update to modules. catches other e1000-like modules in newer hpdc7800 hardware, also ignore the i82875p_edac module, since it seems to cause planetlab-3.cs.princeton.edu to hang --- source/steps/ChainBootNode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index 10f068e..2e979fc 100644 --- a/source/steps/ChainBootNode.py +++ b/source/steps/ChainBootNode.py @@ -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) -- 2.43.0