LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel-Source, NVIDIA- Drivers (https://www.linuxquestions.org/questions/linux-software-2/kernel-source-nvidia-drivers-164782/)

Sherpa 03-31-2004 09:55 PM

Kernel-Source, NVIDIA- Drivers
 
i just reloaded RH9, and i have used Up2date and have updated the entire system, now i was going to install the NVIDIA driver for my video card. The problem is that it says that it needs the "Kernel-Source.rpm..." or something like that. I will post the full message in a min, i have to install it with X shutdown.... anyone had this problem, and where can i get the "kernel-source.rpm" file for my kernel?

Sherpa 03-31-2004 10:14 PM

ok here is the error message:

"No precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site (ftp://download.nvidia.com)?
_______ ________
| yes | | no |
------------ --------------
>i clicked yes

"No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel.
_________
| OK |
----------------
>i clicked ok

" ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel source file are installed you may specify the kernel source path with the '--kernel-source-path' commandline option.

___________
| OK |
-------------------

>now i guess i need the 'kernel-source' rpm for my kernel, does anyone know where to download it?

gnu noob 03-31-2004 10:19 PM

It should be on the install disk.

Sherpa 03-31-2004 10:25 PM

i am not installing the driver from a disk, i downloaded the driver from the internet, my card did not come with a disk that had linux drivers on it

gnu noob 03-31-2004 10:39 PM

the kernel source package should be on your RH9 install disk. sorry, should have been clearer

Sherpa 03-31-2004 10:43 PM

even though i have updated the kernel since i have installed it using the Up2date system? should i still use the old 'kernel-source' prog off the disk?

frandalla 03-31-2004 10:49 PM

if you updated your kernel, then you should use some package downloading tool from redhat and install the kernel source package for your actual kernel...

Sherpa 03-31-2004 10:51 PM

ok, if that is what i am supposed to do, i have no idea how to do it, i am a major n00b, i just started using linux 5days ago.... :-(

Sherpa 03-31-2004 10:51 PM

i feel so ignorant

frandalla 03-31-2004 11:00 PM

tell me, which kernel are you using? (console type: uname -r)

Sherpa 03-31-2004 11:02 PM

ok hold on, i am in XP right now leme reboot and ill post it...

Sherpa 03-31-2004 11:08 PM

2.4.20-30.9
that is the version...... after i typed the command in.....

frandalla 04-01-2004 03:45 AM

I'm sorry! I fell asleep last night... :)
I think you didn't upgrade your kernel after all, I'll check it out as I get to my lab at the university and I may tell you something more from there, ok? :D

Sherpa 04-01-2004 10:07 AM

ok thanks.....

frandalla 04-01-2004 01:01 PM

http://updates.redhat.com/9/en/os/i3...-30.9.i386.rpm

this is a direct link to the kernel source package from your kernel.....

https://rhn.redhat.com/errata/RHSA-2004-065.html

this is the page where I got it from.

hope it helps... :)

Sherpa 04-01-2004 01:27 PM

Thank you very much. I hope it does. I will try it when i get home. again thankyou

Sherpa 04-01-2004 10:45 PM

OK I GOT IT!!!!!!!!!!!!!!!!!!!!!!!!! Thank you so much!!!!!!!!!!!!!!!!!!

frandalla 04-04-2004 08:39 PM

:)
happy that you make it!
:D

[42]Sanf0rd 04-11-2004 02:27 AM

I'm having this same problem.

frandalla, I got what you linked, but I'm pretty much clueless as far as what to do with it from there. I"m still getting the same error that Sherpa was getting, but now I don't know what to do with what you gave me.

[42]Sanf0rd 04-13-2004 01:02 AM

If anyone stumbles across this thread...

I ended up solving the problem.

If anyone stumbles across this thread AND IS HAVING THE SAME PROBLEM.....

RedHat was installing the source info in
/usr/src/linux.2.4.20-8

instead of what the driver was looking for:
/usr/src/linux

so i just took all the info from the one RedHat wanted to make, made the correct folder and copied all the files over into it.

got out of X, ran the install, and "poof" everything worked like butter.

frandalla 11-09-2004 01:58 PM

no need to copy stuff over. Just create a link like:
ln -s linux-2.4.20-30.9 linux


All times are GMT -5. The time now is 01:38 AM.