LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-01-2005, 02:56 AM   #1
IcoNyx
Member
 
Registered: Mar 2003
Location: Nevada
Distribution: Anything but Ubuntu... don't ask.
Posts: 145

Rep: Reputation: 15
Nvidia FC4 and kernel source


I have been scowering the forums trying to find a fix for this one, I am running an Nvidia geforce 6800 w/ dual displays, problem is when I installed FC4 I cant install the drivers for the bugger... the drivers start fine but when building a kernel plugin it complains that there is no kernel source.

I came here and followed several threads for installing the source but the only thing I get is this after it trys to build a kernel module:

ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.


so what do I have to do?

as far as I can tell the kernel source is there it is in: /usr/src/linux/kernel/... I think...

anyway any help would be nice.
 
Old 07-01-2005, 05:58 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to install the kernel-devel package using yum e.g.
Code:
#yum install kernel-devel
If you are using selinux, then make sure you do "setenforce 0" in a terminal as root before installing the nvidia driver.
 
Old 07-01-2005, 08:47 AM   #3
IcoNyx
Member
 
Registered: Mar 2003
Location: Nevada
Distribution: Anything but Ubuntu... don't ask.
Posts: 145

Original Poster
Rep: Reputation: 15
I have already done that... now I have done so many thing is it possible that I have hosed it all and need to start over?

my biggest problem is I am not sure if the kernel source packages are installed correctly... is there any way to check?

BTW I followed the instructions on the fedora docs page to install the source package:

http://fedoraproject.org/wiki/Fedora...b6ef1f5a39486b

so yes: I read the manual. but it still vomits on itself.

Last edited by IcoNyx; 07-01-2005 at 01:51 PM.
 
Old 07-05-2005, 03:57 PM   #4
IcoNyx
Member
 
Registered: Mar 2003
Location: Nevada
Distribution: Anything but Ubuntu... don't ask.
Posts: 145

Original Poster
Rep: Reputation: 15
ok, I fixed it. the problem had to do with my kernel and the kernel headers... as best as I can guess the Nvidia installer found the kernel headers and was going to try to use them but could not confirm they were the same version as the installed kernel. so I followed this install guide:
http://stanton-finley.net/fedora_cor...ion_notes.html

it lead me through a complete reinstall of fedora and then I went down to the section on nvidia. it worked like a champ... BTW the kernel-devel package did me no good because it installed the same kernel headers that the nvidia installer could not check against the running kernel. useing the developer package installed from the cd (or useing the install ALL option durring the initial install) fixes this,

Now I have not yet updated my kernel (and I may not for fear it will just recreate the problem) but I bet that if I do the problem will return. the reason: I was installing the kernel developement package and kernel source from the FTP site, these may have a problem with them that makes nvidia think they are not a match for the installed kernel. that would explain why it could see the source but couldnt do anything with it.

I think the reason fiew people have this issue is because most people install everything anyway, and therefor have no reason to try to pull the kernel-source/headers from the ftp site, and thus dont know there is a problem with the kernel-source package/kernel headers from the FTP site to begin with.

I hope this helps someone.

P.S. is there somewhere I can post this as a posible bug for the redhat team to look at?
 
  


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
Kernel 2.6.13.1 woes on FC4 w/ nvidia MooMooMilk Linux - General 6 10-05-2005 07:59 AM
Nvidia and kernel source uday Slackware 24 08-12-2005 03:04 AM
Installing Kernel Source in FC4 azuiden Fedora 2 06-21-2005 01:09 PM
NVIDIA and kernel source frangos Mandriva 4 11-09-2003 06:23 PM
nVidia Help. kernel-source? GT_Onizuka Linux - Newbie 5 09-17-2003 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:58 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