LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-21-2007, 03:32 AM   #1
blueskyhff
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Rep: Reputation: 0
How to install the RTL 8168/8111 driver?


I download the r1000_v1.05.tgz which is the RTL 8168/8111 driver. but when I follow the note to install the driver. some error happend.
the error as follows:
[root@localhost r1000_v1.05]# make clean modules
make -C src/ clean
make[1]: Entering directory `/usr/local/src/r1000_v1.05/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory `/usr/local/src/r1000_v1.05/src'
make -C src/ modules
ake[1]: Entering directory `/usr/local/src/r1000_v1.05/src'
make -C /lib/modules/2.6.18-1.2798.fc6xen/build SUBDIRS=/usr/local/src/r1000_v1.05/src modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-1.2798.fc6xen/build: no that file or directory。 stop。
make: Leaving an unknown directory
make[1]: *** [modules] error 2
make[1]: Leaving directory `/usr/local/src/r1000_v1.05/src'
make: *** [modules] error 2

I hope some one can help me!
thanks!

Last edited by blueskyhff; 05-21-2007 at 03:37 AM.
 
Old 05-21-2007, 05:37 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
That message is saying the file /lib/modules/2.6.18-1.2798.fc6xen/build is pointing to a non-existent directory (or the link itself does not exist, possibly).

The "build" file is supposed to point to the source code for the kernel. If you are getting a file not found error there, the most likely problem is that you don't have the kernel source installed, which you will need to compile external modules like this driver.

If you do have the proper source installed, then the link might be missing or bad. You can check by running:

Code:
ls -l /lib/modules/`uname -r`/build
For example, running that command on my machine returns the following:

Code:
tj@T-Bird:~$ ls -l /lib/modules/`uname -r`/build
lrwxrwxrwx 1 root root 21 2006-06-19 20:55 /lib/modules/2.6.16/build -> /usr/src/linux-2.6.16/
Which indicates that the file itself exists, and that it is properly pointing to the location of my kernel's source code.

Last edited by MS3FGX; 05-21-2007 at 05:39 AM.
 
Old 12-18-2007, 12:24 PM   #3
shan_nathan
Member
 
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Rep: Reputation: 15
Quote:
Originally Posted by MS3FGX View Post
That message is saying the file /lib/modules/2.6.18-1.2798.fc6xen/build is pointing to a non-existent directory (or the link itself does not exist, possibly).

The "build" file is supposed to point to the source code for the kernel. If you are getting a file not found error there, the most likely problem is that you don't have the kernel source installed, which you will need to compile external modules like this driver.

If you do have the proper source installed, then the link might be missing or bad. You can check by running:

Code:
ls -l /lib/modules/`uname -r`/build
For example, running that command on my machine returns the following:

Code:
tj@T-Bird:~$ ls -l /lib/modules/`uname -r`/build
lrwxrwxrwx 1 root root 21 2006-06-19 20:55 /lib/modules/2.6.16/build -> /usr/src/linux-2.6.16/
Which indicates that the file itself exists, and that it is properly pointing to the location of my kernel's source code.

Hi ,

I am also facing the same problem. when i trying to list the " /lib/modules/2.6.18-8.el5xen/build "
there is no link file in ../../../usr/src/kernel/2.6.18-8.el5xen-i686

Could you tell me what can i do to solve this problem
 
  


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
Realtek 8168 driver problem delinne Linux - Hardware 5 07-16-2008 04:51 AM
Realtek 8168(AS) driver? blueskyhff Linux - Networking 2 03-01-2007 06:42 AM
Realtek 8168/8111 hang on high load ari197 Linux - Laptop and Netbook 1 12-29-2006 03:42 AM
realtek 8168/8111 hangs on high load ari197 Linux - Hardware 3 12-07-2006 02:37 AM
Rtl 8168b/8111 benji84 Linux - Wireless Networking 1 11-21-2006 05:27 PM


All times are GMT -5. The time now is 04:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration