LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Issues in Installing Ethernet Driver on RHEL6 (https://www.linuxquestions.org/questions/linux-newbie-8/issues-in-installing-ethernet-driver-on-rhel6-4175483041/)

senthilcaesar 11-01-2013 10:12 AM

Issues in Installing Ethernet Driver on RHEL6
 
Hi All,

Am using Toshiba Satellite C850-l5212 Laptop . I have installed RHEL6 server on it ( Linux 2.6.32-220.el6.x86_64 )

Now ethernet eth0 is no working .Am not able to find eth0 when i do ifconfig -a . Later found that ethernet driver was not installed.

Got the driver from https://www.kernel.org/pub/linux/kernel … -u.tar.bz2

- tar jxvf compat-drivers-2013-03-15-u.tar.bz2
-./scripts/driver-select alx
- make

Getting the below error while carrying out the phase . Could some please help me troubleshoot this below error . Am unable to access Internet.

[root@localhost compat-drivers-2013-03-15-u]# ls
code-metrics.txt config.mk drivers include Makefile patches scripts
compat COPYING enable-older-kernels MAINTAINERS net README.md udev
[root@localhost compat-drivers-2013-03-15-u]# ./scripts/driver-select alx
Processing new driver-select request...
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/ethernet/broadcom/Makefile.bk
Backing up makefile: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
[root@localhost compat-drivers-2013-03-15-u]# make
./scripts/gen-compat-autoconf.sh /root/Desktop/compat-drivers-2013-03-15-u/.config /root/Desktop/compat-drivers-2013-03-15-u/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.32-220.el6.x86_64/build M=/root/Desktop/compat-drivers-2013-03-15-u modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-220.el6.x86_64'
CC [M] /root/Desktop/compat-drivers-2013-03-15-u/compat/main.o
In file included from /root/Desktop/compat-drivers-2013-03-15-u/include/linux/compat-2.6.h:58,
from <command-line>:0:
/root/Desktop/compat-drivers-2013-03-15-u/include/linux/compat-2.6.35.h:29: error: redefinition of ‘qdisc_reset_all_tx_gt’
include/net/sch_generic.h:326: note: previous definition of ‘qdisc_reset_all_tx_gt’ was here
/root/Desktop/compat-drivers-2013-03-15-u/include/linux/compat-2.6.35.h:48: error: conflicting types for ‘netif_set_real_num_tx_queues’
include/linux/netdevice.h:1766: note: previous declaration of ‘netif_set_real_num_tx_queues’ was here
In file included from /root/Desktop/compat-drivers-2013-03-15-u/include/linux/compat-2.6.h:62,
from <command-line>:0:
/root/Desktop/compat-drivers-2013-03-15-u/include/linux/compat-2.6.39.h:21:1: warning: "NETIF_F_RXCSUM" redefined
In file included from /root/Desktop/compat-drivers-2013-03-15-u/include/linux/compat-2.6.29.h:5,
from /root/Desktop/compat-drivers-2013-03-15-u/include/linux/compat-2.6.h:52,
from <command-line>:0:
include/linux/netdevice.h:879:1: warning: this is the location of the previous definition
make[3]: *** [/root/Desktop/compat-drivers-2013-03-15-u/compat/main.o] Error 1
make[2]: *** [/root/Desktop/compat-drivers-2013-03-15-u/compat] Error 2
make[1]: *** [_module_/root/Desktop/compat-drivers-2013-03-15-u] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.el6.x86_64'
make: *** [modules] Error 2

John VV 11-01-2013 01:02 PM

RHEL 6 ( 6 what ? 6.4 is current)
is a NOT free operating system

you HAVE to buy the REQUIRED support contract to be able to really use it

also laptop support is very limited as in :
-- Most will mostly run it mostly well most of the time , maybe .
but a lot of laptops will NEVER be able to run it .

Quote:

/root/Desktop/compat-drivers-2013-03-15-u/include/linux/compat-2.6.29.h:5


also root should NOT have a desktop folder for you to have downloaded it to
did you not see the WARNING that firefox gave you about running it as root!

"make" is ran as a NORMAL ( NON-ROOT) user
use "su" to become root in the terminal to run "make install"

also "linux is not windows"
the Desktop folder is more DECORATION and is not a good place to build software on
you might run into problems , if you do .


seeing as this is red hat
you DID buy the license ?? right
the standard 1 year for $299 /year

the driver should be in RHN
you get access to that with the required support contract
also redhat techsupport will point you to all that is needed

or use the knowledge base
https://access.redhat.com/search/bro...al_language=en

login to the redhat site with the credentials you set up wit hthe license/support contract ( you will need it to use the search above )

or if you did not buy the license and are not going to
install the FREE rebuild of the current RHEL 6.4
CentOS 6.4


as to the error above
the code on kernel org dose NOT have the required redhat patches added to it so that it can build on redhat
you have to get the patches from redhat
or use centOS

senthilcaesar 11-02-2013 02:59 AM

Hi John,

Thanks for taking time and responding

Figured out this link and atlast found the solution - http://www.centos.org/forums/viewtopic.php?t=7269

Installed alx-linux-v2.0.0.6.rar and now eth0 is showing up.

Relieved


All times are GMT -5. The time now is 11:34 PM.