Installation guide

Chapter 4: Installing the Linux Drivers
48
rpm -ivh RPMS/i386/bnx2x-
version
.arch.rpm
If you are installing over an existing distribution that may already
contain an older version of the driver, the —force option is needed.
Depending on the kernel, the driver is installed to one of the following
paths:
For 2.4.x kernels
/lib/modules/kernel_version/kernel/drivers/net/bnx2x.o
For 2.6.x kernels:
/lib/modules/kernel_version/kernel/drivers/net/
bnx2x.ko
4. To load the driver, enter one of the following commands:
insmod bnx2x
or
modprobe bnx2x
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 bnx2x Linux driver from the
Source TAR file.
Building the bnx2x Driver
To build the bnx2x 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 bnx2x.ko (or bnx2x.o) as a loadable module for the
running kernel. Enter the following commands:
cd bnx2x-
version
/src
make
3. Test the driver by loading it (if necessary, first unload the existing
driver). Enter the following commands:
rmmod bnx2x
insmod bnx2x.o
modprobe crc32 && insmod bnx2x.o