beautypg.com

Load and run necessary iscsi software components – Allied Telesis NetExtreme II Adapters User Manual

Page 71

background image

AT-2973SX, AT-2973T, AT-2973T/4, and AT-VNC10S Adapters Installation and User’s Guide

71

Building the bnx2i Driver

To build the bnx2i Linux driver from the Source TAR file, do the following:

1. Create a directory and extract the TAR files to the directory by entering

the following command:

tar xvzf bnx2-version.tar.gz

2. Build the driver bnx2.ko as a loadable module for the running kernel by

entering the following command:

cd bnx2i-version/drivermake

3. Test the driver by loading it (if necessary, first unload the existing

driver). Enter the following commands:

rmmod bnx2i

insmod bnx2i.ko

4. Install the driver and man page, by entering:

make install

Note

See the “Installing the Source RPM Package” on page 68 for the
location of the installed driver.

5. Install the user daemon (bnx2id), by entering:

cd ${DRV_BASE}/driver

make install_usr

The make install_usr command installs the bnx2id binary under

/sbin.

To use Broadcom iSCSI, see “Load and Run Necessary iSCSI
Software Components” on page 71 to
load the necessary software
components.

Load and Run

Necessary iSCSI

Software

Components

The Broadcom iSCSI Offload software suite consists of three kernel
modules and a user daemon. To load the required software components
either manually or through system services, do the following:

1. Unload existing driver and kill the user daemon, if necessary. Do the

following:

Manual:

rmmod bnx2i

pkill -9 bnx2id