LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-03-2003, 07:04 PM   #1
schlagzeug
LQ Newbie
 
Registered: Nov 2003
Location: santa cruz, california
Distribution: redhat
Posts: 4

Rep: Reputation: 0
Cannot install e1000 module because of missing kernel source?


Hi, I'm a new RedHat linux user. Just installed the downloadable version 9, text only. My new system is running on an intel D875PBZ board.

In the system that I put together, I'm trying to get my nic working, and it's an onboard intel e1000, which has linux drivers. I followed the instructions that the e1000 came with, but when I try to do a "make install", the following error occurs:

Makefile:81: *** Linux kernel source not found. Stop.

So, based on some other threads I've seen in this forum, and the troubleshooting stuff that came with the Intel drives, it seems like it can't find the kernel src. The kernel source is supposed to be located in /usr/src/, but I don't have anything in that directory other than 'debug'.

So then, I read about how to install using the rpm. I mount the 1st Linux CD, go to /mnt/cdrom/RedHat/RPMS and type 'rpm -i kernel-2.4.20-8.i686.rpm' then get this message:

warning: kernel-2.4.20-8.i686.rpm: V3 DSA signature: NOKEY, key ID db42a60e
package kernel-2.4.20-8 is already installed

So my question is, if it is already installed, then why am I not seeing anything in /usr/src/ ? Am I totally off the map in trying to install the rpm?

Side info: I know that my mother board will work with these drivers, cause of another thread.

I would really appreciate some help, I've spent tons of time crawling the forums and have gotten this far, but I'm stuck at this point. The only posts I've seen so far have said to just install the rpm, but my machine is saying that it's already installed! arg! heh... thanks for the help if you can!
 
Old 11-03-2003, 07:23 PM   #2
B McHack
Member
 
Registered: Jun 2003
Location: Totally Lost
Distribution: Mandrake 9.2, SuSE 9, and for my wife Windoze XP
Posts: 55

Rep: Reputation: 15
Ok I dont know why Im replying because I really dont know, But I think the kernel source is like a tool to rebiuld the kernel I thing what you ask rpm for was the actual kernel or core of the operating system. Im coming from Mandrake and the way you get that package from that OS is "urpmi kernel-source" so may be with redhat its "rpm -i kernel-source"
But just a guess.
 
Old 11-03-2003, 07:44 PM   #3
schlagzeug
LQ Newbie
 
Registered: Nov 2003
Location: santa cruz, california
Distribution: redhat
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by B McHack
Ok I dont know why Im replying because I really dont know, But I think the kernel source is like a tool to rebiuld the kernel I thing what you ask rpm for was the actual kernel or core of the operating system. Im coming from Mandrake and the way you get that package from that OS is "urpmi kernel-source" so may be with redhat its "rpm -i kernel-source"
But just a guess.
Doing an rmp -i is installing from a rpm package, and yes what I'm trying to do is install from a kernal rpm source file. But I'm pretty sure urpmi doesn't work in redhat, thanks anyway though.
 
Old 11-07-2003, 04:20 PM   #4
schlagzeug
LQ Newbie
 
Registered: Nov 2003
Location: santa cruz, california
Distribution: redhat
Posts: 4

Original Poster
Rep: Reputation: 0
answered my own question

I recommend:

1. Buy a good Linux book ON YOUR DISTRIBUTION.

2. Read said book COMPLETELY before posting questions on forums, searching the internet for answers, or tearing your hair out in frustration.

This should circumvent many problems for any noob.
 
Old 11-07-2003, 05:15 PM   #5
sbcdivision63
Member
 
Registered: Oct 2003
Posts: 61

Rep: Reputation: 15
first off why would you go out and buy a book when you can come on to here and search the internet for free. second, what you were trying to do schlag is install the kernel, which indeed is already installed. you need to download the kernel SOURCE, which is different. if you have an ftp client you should be able to find it at ftp.redhat.com ill try and find the exact directory its in. after that you should be ok
 
Old 11-07-2003, 05:50 PM   #6
schlagzeug
LQ Newbie
 
Registered: Nov 2003
Location: santa cruz, california
Distribution: redhat
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by sbcdivision63
first off why would you go out and buy a book when you can come on to here and search the internet for free. second, what you were trying to do schlag is install the kernel, which indeed is already installed. you need to download the kernel SOURCE, which is different. if you have an ftp client you should be able to find it at ftp.redhat.com ill try and find the exact directory its in. after that you should be ok


sbcdivision63 -

1. While it is true that this forum is very very helpful & an excellent resource, I think that taking advantage of a book will help anyone's knowledge (and by 'anyone', I'm referring to any noobs like me. heh). Installing the kernel source and all of that is stuff that I figured out using the book 'Red Hat Linux 9 - Unleashed' by Bill Ball and Hoyt Duff. Why waste people's time online when someone has already taken the time to write everything down for you?

2. You're right about the kernel source. Once I installed it, I was able to install and use my nic with no problems. What I don't understand is why the OS install program doesn't plop a copy of the sourcecode into /usr/src automatically! I guess I just assumed that it was there from the beginning.

Thanks for the response! =D
 
  


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
multiple NICs using e1000 module.. eth[x] order geno976 Slackware 4 04-26-2008 11:36 PM
mepis 3.3 with 2.6.10 kernel e1000 nic module autoload bredfern Linux - Hardware 0 06-02-2005 04:49 PM
e1000 module issue on kernel 2.6.10 blizzardtweaker Slackware 23 01-05-2005 06:39 AM
Kernel RPM missing module podge_mcgee Red Hat 2 05-08-2004 05:16 AM
Kernel issue for suse9 when tring to install module for e1000 feetyouwell Linux - Software 6 01-15-2004 03:35 PM


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