![Broadcom NetXtreme BCM57 Series User Manual Download Page 35](http://html1.mh-extra.com/html/broadcom/netxtreme-bcm57-series/netxtreme-bcm57-series_user-manual_2815649035.webp)
Linux Driver and Management Application Installation
NetXtreme
User Guide
Broadcom
®
April 2017 • 2CS57XX-CDUM514-R
Page 35
Installing TG3 Driver Software
•
Installing the Source RPM Package
•
Building the Driver from the Source TAR File
Installing the Source RPM Package
Prerequisites:
• Linux kernel source
• C compiler
Procedure:
1.
Install the source RPM package.
rpm -ivh tg3-
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 different Linux distributions).
cd /usr/src/redhat,OpenLinux,turbo,packages,rpm …
rpm -bb SPECS/tg3.spec or rpmbuild -bb SPECS/tg3.spec
rpmbuild -bb SPECS/tg3.spec (for RPM version 4.x.x)
error: cannot create %sourcedir /usr/src/redhat/SOURCE
The most likely cause of the error is that the rpm-build package has not been installed. Locate the rpm-build
package on the Linux installation media and install it using the following command:
rpm -ivh rpm-build-version.i386.rpm
Complete the installation of the source RPM.
3.
Install the newly-built package (driver and man page).
rpm -ivh RPMS/x86_64/tg3-
version
.i386.rpm
Depending on the kernel, the driver is installed to the following path:
2.6.x kernels
:
/lib/modules/
kernel_version
/kernel/drivers/net/tg3.ko
4.
Load the driver.
modprobe tg3
To configure the network protocol and address, refer to the Linux version-specific documentation.
Note:
During your attempt to install a source RPM package, the following message may be displayed:
Summary of Contents for NetXtreme BCM57 Series
Page 1: ...Broadcom NetXtreme BCM57XX User Guide Last revised April 2017 2CS57XX CDUM514 R...
Page 16: ...Functionality and Features NetXtreme User Guide Broadcom April 2017 2CS57XX CDUM514 R Page 16...
Page 169: ...Regulatory Information NetXtreme User Guide Broadcom April 2017 2CS57XX CDUM514 R Page 169...
Page 170: ...Regulatory Information NetXtreme User Guide Broadcom April 2017 2CS57XX CDUM514 R Page 170...
Page 171: ...Regulatory Information NetXtreme User Guide Broadcom April 2017 2CS57XX CDUM514 R Page 171...