Building the driver from the source tar file – Allied Telesis AT-2973T (NetExtreme II) User Manual

Page 56

Advertising
background image

Chapter 5: Installing the Linux Drivers

56

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 56

“Building the bnx2i Driver” on page 57

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 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 (first unload the existing driver, if

necessary). 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

No message should be returned if this command runs properly

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 54 for the
location of the installed driver.

Advertising
This manual is related to the following products: