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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-06-2004, 02:55 PM
|
#1
|
LQ Newbie
Registered: Apr 2004
Location: CT
Distribution: Fedora Core 1
Posts: 28
Rep:
|
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!
|
|
|
04-06-2004, 02:57 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
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.
|
|
|
04-06-2004, 03:04 PM
|
#3
|
LQ Newbie
Registered: Apr 2004
Location: CT
Distribution: Fedora Core 1
Posts: 28
Original Poster
Rep:
|
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?
|
|
|
04-06-2004, 04:16 PM
|
#4
|
Member
Registered: Jan 2004
Location: Utah USA
Distribution: SuSE Pro 9.0
Posts: 43
Rep:
|
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
|
|
|
04-06-2004, 04:31 PM
|
#5
|
LQ Newbie
Registered: Apr 2004
Location: CT
Distribution: Fedora Core 1
Posts: 28
Original Poster
Rep:
|
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!
|
|
|
04-06-2004, 04:49 PM
|
#6
|
Member
Registered: Jan 2004
Location: Utah USA
Distribution: SuSE Pro 9.0
Posts: 43
Rep:
|
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:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|