LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-24-2005, 01:53 AM   #1
khh80
LQ Newbie
 
Registered: May 2005
Posts: 22

Rep: Reputation: 15
problem with nvidia card driver


hi all
i use fedora core 3 and have nvidia card(Gforce 4 mmx 400) ...i dowloaded the kernel source file: kernel-2.6.9-1.667.src.rpm and intalled it then dowloaded :NVIDIA-Linux-x86-1.0-7174-pkg1.run ... but when i execute it i have the following messeges
{
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
ERROR: Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline 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 nvidia site
}
how can i solve this problem what is the kernel interface and how can i install it
 
Old 05-24-2005, 02:58 AM   #2
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
I use the nvidia drivers myself, so, this is what I remember from reading the documentation.

As far as I know.... The nvidia driver is proprietary software, so nvidia only releases a binary. This normally wouldn't work, since drivers must be compiled to fit your kernel, but they added a layer (the kernel interface) which is compiled to fit your kernel, and ALREADY fits their driver binary. So it's an interface layer between the proprietary binary and the kernel, that way nvidia doesn't have to release their driver source.

Since it couldn't find a precompiled kernel interface, it tried to compile one for you (which is good), but you don't have the kernel sources installed (which is bad). In order to compile a driver, you will need the kernel source installed.

So... find the appropriate package for your distro and install the kernel sources.
 
Old 05-24-2005, 03:02 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
To solve your problem, install the "kernel-devel" package.
 
Old 05-24-2005, 03:22 AM   #4
khh80
LQ Newbie
 
Registered: May 2005
Posts: 22

Original Poster
Rep: Reputation: 15
in fedora 3 i installed the kernel source file: kernel-2.6.9-1.667.src.rpm
but how can i know if it's good or bad
and what does the kernel-devel do, is it same with kernel-interface... what's the link to download kernel interface
 
Old 05-24-2005, 08:29 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Installing the srpm of the kernel won't help with the nvidia driver issue. Install the kernel-devel package because it has the required packages to compile and build the nvidia driver. I am sure that there is an upgrade to he kernel as well, you may want to upgrade yours first before installing the nvidia drivers.

Last edited by reddazz; 06-19-2005 at 01:57 AM.
 
Old 05-24-2005, 12:04 PM   #6
khh80
LQ Newbie
 
Registered: May 2005
Posts: 22

Original Poster
Rep: Reputation: 15
ok ... i found this file: kannel-devel-1.4.0-3.1.fc3.fr.i386.rpm ...and will install it
but the version "1.4.0-3.1" is not the same of my kernel "2.6.9-1.667"
is this kernel-devel correct
how can i know if i installed kernel-source correctly
 
Old 05-24-2005, 12:18 PM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You are doing it wrong. Use yum to manage your packages. As root, uninstall the kernel devel package you installed then do in a console
Code:
#yum upgrade
When thats done, do
Code:
#yum install kernel-devel
 
Old 06-18-2005, 01:59 PM   #8
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Rep: Reputation: 30
Quote:
Originally posted by reddazz
You are doing it wrong. Use yum to manage your packages. As root, uninstall the kernel devel package you installed then do in a console
Code:
#yum upgrade
When thats done, do
Code:
#yum install kernel-devel

I was having the same problem. I did a quick search and I couldn't really find anything that helped. I tried doing everything that I have done with other distros including some of what was mentioned in the above posts. Thank You reddaze. Your instructions worked perfectly and quickly.


Webwolf
 
Old 06-19-2005, 01:58 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by webwolf70
I was having the same problem. I did a quick search and I couldn't really find anything that helped. I tried doing everything that I have done with other distros including some of what was mentioned in the above posts. Thank You reddaze. Your instructions worked perfectly and quickly.


Webwolf
You are welcome.
 
Old 07-05-2006, 01:47 PM   #10
adrian_vg@yahoo.com
LQ Newbie
 
Registered: Jul 2006
Location: Uppsala, Sweden
Distribution: CentOS, Fedora, RHEL, Windows
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by reddazz
You are doing it wrong. Use yum to manage your packages. As root, uninstall the kernel devel package you installed then do in a console
Code:
#yum upgrade
When thats done, do
Code:
#yum install kernel-devel
Thx reddazz, your hint helped!
 
  


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
Nvidia card driver problem... M O L8ingN2dust Linux - Hardware 7 12-04-2005 02:33 AM
NVIDIA graphic card driver trouble crazyalex Linux - Hardware 6 05-31-2005 05:56 PM
nvidia Driver probs after upgrading card JShadow Linux - Newbie 3 01-22-2005 05:27 AM
driver for nvidia video card -installation-32 bits vic_cw Linux - Software 26 01-28-2004 12:06 PM
X configuration for xinerama using NVIDIA acceleted driver and an ati card JHuizingh Linux - General 2 07-17-2002 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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