A

Configuring Drivers and Services Further Information on Configuring and Loading Drivers

The sequence of commands to restart the driver are as follows.

#/etc/init.d/opensmd stop

#/etc/init.d/openibd stop

...

#/etc/init.d/openibd start

#/etc/init.d/opensmd start

The ... represents whatever activity you are engaged in after infinipath is stopped.

An equivalent way to restart the driver this is to use same sequence as above, except use the restart command instead of start and stop:

#/etc/init.d/opensmd stop

#/etc/init.d/openibd restart

#/etc/init.d/opensmd start

NOTE:

Stopping or restarting openibd terminates any QLogic MPI processes, as well as any OpenFabrics processes that are running at the time.

You can check to see if opensmd is running by using the following command (as root); if there is no output, opensmd is not configured to run:

#/sbin/chkconfig --list opensmd grep -w on

When you need to determine which InfiniPath and OpenFabrics modules are running, use the following command. You do not need to be root:

$ lsmod egrep ’ipath ib rdma findex’

Unloading the Driver/Modules Manually

You can also unload the driver/modules manually without using /etc/init.d/openibd. Use the following series of commands (as root):

#umount /ipathfs

#fuser -k /dev/ipath* /dev/infiniband/*

#lsmod egrep ’^ib ^rdma ^iw ’ xargs modprobe -r

Further Information on Configuring and Loading Drivers

See the modprobe(8), modprobe.conf(5), and lsmod(8) man pages for more information. Also see the file (on Red Hat systems):

/usr/share/doc/initscripts-*/sysconfig.txt

IB0056101-00 G.02

Preliminary

6-17

Page 89
Image 89
Q-Logic IB0056101-00 G.02 Further Information on Configuring and Loading Drivers, Unloading the Driver/Modules Manually