
AT-ANC10S/2 Adapter Installation and User’s Guide
41
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 41
“Building the Driver from the Source TAR File” on page 42
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:
Содержание AT-ANC10S
Страница 1: ...613 002022 Rev B AT ANC10S 2 10 Gigbit Network Interface Card Installation and User s Guide...
Страница 6: ...6...
Страница 10: ...List of Figures 10...
Страница 12: ...List of Tables 12...
Страница 16: ...Preface 16...
Страница 29: ...AT ANC10S 2 Adapter Installation and User s Guide 29 Figure 5 Installing the Standard Bracket...
Страница 58: ...Chapter 5 Installing the Windows Drivers 58...
Страница 82: ...Chapter 7 Installing CIM and SNMP for Manageability 82...
Страница 104: ...Chapter 9 Troubleshooting 104...
Страница 116: ...Chapter 10 User Diagnostics 116...
Страница 124: ...Appendix B Cleaning Fiber Optic Connectors 124...