LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Cannot install e1000 module because of missing kernel source? (https://www.linuxquestions.org/questions/red-hat-31/cannot-install-e1000-module-because-of-missing-kernel-source-112038/)

schlagzeug 11-03-2003 07:04 PM

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!

B McHack 11-03-2003 07:23 PM

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.

schlagzeug 11-03-2003 07:44 PM

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.

schlagzeug 11-07-2003 04:20 PM

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.

sbcdivision63 11-07-2003 05:15 PM

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

schlagzeug 11-07-2003 05:50 PM

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


All times are GMT -5. The time now is 11:06 PM.