LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2004, 02:55 PM   #1
kkj
LQ Newbie
 
Registered: Apr 2004
Location: CT
Distribution: Fedora Core 1
Posts: 28

Rep: Reputation: 15
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!
 
Old 04-06-2004, 02:57 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
 
Old 04-06-2004, 03:04 PM   #3
kkj
LQ Newbie
 
Registered: Apr 2004
Location: CT
Distribution: Fedora Core 1
Posts: 28

Original Poster
Rep: Reputation: 15
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?
 
Old 04-06-2004, 04:16 PM   #4
gregaryh
Member
 
Registered: Jan 2004
Location: Utah USA
Distribution: SuSE Pro 9.0
Posts: 43

Rep: Reputation: 15
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
 
Old 04-06-2004, 04:31 PM   #5
kkj
LQ Newbie
 
Registered: Apr 2004
Location: CT
Distribution: Fedora Core 1
Posts: 28

Original Poster
Rep: Reputation: 15
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!
 
Old 04-06-2004, 04:49 PM   #6
gregaryh
Member
 
Registered: Jan 2004
Location: Utah USA
Distribution: SuSE Pro 9.0
Posts: 43

Rep: Reputation: 15
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
 
  


Reply



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
Nvidia driver corruting kernal vonzeppelin Linux - Laptop and Netbook 2 12-06-2004 05:20 AM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-10-2004 11:58 PM
Guide Kernal Config/Driver install for NF7-S Rev 2.0 in Slackware 9.1 jimdaworm Slackware 0 02-09-2004 11:40 AM
Will updating kernal source screw up my nvidia install? EnVoy Mandriva 3 12-23-2003 05:06 PM
Error installing NVIDIA kernal driver Pablo32 Linux - Software 4 02-27-2003 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration