LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-19-2005, 02:29 PM   #1
ceg4048
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora
Posts: 23

Rep: Reputation: 1
nvidia *.run cannot find kernel source


Hello,
Could someone please help me load the nvidia drivers? I have searched the forum and I find similar topics but theer are always slight differences and I'm never quite sure if they apply to my case. This is really unbelievable, but here goes,

I just loaded fc4 on hda1 of a machine configured with an AMD 64 3800+X2 dual core. The cpu is fitted to a DFI LanParty SLI board but I am only using a single nvidia 6600GT card. The load was successfull except for video and sound. Both cards are recognized but there is no sound at all and the video is marginal so I downloaded the latest nvidia driver file NVIDIA-Linux-x86_64-1.0-7676-pkg2.run. In order to avoid having to perform these gymnastics a second time I used up2date to install the latest kernel which at this time is 2.6.12-1.1447_FC4smp.

I then rebooted into the terminal andfrom the /root directory issued the command "sh NVIDIA-Linux-x86_64-1.0-7676-pkg2.run" which ran the installer and which reports that it could not locate the proper files at their website and when attempting to build ,fails with a message stating that it could not locate the kernel source.

I'm now very confused because one thread advised that what I really needed was the kernel-devel not the kernel-source so I installed kernel-devel but the same failure occurrs. I then went to one of the mirros and downloaded the .src.rpm but the rpm -ivh command returns a "permission denied".

If I navigate to the /usr/src/kernels directory I can see that there is a 2.6.12-1.1447_FC4-x86_64 directory containing other files and subdirectories but I have no idea what to look for in order to confirm the existence.

I've also read other theads that discuss "source trees" and "headers" and so forth but I'm entirely clueless. I shouldn't need to be a rocket scientist to install a video driver, should I?

Could someone help me troubleshoot? Any advice on how to proceed further would be welcomed.

Cheers,
 
Old 09-19-2005, 02:40 PM   #2
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
You definitely don't need the kernel source, but you really do need the kernel-devel package. That's what's installed on my AMD64/FC4 box, and I build the nvidia drivers without a problem after every kernel upgrade.

Verify that kernel-devel is installed by "rpm -qa | grep kernel-devel"

If it's not, download it and install it. If you use yum, then "yum install kernel-devel" will do the trick.

Otherwise, grab
http://download.fedora.redhat.com/pu...FC4.x86_64.rpm and install it using the command "rpm -Uvh kernel-devel-2.6.12-1.1447_FC4.x86_64.rpm"

I'm not at home right now, but I can check my config when I get home tonight and see if something I find might help you.

Jay

Last edited by jcliburn; 09-19-2005 at 02:57 PM.
 
Old 09-19-2005, 03:04 PM   #3
ceg4048
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora
Posts: 23

Original Poster
Rep: Reputation: 1
Hi Jay,
Thanks for the speedy response. I did as you suggested and the response was as follows:

[root@localhost ~]# rpm -qa | grep kernel-devel
kernel-devel-2.6.12-1.1447_FC4
[root@localhost ~]#

I assume therefore that this means the package is installed right? Just to reconfirm I logged out via telinit 3 and tried to install again but with the same response from the nvidia installer.

Do I have missing simlinks or are the files not in the right place?

Cheers,

Clive
 
Old 09-19-2005, 07:08 PM   #4
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
Take a look through /var/log/nvidia-installer.log and see if you can find the log entry that corresponds with the build failure. Post the last 20 or so lines of the log here (assuming the last 20 lines contain the error message).
 
Old 09-19-2005, 08:18 PM   #5
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
Doh!!! I think I know what your problem is... Your first post says you're using an smp kernel. If so, you need to install the kernel-smp-devel package.

yum install kernel-smp-devel

See if that fixes you up.

Jay
 
Old 09-20-2005, 02:39 AM   #6
ceg4048
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora
Posts: 23

Original Poster
Rep: Reputation: 1
Thumbs up

Hi Jay,
Yes, you are absolutely correct! I was missing the kernel-devel-smp version. The installer ran perfectly and the drivers installed. I'll have to always remember for this sytem to look for 64 bit as well as smp versions of software.

A huge thank you!

Cheers,

Clive
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Where can I find kernel-2.4.20-6 source s74b Linux - Newbie 3 11-20-2004 03:51 AM
RPMDRAKE cannot find kernel-source ryedunn Mandriva 1 09-30-2004 10:36 AM
Where can I find kernel-source-2.6.6? Hell-Shooter Linux - General 5 06-05-2004 02:03 PM
Nvidia Driver can't find kernel source Forezt Fedora 9 04-20-2004 07:35 PM


All times are GMT -5. The time now is 08:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration