LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2004, 02:14 PM   #1
permanooB
LQ Newbie
 
Registered: Oct 2004
Location: Small Town, America (pop. 368)
Distribution: RedHat 9
Posts: 3

Rep: Reputation: 0
Kernel Source Installation


I think this is more a 'Newbie' question than 'Distro'.

Goal: Install drivers for my Dual Port Intel® 82546EB Gigabit Ethernet controllers.

Object: Install kernel source code.
Why: Upon driver 'make install' I receive:
"Makefile:65 *** Linux kernel source not found. Stop."

Question:
How does one go about installing the kernel source code? I'm using RedHat 9 w/ 2.4.20-8smp kernel. If I haven't misread, there should be an rpm on the srpms discs but I can only find it for "kernel-2.4.18-3.src.rpm". I've also looked on kernel.org and found "linux-2.4.20.tar.gz". I know there is a way to build an rpm if I were to use the tarball. In the not too distant future I'd like to get around rpms and learn how to do things on my own. But for the moment, my priority is getting my server up and going so I'm wanting to keep things simpler. Any pointers here would be most appreciated!

Specifics:
1) after the 2.3.xx, what does the "-x" mean? I know "smp" is 'dual processor' but if anyone knows what the acronym stands for that would help too.
2) is there another place I might find the 2.4.20-8smp source rpm?
3) if the 2.4.20 tarball has the src I need, at what location should I have it reside so that it can be found when attempting the 'make file'? I imagine '/usr/local/src' will be part of the directory. Furthermore, is there anything I should do concerning the default paths that linux will look in for similar system information?

Notes:
I'm using the 2.4.20 kernel because for whatever reason, that is the kernel recommended by the README of the latest version of my ethernet controller driver. If there are any recommendations on how to upgrade to a new kernel safely concerning that driver, it'd be a help, but for the time being I want to just get things setup before I dig in and learn anything more complex.

-------

I'm about to unpack the 2.4.20 tarball, but I don't think I know enough for that to make a significant difference so, in essence, I'm posting this before I've explored everything available. I know that that's generally a no,no in asking for help, but I think part of good questioning comes from knowing one's limitations.

Any help would be greatly appreciated!
*cheers

- permanooB
(because there will always be something I'm a noob at).

Last edited by permanooB; 10-24-2004 at 02:22 PM.
 
Old 10-24-2004, 04:21 PM   #2
permanooB
LQ Newbie
 
Registered: Oct 2004
Location: Small Town, America (pop. 368)
Distribution: RedHat 9
Posts: 3

Original Poster
Rep: Reputation: 0
*public note to self.

When install discs say 'shrike' and srpms discs say 'valhalla' there's something wrong.

PS. Brevity is your friend.
 
  


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
kernel-source installation lunar-blue Linux - Software 3 08-03-2005 07:39 PM
Where Can I Find Kernel Source after Installation s74b Linux - Software 4 11-19-2004 03:59 AM
Kernel source installation. shankariyer Red Hat 4 12-01-2003 11:40 AM
kernel-source installation zebra5 Linux - Software 2 10-31-2003 07:46 PM
Kernel 2.4.20-20.9 Source Installation ja_nch Red Hat 3 09-03-2003 01:57 PM


All times are GMT -5. The time now is 09:15 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration