5–Linux Driver Software
Unloading/Removing the Linux Driver
31
83840-546-00 D
Unloading/Removing the Linux Driver
Unloading/Removing the Driver from an RPM Installation
Removing the Driver from a TAR Installation
Unloading/Removing the Driver from an RPM Installation
To unload the driver, use ifconfig to bring down all eth# interfaces opened by the
driver, and then type the following:
rmmod bnx2x
If the driver was installed using RPM, do the following 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, the
bnx2x.ko
driver
file has to be manually deleted from the operating system. See
Source RPM Package” on page 26
for the location of the installed driver.
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 cnic driver is loaded, unload the cnic driver before unloading the
bnx2x driver.
Prior to unloading the bnx2i driver, disconnect all active iSCSI sessions
to targets.
NOTE
The above command will also remove the cnic module.
NOTE
The examples used in this procedure refer to the bnx2x driver, but also apply
to the bnx2fc and bnx2i drivers.