RHEL6 install BCM57xx driver

Source: Internet
Author: User
Redhat Enterprise 6 installation driver [root @ localhostDriver] # tar-xvzf./tg3-3.116j.tar.gztg3-3.116j/tg3-3.116j/makeflags. shtg3-3.116j/ChangeLogtg3-3.116j/Makefiletg3-3.116j/tg3_firmware

Install drivers in Redhat Enterprise 6
 
[Root @ localhost Driver] # tar-xvzf./tg3-3.116j.tar.gz
Tg3-3.116j/
Tg3-3.116j/makeflags. sh.
Tg3-3.116j/ChangeLog
Tg3-3.116j/Makefile
Tg3-3.116j/tg3_firmware.h.
Tg3-3.116j/tg3.c.
5) tg3-3.116j/tg3.h
Tg3-3.116j/tg3_vmware.c.
Tg3-3.116j/tg3_compat.h.
Tg3-3.116j/LICENSE
Tg3-3.116j/tg3_compat2.h.
Tg3-3.116j (tg3.4)
Tg3-3.116j/tg3_vmware.h.
Tg3-3.116j/README. TXT
Tg3-3.116j/esx_ioctl.h
[Root @ localhost Driver] # ls
ChangeLog README. TXT tg3-3.116j tg3-3.116j-1.src.rpm tg3-3.116j.tar.gz
[Root @ localhost Driver] # cd./tg3-3.116j
[Root @ localhost: tg3-3.116j] # ls
ChangeLog Makefile tg3.4 tg3_compat.h tg3_vmware.c
Esx_ioctl.h makeflags. sh tg3.c tg3_firmware.h tg3_vmware.h
License readme. TXT tg3_compat2.h tg3.h
[Root @ localhost tg3-3.116j] # make
Sh makeflags. sh/lib/modules/2.6.32-71. el6.i686/source> tg3_flags.h
Make-C/lib/modules/2.6.32-71. el6.i686/build SUBDIRS =/root/Server/Linux/Driver/tg3-3.116j modules
Make [1]: Entering directory '/usr/src/kernels/2.6.32-71. el6.i686'
CC [M]/root/Server/Linux/Driver/tg3-3.116j/tg3.o
Building modules, stage 2.
MODPOST 1 modules
CC/root/Server/Linux/Driver/tg3-3.116j/tg3.mod. o
LD [M]/root/Server/Linux/Driver/tg3-3.116j/tg3.ko. unsigned
No sign [M]/root/Server/Linux/Driver/tg3-3.116j/tg3.ko
Make [1]: Leaving directory '/usr/src/kernels/2.6.32-71. el6.i686'
 
[Root @ localhost tg3-3.116j] # make KVER = 2.6.32-71. el6.i686 this step is important
 
 
[Root @ localhost 2.6.32-71. el6.i686] # insmod/lib/modules/2.6.32-71. el6.i686/updates/tg3.ko
 
[Root @ localhost tg3-3.116j] # make install
Make-C/lib/modules/2.6.32-71. el6.i686/build SUBDIRS =/root/Server/Linux/Driver/tg3-3.116j modules
Make [1]: Entering directory '/usr/src/kernels/2.6.32-71. el6.i686'
Building modules, stage 2.
MODPOST 1 modules
Make [1]: Leaving directory '/usr/src/kernels/2.6.32-71. el6.i686'
Gzip-c tg3.4> tg3.4.gz
Mkdir-p // lib/modules/2.6.32-71. el6.i686/updates;
Install-m 444 tg3.ko // lib/modules/2.6.32-71. el6.i686/updates;
Install-m 444 tg3.4.gz/usr/share/man/man4 ;\
 
[Root @ localhost tg3-3.116j] # lsmod | grep tg3 View module
Tg3 116521 0
 
The following figure shows how to restart NetManager to restart the service to identify the NIC. Redhat ES6 has no kudzu command.
 
Redhat Enterprise 5 installation method.
 
Installing Source RPM Package
==================================
 
 
The following are general guidelines for installing the driver.
 
 
1. Install the source RPM package:
 
 
Rpm-ivh tg3- . Src. rpm
 
 
2. CD to the RPM path and build the binary driver for your kernel:
 
 
Cd/usr/src/{redhat, OpenLinux, turbo, packages, rpm...} note that there is no folder named by redhat in RHEL6.
 
 
Rpm-bb SPECS/tg3.spec
 
 
 
 
 
Note that the RPM path is different for different Linux distributions.
 
 
The driver will be compiled for the running kernel by default. To build
The driver for a kernel different than the running one, specify
Kernel by defining it in KVER:
 
 
Rpmbuild-bb SPECS/tg3.spec -- define "KVER "
 
 
Where In the form of 2. x. y-z is the version of another
Kernel that is installed on the system.
 
 
3. Install the newly built package (driver and man page ):
 
 
Rpm-ivh RPMS // tg3- . Rpm
 
 
Is the architecture of the machine, e.g. i386:
 
 
Rpm-ivh RPMS/i386/tg3- . I386.rpm
Author: "Xiao Long's space"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.