LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to install NVIDIA driver, but it says I need kernal still!!!! (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-nvidia-driver-but-it-says-i-need-kernal-still-166966/)

kkj 04-06-2004 02:55 PM

Trying to install NVIDIA driver, but it says I need kernal still!!!!
 
Ok guys,
I've been spending so much time on this crap, and I'm really mad.
I installed the kernal complier RPM from the discs that came with Fedora. Now I just ran the command make all and I did like this whole config.
So I went to install the driver, and it says it doesn't detect I have a kernal! What do I do, I thought I just installed it, I really need help!

XavierP 04-06-2004 02:57 PM

It needs the kernel sources - get them from your install cd, or if you have upgraded the kernel, get them from wherever you got the new kernel from. Make sure the kernel source is the same version number as your current kernel.

kkj 04-06-2004 03:04 PM

Ok well I see I do have the source code doc.
It's in my /usr/src directory. But the NVIDIA driver.run is in my /home/sergi directory.
Could this be the reason it isn't recognizing it?

gregaryh 04-06-2004 04:16 PM

do an rpm -q kernel-source
if you don't get anything donwnload and install it (try rpmfind.net)
make sure to get one that matches your current kernel version.
run uname -a to find out

kkj 04-06-2004 04:31 PM

Hey,
I put that in and this is what I got, I just installed the kernal source yesterday.

kernel-source-2.4.22-1.2115.nptl

In the installation, it says if I know where the source file is, then I cant tell it where it is.
But I dont see why it doesn't see it.

--kernal-source-path //is that what I do? I'm really confused right now, I totally need

someone's help!

gregaryh 04-06-2004 04:49 PM

typing sh NVIDIA-Linux-x86-1.0-5336-pkg1.run -A prints the following:

--kernel-source-path=[KERNEL SOURCE PATH]
The directory containing the kernel source files that should be
used when compiling the NVIDIA kernel module. When not
specified, the installer will use '/lib/modules/`uname
-r`/build', if that directory exists. Otherwise, it will use
'/usr/src/linux'.

Look in those locations for any valid directories. If they are not there query the kernel-source package for the list of files it installes:

rpm -qpl /path/to/kernel-source.rpm

This lists the files and locations that the rpm installs them in.
Use this path in the --kernel-source-path option


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