SOURCES: PowerPath.init - don't unload drivers on startup (causes ...

glen glen at pld-linux.org
Fri Aug 24 17:09:40 CEST 2007


Author: glen                         Date: Fri Aug 24 15:09:40 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't unload drivers on startup (causes startup to stall as modprobe -r waits for devices to be released)

---- Files affected:
SOURCES:
   PowerPath.init (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/PowerPath.init
diff -u SOURCES/PowerPath.init:1.1 SOURCES/PowerPath.init:1.2
--- SOURCES/PowerPath.init:1.1	Fri Aug 24 16:32:52 2007
+++ SOURCES/PowerPath.init	Fri Aug 24 17:09:34 2007
@@ -257,7 +257,6 @@
         rc_check
     else
         rc_check
-        unload_drivers
     fi
 
     if rc_status ; then
@@ -378,7 +377,6 @@
                     rc_check
                 else
                     rc_check
-                    unload_drivers
                 fi
             # remove PIOC if it was loaded during RD boot.
                 lsmod | grep emcpioc > /dev/null
@@ -392,11 +390,9 @@
                     configure_pp
                 else
                     rc_check
-                    unload_drivers
                 fi
             else
                 nls "PowerPath: unable to load PowerPath modules."
-                unload_drivers
             fi
         fi
         rc_status -v
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/PowerPath.init?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list