User guide
NetXtreme II User Guide
September 2013
Broadcom Corporation
Page 146 Installing Linux Driver Software Document INGSRVT78-CDUM100-R
INSTALLING LINUX DRIVER SOFTWARE
• Installing the Source RPM Package
• Building the Driver from the Source TAR File
NOTE: If a bnx2/bnx2x/bnx2i driver is loaded and the Linux kernel is updated, the driver module must be
recompiled if the driver module was installed using the source RPM or the TAR package.
INSTALLING THE SOURCE RPM PACKAGE
The following are guidelines for installing the driver source RPM Package.
Prerequisites:
• Linux kernel source
•C compiler
Procedure:
1. Install the source RPM package:
rpm -ivh netxtreme2-<version>.src.rpm
2. Change the directory to the RPM path and build the binary RPM for your kernel:
For RHEL:
cd ~/rpmbuild
rpmbuild -bb SPECS/netxtreme2.spec
For SLES:
cd /usr/src/packages
rpmbuild -bb SPECS/netxtreme2.spec
3. Install the newly compiled RPM:
rpm -ivh RPMS/<arch>/netxtreme2-<version>.<arch>.rpm
Note that the --force option may be needed on some Linux distributions if conflicts are reported.
4. Install open-fcoe utility.
For RHEL 6.4 and legacy versions, either of the following:
yum install fcoe-utils-<version>.rhel.64.brcm.<subver>.<arch>.rpm
-or-
rpm -ivh fcoe-utils-<version>.rhel.64.brcm.<subver>.<arch>.rpm
For SLES11 SP2:
rpm -ivh open-fcoe-<version>.sles.sp1.brcm.<subver>.<arch>.rpm
For RHEL 6.4 and SLES11 SP2 and legacy versions, the version of fcoe-utils/open-fcoe included in your distribution is
sufficient and no out of box upgrades are provided.
Where available, installation with yum will automatically resolve dependencies. Otherwise, required dependencies can
be located on your O/S installation media.