AT-ANC10S/2 and AT-ANC10S/4 Adapters Installation and User’s Guide
47
Installing Linux Driver Software
There are two ways to install the Linux driver software — from the Source
RPM Package or by building the driver from the source TAR file. See the
following sections:
“Installing the Source RPM Package” on page 47
“Building the Driver from the Source TAR File” on page 48
Note
If a bnx2x driver is loaded and you update the Linux kernel, you
must recompile the driver module if it was installed using the source
RPM or the TAR package.
Installing the
Source RPM
Package
The procedure in this section describes how to install the Source RPM
Package.
To install the Source RPM Package, do the following:
1. Enter the following command:
rpm -ivh netxtreme2-version.src.rpm
2. Change the directory to the RPM path and build the binary driver for
your kernel (the RPM path is different for each Linux distribution):
cd /usr/src/
redhat,OpenLinux,turbo,packages,rpm
...
rpm -bb SPECS/netxtreme2.spec
or
rpmbuild -bb SPECS/netxtreme2.spec (for RPM version
4.x.x)
Note
The error message
error: cannot create %sourcedir /
usr/src/redhat/SOURCES
is displayed if the rpm-build package
is not installed. To resolve the problem, locate the rpm-build
package on the Linux installation media and install it using the
following command:
rpm -ivh rpm-build-version.arch.rpm
Then complete the installation of the source RPM.
3. Install the newly built package which includes the driver and man
page:
Summary of Contents for AT-ANC10S/4
Page 6: ...6...
Page 10: ...Contents 10...
Page 12: ...List of Figures 12...
Page 14: ...List of Tables 14...
Page 18: ...Preface 18...
Page 26: ...Chapter 1 Introducing the AT ANC10S 2 and AT ANC10S 4 Adapters 26...
Page 34: ...Chapter 2 Installing the Hardware 34 Figure 8 Installing the Standard Bracket...
Page 40: ...Chapter 2 Installing the Hardware 40...
Page 64: ...Chapter 5 Installing the Windows Drivers 64...
Page 88: ...Chapter 7 Installing CIM and SNMP for Manageability 88...
Page 110: ...Chapter 9 Troubleshooting 110...
Page 122: ...Chapter 10 User Diagnostics 122...
Page 130: ...Appendix B Cleaning Fiber Optic Connectors 130...