Trouble with Realtek ethernet driver on redhat 5 enterprise edition
hi everybody, i am new to linux. I have a Dell Optiplex 3020 core i5 machine. I have installed redhat enterprise edition 5 having kernel 2.6.18-164.el5PAE. The builtin ethernet card was not working so i took some help from a thread online http://ubuntuforums.org/showthread.php?t=1661489 . But unfortunately it didnt workout for me. Here is some output
#lsmod | grep r816* r8169 37573 0 mii 9409 1 r8169 i downloaded the driver from http://www.realtek.com.tw/downloads/...Cbr%3ERTL8105E when trying to run the autorun.sh got this #./autorun.sh check old driver and unload it. rmmod r8169 Build the module and install In file included from /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168.h:34, from /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:73: /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_dash.h:193:33: warning: no newline at end of file In file included from /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168.h:35, from /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:73: /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_realwow.h:117:36: warning: no newline at end of file In file included from /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:73: /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168.h:338:1: warning: "DMA_BIT_MASK" redefined In file included from include/asm-generic/pci-dma-compat.h:7, from include/asm/pci.h:140, from include/linux/pci.h:804, from /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:40: include/linux/dma-mapping.h:16:1: warning: this is the location of the previous definition /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c: In function ‘rtl8168_proc_module_init’: /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:1292: error: ‘init_net’ undeclared (first use in this function) /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:1292: error: (Each undeclared identifier is reported only once /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:1292: error: for each function it appears in.) /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c: In function ‘rtl8168_init_board’: /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:22173: warning: left shift count >= width of type /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c: In function ‘rtl8168_init_one’: /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:22505: warning: assignment discards qualifiers from pointer target type /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c: In function ‘rtl8168_cancel_schedule_work’: /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:24195: error: implicit declaration of function ‘cancel_work_sync’ /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c: In function ‘rtl8168_cleanup_module’: /u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.c:25356: error: ‘init_net’ undeclared (first use in this function) make[3]: *** [/u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src/r8168_n.o] Error 1 make[2]: *** [_module_/u02/0002-r8168-8.040.00.tar.bz2_FILES/r8168-8.040.00/src] Error 2 make[1]: *** [modules] Error 2 make: *** [modules] Error 2 ------------------------- so i got the clue that old driver are being loaded and its preventing it from installation and i removed it with rmmod command. still same problem so i further googled the issue and found some where that kernel development rpm must be installed so i installed it from the dvd. but still getting the same error. I would highly appreciate any help. Many thanks in Advance. |
You compile the driver with ./configure ; make ; make install
Code:
ifdown eth0 |
Hayat2015
WHY!!! Why are you using the OLD legacy support RHEL5 ???? this is the LEGACY hardware / software OS from redhat -- GREAT for 10+ year old hardware and 10+ YEAR OLD software RHEL5 is however VERY CRAPPY for NEW hardware Also you are using the even OLDER rhel5.4 "kernel 2.6.18-164.el5PAE" in in 5.4 the current in the OLD legacy support OS is RHEL 5.11 ( it is out of official full support and is now in the MAINTENANCE only support ) UPGRADE to 5.11 in the old legacy support OS the current kernel in 5.11 2.6.18-406 should support it -- think of RHEL5.4 as Windows XP or ME the current operating system is RHEL 7.1 Quote:
i take it you are NOT aware that RedHat is almost the exact opposite of UBUNTU ubuntu is a Debian based OS and redhat is well a REDHAT based os use the REDHAT DOCUMENTATION you really can NOT use the UBUNTU docs for redhat ( think of it as using a TOYOTA truck repair manual for a FORD TRUCK !!! ) -- it will not work out well you did buy the REQUIRED support contract for the old LEGACY support OS ( for old legacy HARDWARE ) the std 1 year license for a desktop install is $ 299 per year If you do not buy the required support contract , basically you DO NOT install anything redhat really is not "FREE" |
@John, just curious why you like to use caps so much.
|
Quote:
However, he might have not pull too much about the choice of @op. The OP decided to use some OSes, and it's his choice. |
Hi...
I would agree that installing a newer version of Red Hat would most likely resolve this issue, if you are willing to pay (if you haven't already) for Red Hat's support package. ;) Regards... |
@ John VV: Thank you for your detailed reply. I am planning to install Oracle 11g R2 afterward installing a server version of linux based OS to work as database server. Which server side linux flavour would you recommend out of both paid and free ones.
Once again thanks for your earlier reply. |
Quote:
|
if you are installing a oracle DATABASE than you really DO NOT!!!!! want to use a operating system that is missing SIX YEARS OF SECURITY FIXES AND UPDATES !!!
rhel5.4 is missing 6 years of security updates and it is NOT FREE nor is the oracle database really free you really do need to buy oracles support contact redhat sales and BUY the current rhel or the BEST bet for running oracles database is to install ORACLES clone of redhat OracleLinux it is explicitly optimized to run oracles database and dose so better than redhat |
@ John VV . Thanks a million.
|
All times are GMT -5. The time now is 08:38 AM. |