5–Linux Driver Software
Unloading/Removing the Linux Driver
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
NOTE
The examples used in this procedure refer to the bnx2x driver, but also
On 2.6 kernels, it is not necessary to bring down the eth# interfaces
If the cnic driver is loaded, unload the cnic driver before unloading the
Prior to unloading the bnx2i driver, disconnect all active iSCSI sessions
To unload the driver, use ifconfig to bring down all eth# interfaces opened by the
driver, and then type the following:
rmmod bnx2x
NOTE
The above command will also remove the cnic module.
If the driver was installed using RPM, do the following to remove it:
rpm -e netxtreme2
Removing the Driver from a TAR Installation
NOTE
The examples used in this procedure refer to the bnx2x driver, but also apply
to the bnx2fc and bnx2i drivers.
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 28
apply to the bnx2fc and bnx2i drivers.
before unloading the driver module.
bnx2x driver.
to targets.
for the location of the installed driver.
33
"Installing the
83840-546-00 E