LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-28-2004, 07:30 PM   #1
Zoko
Member
 
Registered: May 2004
Location: Morgantown, West Virginia
Distribution: Gentoo 2007.0, Straw Hat Linux
Posts: 31

Rep: Reputation: 15
header files and nvidia drivers


I am trying to get Never Winter Nights to work along with UT 2004 and I have figured out that my problem is the drivers I am using.

I've got a nvidia fx 5800 and I am trying to upgrade my kernel headers. Originally my Slack 9.1 install came with the 2.4.22 kernel but now I am using the 2.6.5 and I am getting errors in the installer for the nvidia drivers that it cant find the right headers even when I point it to /usr/src/linux with --kernel-source-path=

So i guess my question is how can I update my kernel headers and get this to work?
 
Old 05-28-2004, 08:17 PM   #2
_john_i_
Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Linux from Scratch
Posts: 52

Rep: Reputation: 15
You should never replace the kernel headers on a live system, even after upgrading to the newer kernel. Your system should have the kernel headers that your glibc was compiled against.

If you compiled your own 2.6 kernel, then the nivida drivers should use the kernel headers within the source tree where the kernel was installed. If you installed the 2.6 kernel from a binary package somewhere, you will probably have to unpack the kernel source for the version of your kernel.

What compile error are you getting from nvidia drivers? I've installed the latest nvidia drivers on a Slackware 9.1 system upgraded to 2.6.x without incident.
 
Old 05-28-2004, 08:35 PM   #3
Zoko
Member
 
Registered: May 2004
Location: Morgantown, West Virginia
Distribution: Gentoo 2007.0, Straw Hat Linux
Posts: 31

Original Poster
Rep: Reputation: 15
Here is the /var/log/nvidia-installer.log

---------------------------------------------------------------------

Using: nvidia-installer ncurses user interface
-> License accepted.
-> 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 (ftp://download.nvidia.com)? (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.
-> Kernel source path: '/usr/src/linux'
-> Performing cc_version_check with CC="cc".
ERROR: Unable to determine the NVIDIA kernel module filename.
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.
 
Old 05-28-2004, 09:31 PM   #4
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
Are you using the same kernel source that you compiled your working kernel from? The nvidia drivers seemed extremely picky, I had erased my original kernel source, so I downloaded the same source version as my woking kernel, that did not work. I had to recompile from the source that I downloaded, and the nvidia drivers install right away.
 
Old 05-28-2004, 10:23 PM   #5
_john_i_
Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Linux from Scratch
Posts: 52

Rep: Reputation: 15
You may find this thread helpful:

http://www.linuxquestions.org/questi...&postid=869303
 
Old 05-29-2004, 06:39 PM   #6
Zoko
Member
 
Registered: May 2004
Location: Morgantown, West Virginia
Distribution: Gentoo 2007.0, Straw Hat Linux
Posts: 31

Original Poster
Rep: Reputation: 15
OK, after fooling around I gon the Nvidia installer to see my source and it compiled the driver. It said everything was successful too! I .eided my /etc/X11/XF86Config as instructed to in the help file the nvidia installer points me to.

I did a startx and it seemed like everything was fine.... then I got random characters some were flashing..
 
  


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
Editing Files needed for nvidia-6626 drivers. DesyphER Linux - Software 4 02-26-2005 02:54 AM
"Cannot find header source files" when trying to install Nvidia 6111 drivers naddad Linux - Newbie 3 08-31-2004 12:42 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM
How do I get "Kernel Header" files so I can install nVidia drivers Stevetgn Linux - Newbie 4 01-14-2004 05:57 PM
Kernel header files needed for Nvidia driver installation natalinasmpf Linux - Hardware 10 12-08-2003 05:55 AM


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