Linux Driver and Management Application InstallationNetXtreme User Guide
Broadcom
®
October 2020 • 2CS57XX-CDUM518 Page 19
Building the Driver from the Source TAR File
1. Create a directory (tg3-version) and extract the TAR files to the directory.
tar xvzf tg3-version.tgz
2. Build the driver tg3.o as a loadable module for the running kernel.
CD tg3-version
make clean
make; make install
3. Test the driver by loading it.
rmmod tg3
modprobe tg3
No message should be returned if this command runs properly.
4. To configure network protocol and address, refer to the manuals supplied with your operating system.
Network Installations
For network installations through NFS, FTP, or HTTP (using a network boot disk or PXE), use the tg3 driver that
is part of the Linux operating system distribution.
Unloading/Removing the TG3 Driver
• Unloading/Removing the Driver from an RPM Installation
• Removing the Driver from a TAR Installation
Unloading/Removing the Driver from an RPM Installation
To unload the driver, use ifconfig to bring down all ethX interfaces opened by the driver, and then type the
following:
rmmod tg3
If the driver was installed using rpm, do the following to remove it:
rpm -e tg3-<version>
Removing the Driver from a TAR Installation
If the driver was installed using make install from the tar file, the tg3.o driver file has to be manually deleted from
the operating system. See Installing the Source RPM Package for the location of the installed driver.
If there is an interface configuration that is related to the tg3 driver, then bring the interface down first by using
ifconfig ethx down and then rmmod tg3.
Note: See the RPM instructions above for the location of the installed driver.