[openib-general] Loading / unloading IB modules

Roland Dreier
Fri Mar 26 08:45:15 PST 2004


    Troy> The next thing that gets checked into subversion ought to be
    Troy> a script to load and unload modules with insmod, so someone
    Troy> can get started fixing this.

It should be easy to write that script if you want to work on it.
Just modprobe the module you're interested in and look at
/proc/modules to see the order everything got loaded in.  To get the
script take that list of modules, put "insmod" in front of each name,
make a second copy in reverse order and put "rmmod" in front of each
name.

    Troy> We're not running windows here.. if you have to reboot, the
    Troy> code is broken and needs to be fixed.

Keep in mind that Linus says module unloading is a deprecated,
developer-only feature.

 - Roland

-- 
To unsubscribe send an email with subject unsubscribe to openib-general at openib.org.
Please contact moderator at openib.org for questions.




More information about the openib-general mailing list