LinuxQuestions.org
Help answer threads with 0 replies.
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


Closed Thread
  Search this Thread
Old 09-10-2008, 10:43 AM   #1
tanniru
LQ Newbie
 
Registered: Mar 2006
Posts: 24

Rep: Reputation: 0
where can I find e1000 driver souce code redhat 2.6.15-1.2054_FC5 server ?


Hi All,

Where can I find e1000 driver source code on i386 server having redhat 2.6.15-1.2054_FC5 server.

I have checked the /usr/src/redhat/SOURCES it doesn't contain any files ?

Thanks.
 
Old 09-10-2008, 12:17 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
/usr/src/redhat/SOURCES is for unpacked (installed)
".src.rpm" packages. The kernel source will be in
/usr/src/kernels/linux-2.6.15... , so please install
package 'kernel-devel' (or kernel-source)
e.g. 'kernel-devel-2.6.15-1.2054_FC5.i686.rpm'
http://rpm.pbone.net/index.php3/stat....i686.rpm.html
and find
linux-2.6.15.../drivers/net/e1000/

Regards
 
Old 09-10-2008, 01:13 PM   #3
tanniru
LQ Newbie
 
Registered: Mar 2006
Posts: 24

Original Poster
Rep: Reputation: 0
Thank you for your reply.

I want to do some modifications to the e1000 driver code and want to recompile it and wants to load the modified driver to the running kernel. could you please tell me what are the steps I need to follow to do this ?




Quote:
Originally Posted by knudfl View Post
/usr/src/redhat/SOURCES is for unpacked (installed)
".src.rpm" packages. The kernel source will be in
/usr/src/kernels/linux-2.6.15... , so please install
package 'kernel-devel' (or kernel-source)
e.g. 'kernel-devel-2.6.15-1.2054_FC5.i686.rpm'
http://rpm.pbone.net/index.php3/stat....i686.rpm.html
and find
linux-2.6.15.../drivers/net/e1000/

Regards
 
Old 09-10-2008, 03:29 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
To compile a module : Copy the programs.c and the
header(s).h from linux-2.6.xx.../drivers/net/e1000/
to an empty directory in your /home/tanniru/
and use a "4 line" Makefile : = = > examples
http://www.linuxquestions.org/questi...5/#post3237765
( see #4 )

and http://www.captain.at/programming/kernel-2.6/

Regards

Last edited by knudfl; 09-10-2008 at 03:31 PM.
 
Old 09-12-2008, 07:18 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Please continue here:
http://www.linuxquestions.org/questi...server-668946/
 
  


Closed Thread

Tags
fc5, fedora 5


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
where can I find e1000 driver souce code redhat 2.6.15-1.2054_FC5 server ? tanniru Linux - Newbie 3 09-10-2008 01:44 PM
Any document to understand e1000 network device driver source code ahm_irf Linux - Networking 1 02-14-2007 01:37 AM
Iwlist souce code David_Moses Linux - Software 2 04-07-2005 03:23 PM
Help - rm souce code kilaabe Linux - General 1 11-14-2003 08:22 PM
Compile problem with souce code neilcpp Linux - Software 3 10-18-2003 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:21 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