LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-22-2006, 01:41 AM   #1
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
Agpgart needed to compile/use nvidia video drivers?


I compile my own kernel but this time (ver. 2.6.16) I left out agpgart thinking I could use nvidia's agp drivers. The nvidia video drivers (ver. 8178) won't compile, giving me no reason as to why not.

My question: do I need agpgart?
 
Old 03-22-2006, 08:28 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
Originally Posted by Haiyadragon
The nvidia video drivers (ver. 8178) won't compile, giving me no reason as to why not.
in /var/log should a log file from nvidia installer telling you
the errors.........
 
Old 03-22-2006, 11:03 AM   #3
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Original Poster
Rep: Reputation: 30
Code:
/tmp/selfgz1345/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:137
   5: error: 'struct task_struct' has no member named 'rlim'
   make[4]: *** [/tmp/selfgz1345/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-i
   nterface.o] Error 1
   make[3]: *** [_module_/tmp/selfgz1345/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv] Error 2
   make[2]: *** [modules] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [mdl] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
Nothing useful. I think I'm gonna try to recompile with agpgart and see if it makes any difference.
 
Old 03-22-2006, 11:13 AM   #4
king111
Member
 
Registered: Jul 2005
Distribution: Debian, Ubuntu
Posts: 85

Rep: Reputation: 15
Just curious, but where did you get the driver source from? You should probably install it from your distribution's package repository.
 
Old 03-22-2006, 11:24 AM   #5
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by king111
Just curious, but where did you get the driver source from? You should probably install it from your distribution's package repository.
I got it from nvidia.com The distribution package will only work with the stock kernel. Also, not every distro offers such a package. But I compile my own kernel so I have to compile the nvidia drivers for it.

I did however just find out what my problem was. It seems the nvidia driver has some known problems. No doubt a new version will be released soon. But in the mean time: http://www.nvnews.net/vbulletin/showthread.php?t=62021
 
  


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 install pcmcia-cs-3.2.8. Needed to compile wlan-ng drivers. rsmith Linux - Newbie 5 02-06-2005 12:26 AM
Nvidia drivers needed? or is my system just slow? Maverick1182 Mandriva 10 08-18-2004 04:51 AM
nvidia drivers and new compile of kernel c0rderr0y Linux - Newbie 8 02-22-2004 08:39 PM
re-compile Nvidia drivers niton Linux - Newbie 2 07-20-2002 06:58 PM

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

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