Building the driver from the source tar file – Allied Telesis NETEXTREME II AT-2973SX User Manual

Page 70

Advertising
background image

Chapter 6: Installing the Linux Drivers

70

To configure the network protocol and address, refer to the documentation
provided with your operating system.

Building the

Driver from the

Source TAR File

This procedure describes how to build the bnx2 and bnx2i Linux drivers
from the Source TAR file. See the following sections:

“Building the bnx2 Driver” on page 70

“Building the bnx2i Driver” on page 71

Building the bnx2 Driver

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

1. Create a directory and extract the TAR files to the following directory:

tar xvzf netxtreme2-

version

.tar.gz

2. Build the driver bnx2.ko (or bnx2.o) as a loadable module for the

running kernel. Enter the following commands:

cd bnx2-

version

/src

make

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

driver). Enter the following commands:

rmmod bnx2
insmod bnx2.o
modprobe crc32 && insmod bnx2.o

or, for Linux 2.6 kernels:

rmmod bnx2
insmod bnx2.ko

4. Load the cnic driver, if applicable. Enter the following command:

insmod cnic.ko

5. Install the driver and man page by entering the following command:

make install

Note

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

To configure the network protocol and address after building the driver,
refer to the manuals supplied with your operating system.

Advertising
This manual is related to the following products: