Users Guide

7–Linux Driver Software
Unloading or Removing the Linux Driver
42 BC0054508-00 J
Unloading or Removing the Driver from an RPM Installation
To unload the driver, enter ifconfig to bring down all eth# interfaces opened
by the driver, and then issue the following command:
rmmod bnx2x
If the driver was installed using RPM, issue the following command to remove it:
rpm -e netxtreme2
Removing the Driver from a TAR Installation
If the driver was installed using make install from the TAR file, manually delete the
bnx2x.ko driver file from the operating system. See “Installing the Source RPM
Package” on page 36 for the location of the installed driver.
Uninstalling QCS with the RPM Package
To uninstall the QCS CLI and/or associated RPC agent with the Linux RPM
package, issue the following command:
% rpm -e <package_name>.rpm
NOTE
The examples used in this procedure refer to the bnx2x driver, but also
apply to the bnx2fc and bnx2i drivers.
On 2.6 kernels, it is not necessary to bring down the eth# interfaces
before unloading the driver module.
If the C-NIC driver is loaded, unload the C-NIC driver before unloading
the bnx2x driver.
Prior to unloading the bnx2i driver, disconnect all active iSCSI sessions
to targets.
NOTE
The preceding command also removes the C-NIC module.
NOTE
The examples used in this procedure refer to the bnx2x driver, but also apply
to the bnx2fc and bnx2i drivers.