LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install Kernal-Sources Packages..? (https://www.linuxquestions.org/questions/linux-newbie-8/install-kernal-sources-packages-138088/)

Mr.Moony 01-24-2004 06:19 AM

Install Kernal-Sources Packages..?
 
Hey guys, had a look around but cant find anything really relating to this (although im sure it has been asked)

I am install the Nvidia drivers on RH 9, running the latest "official" kernal 2.4.20-28.9 (that was d/l and installed with up2date).

When I come to install the drivers it says something like "no precompiled kernel interface for the kernel you are running" so it checks the FTP site with no luck and then compiles its own.

According the the Nvidia readme I know have to install the kernel-sources package for my kernel.

Being a complete noobie I have truely no idea how on earth to do that (doh).

Can anyone help me out please ?

:newbie:

witchy2k1 01-24-2004 08:10 AM

Hi Moony,

I have a similar problem, I'm trying to install my Radeon 9800Pro but it wants me to compile the driver into the kernel source, I checked but I have no source installed, now i need to know where to get it and what to do with it once I have it!, lol

This is very dufferent from Windows, but MUCH more fun :D
I feel I've achieved something even if it's just a simple task, lol

Demonbane 01-24-2004 08:37 AM

You can get it from any of their mirrors (its on CD2 as well but thats the original version)

http://mirror.aarnet.edu.au/pub/redh...-28.9.i386.rpm

witchy2k1 01-24-2004 09:09 AM

Quote:

Originally posted by Demonbane
You can get it from any of their mirrors (its on CD2 as well but thats the original version)

http://mirror.aarnet.edu.au/pub/redh...-28.9.i386.rpm

Thanks Demonbane.

I can't seem to get that link to work.

Edit:

Ooops, I've just realised that's a Redhat kernel.


Mr.Moony 01-24-2004 10:18 AM

Quote:

Originally posted by Demonbane
You can get it from any of their mirrors (its on CD2 as well but thats the original version)

http://mirror.aarnet.edu.au/pub/redh...-28.9.i386.rpm

Thanks Demobane, what do I do one I have them?

Demonbane 01-24-2004 10:50 AM

invoke
Code:

rpm -Uvh kernel-source-2.4.20-28.9.i386.rpm
to install it, then you should have a /usr/src/linux which contains the source files, and this is where the Nvidia driver looks for. If it still complains try doing a "make dep" in /usr/src/linux.

For Slackware you can get it from their mirrors as well, search for the kernel source package in http://www.slackware.com


All times are GMT -5. The time now is 09:13 AM.