Users Guide

7–Linux Driver Software
Installing Linux Driver Software
39 BC0054508-00 J
To install the KMP package:
1. Install the KMP package:
rpm -ivh <file>
rmmod bnx2x
2. Load the driver as follows:
modprobe bnx2x
Building the Driver from the Source TAR File
To build the driver from the TAR file:
1. Create a directory and extract the TAR files to the directory:
tar xvzf netxtreme2-version.tar.gz
2. Build the driver bnx2x.ko (or bnx2x.o) as a loadable module for the
running kernel:
cd netxtreme2-version
make
3. Test the driver by loading it (first unload the existing driver, if necessary):
rmmod bnx2x (or bnx2fc or bnx2i)
insmod bnx2x/src/bnx2x.ko (or bnx2fc/src/bnx2fc.ko, or
bnx2i/src/bnx2i.ko)
4. For iSCSI offload and FCoE offload, load the C-NIC driver (if applicable):
insmod cnic.ko
5. Install the driver and man page:
make install
6. Install the user daemon (iscsiuio).
NOTE
The examples used in this procedure refer to the bnx2x driver, but also apply
to the bnx2i and bnx2fc drivers.
NOTE
See the RPM instructions in the preceding for the location of the
installed driver.