LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-01-2007, 07:00 PM   #1
a2vr6
Member
 
Registered: Aug 2006
Posts: 46

Rep: Reputation: 15
Driver install in RHEL 5 failing


I have been having issues with RHEL5 installing on my new system (dual core athlon and an Asus m2a-vm). For some reason I can't seem to get the NIC installed (onboard Realtek gigbit nic). When I run the "make" command from the src driver folder i get the message:

/lib/modules/2.6.18-8.el5/build: no such file or directory

And then stops. The build exists in the module folder so I must be missing something really simple here. Please help a noob out. Thanks.

Oh yes this is the 64 bit version of RHEL5 I am using. looks like Build is linked file to /usr/src/kernel/2.6.18.e15-x86_64

Last edited by a2vr6; 11-01-2007 at 07:09 PM.
 
Old 11-01-2007, 09:15 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Do you have the matching kernel-devel and kernel-headers rpm packages to the working kernel(s) installed??

Check: rpm -qa 'kernel*'
 
Old 11-01-2007, 09:41 PM   #3
a2vr6
Member
 
Registered: Aug 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
Do you have the matching kernel-devel and kernel-headers rpm packages to the working kernel(s) installed??

Check: rpm -qa 'kernel*'
It outputs both kernel devel and headers packages.
 
Old 11-02-2007, 06:25 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
OK, Checking the ASUS site I see that you have an Realtek RTL8111B Ethernet interface. Follow the instructions here:

http://dag.wieers.com/rpm/FAQ.php#B

When done as root type: yum install dkms-r1000
 
Old 11-02-2007, 10:37 AM   #5
a2vr6
Member
 
Registered: Aug 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks for the help. I will give it a try this evening and let you know.
 
Old 11-21-2007, 02:36 PM   #6
a2vr6
Member
 
Registered: Aug 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
OK, Checking the ASUS site I see that you have an Realtek RTL8111B Ethernet interface. Follow the instructions here:

http://dag.wieers.com/rpm/FAQ.php#B

When done as root type: yum install dkms-r1000

I just got around to checking the site out today and could not find anything pertaining to the Realtek nic install. What should I be looking for?
 
Old 11-21-2007, 03:27 PM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
See:
http://dag.wieers.com/rpm/packages/dkms-r1000/
http://wiki.centos.org/HardwareList/RealTekRTL8111b
http://wiki.centos.org/HardwareList/.../RealTek/r1000

If you have a working Internet connection in RHEL5 then the yum install dkms-r1000 should work, if not then you will need the noarch.rpm file and the dkms noarch rpm package for el5(RHEL5) here;

http://dag.wieers.com/rpm/packages/dkms/

Install as root by typing (assuming both are in the location): rpm -Uvh dkms*.rpm
 
Old 11-21-2007, 03:50 PM   #8
a2vr6
Member
 
Registered: Aug 2006
Posts: 46

Original Poster
Rep: Reputation: 15
I downloaded the other driver but I still get the same message after running make clean modules. /lib/modules/2.6.18-8.el5/build: no such file or directory. It still does not see the build directory even though the is a linked file in that directory that points to ../../..//usr/src/kernel/2.6.18.e15-x86_64.
 
Old 11-22-2007, 07:10 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Explain what you mean by "downloaded the other driver"

Did you download and install both (direct links for downloading)??;
http://dag.wieers.com/rpm/packages/d....rf.noarch.rpm
http://dag.wieers.com/rpm/packages/d....rf.noarch.rpm

rpm -Uvh dkms*.rpm

By the way which Realtek Ethernet interface do you have?? Please post just the portion about this interface from the typed command; /sbin/lspci -v
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do You Install Nividia Driver on RHEL 5? jsmidt Red Hat 2 05-30-2007 05:50 PM
rhel 3 driver disk install cambie Linux - Enterprise 0 02-27-2006 07:45 PM
X changed resolution while trying (and failing) to install an nVidia driver paulBottomley Fedora 1 10-26-2005 05:36 PM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration