LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags ,

Closed Thread
 
Thread Tools
Old 09-10-2008, 11:43 AM   #1
tanniru
LQ Newbie
 
Registered: Mar 2006
Posts: 13
Thanked: 0
where can I find e1000 driver souce code redhat 2.6.15-1.2054_FC5 server ?


[Log in to get rid of this advertisement]
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.
tanniru is offline    
Old 09-10-2008, 01:17 PM   #2
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,905
Thanked: 267
/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
knudfl is online now  
Tag This Post ,
Old 09-10-2008, 02:13 PM   #3
tanniru
LQ Newbie
 
Registered: Mar 2006
Posts: 13
Thanked: 0

Original Poster
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
tanniru is offline    
Old 09-10-2008, 04:29 PM   #4
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,905
Thanked: 267
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 04:31 PM..
knudfl is online now    
Old 09-12-2008, 08:18 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,036
Thanked: 0
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/
david_ross is offline    

Closed Thread

Bookmarks


Thread Tools

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 02:44 PM
Any document to understand e1000 network device driver source code ahm_irf Linux - Networking 1 02-14-2007 02:37 AM
Iwlist souce code David_Moses Linux - Software 2 04-07-2005 04:23 PM
Help - rm souce code kilaabe Linux - General 1 11-14-2003 09:22 PM
Compile problem with souce code neilcpp Linux - Software 3 10-18-2003 02:53 PM


All times are GMT -5. The time now is 04:53 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration