User guide

User Guide NetXtreme II
September 2013
Broadcom Corporation
Document INGSRVT78-CDUM100-R Installing Linux Driver Software Page 149
BUILDING THE DRIVER FROM THE SOURCE TAR FILE
NOTE: The examples used in this procedure refer to the bnx2 driver, but also apply to the bnx2x driver.
1. Create a directory and extract the TAR files to the directory:
tar xvzf netxtreme2-version.tar.gz
2. Build the driver bnx2.ko (or bnx2.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 bnx2
insmod bnx2.o
modprobe crc32 && insmod bnx2.o
or, for Linux 2.6 kernels:
rmmod bnx2
insmod bnx2.ko
Verify that your network adapter supports iSCSI by checking the message log. If the message “bnx2i: dev eth0 does not
support iSCSI” appears in the message log after loading the bnx2i driver, then iSCSI is not supported. This message
may not appear until the interface is opened, as with:
ifconfig eth0 up
4. Load the cnic driver (if applicable):
insmod cnic.ko
5. Install the driver and man page:
make install
NOTE: See the RPM instructions above for the location of the installed driver.
6. Install the user daemon (brcm_iscsiuio).
Refer to Load and Run Necessary iSCSI Software Components for instructions on loading the software components
required to use the Broadcom iSCSI offload feature.
To configure the network protocol and address after building the driver, refer to the manuals supplied with your operating
system.
Verify that your network adapter supports iSCSI by checking the message log. If the message “bnx2i: dev eth0 does not
support iSCSI” appears in the message log after loading the bnx2i driver, then iSCSI is not supported. This message
may not appear until the interface is opened, as with:
ifconfig eth0 up