Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > Nvidia legacy emerge error
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-21-2007   #1 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 24
Nvidia legacy emerge error

Im using Sabayon linux 3.25 and when i emerge nvidia-legacy-drivers i get this error:

Code:
 y-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
In file included from /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c:14:
/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv-linux.h:17:26: error: linux/config.h: No such file or directory
/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c: In function ‘nv_kern_open’:
/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.c:1764: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv/nv.o] Error 1
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r90/work/NVIDIA-Linux-x86_64-1.0-7184-pkg2/usr/src/nv] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

!!! ERROR: x11-drivers/nvidia-legacy-drivers-1.0.7184-r90 failed.
Call stack:
  ebuild.sh, line 1564:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  nvidia-legacy-drivers-1.0.7184-r90.ebuild, line 145:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.19-gentoo-r4/build clean module.
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/portage/local/layman/sabayon'
Help would be appreciated.


--divad
divad is offline  

Reply With Quote
Old 01-21-2007   #2 (permalink)
Linux User
 
gruven's Avatar
 
Join Date: Dec 2004
Location: Arkansas
Posts: 421
Send a message via ICQ to gruven Send a message via AIM to gruven Send a message via MSN to gruven Send a message via Yahoo to gruven Send a message via Skype™ to gruven
Make sure you are using the same version of GCC to build the Nvidia drivers that the kernel was compiled with.

Also, are you positive that you don't need the regular drivers?

It is hard to make an informed guess without the details of your system.

It would help to know the hardware.
__________________

Linux User #376741
Preferred Linux Distro: Gentoo
Screenshots
Remember, Ubuntu is A Linux distribution, not THE Linux distribution.

There is no need to login to the GUI as root!
gruven is offline   Reply With Quote
Old 01-21-2007   #3 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 24
Here r my specs

Nvidia TNT/Riva 128 64-bit
AMD Athlon 64
512MB ram
GCC version 4.1.1-gentoo-r1
linux-kernel 2.6.19
linux-headers 2.6.19
divad is offline   Reply With Quote
Old 01-22-2007   #4 (permalink)
Linux User
 
gruven's Avatar
 
Join Date: Dec 2004
Location: Arkansas
Posts: 421
Send a message via ICQ to gruven Send a message via AIM to gruven Send a message via MSN to gruven Send a message via Yahoo to gruven Send a message via Skype™ to gruven
Just curious, but have you tried the mainstream drivers instead of the legacy ones?

Also, I am not that familiar with Sabayon, but I hear there are some patches they apply that aren't in Gentoo, and even though they share the same portage trees, it is not recommended to do some portage commands and such.

Other than that, I am sorry I don't have an answer. Have you searched the Gentoo forums yet?
__________________

Linux User #376741
Preferred Linux Distro: Gentoo
Screenshots
Remember, Ubuntu is A Linux distribution, not THE Linux distribution.

There is no need to login to the GUI as root!
gruven is offline   Reply With Quote
Old 01-22-2007   #5 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 24
Yes i did and it said "FATAL: Error inserting nvidia (/lib/modules/2.6.19-gentoo-r4/video/nvidia.ko): No such device"

No i didn't check the Gentoo forums but ill check...
divad is offline   Reply With Quote
Old 01-22-2007   #6 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 24
dmesg says this "[ 470.198157] NVRM: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is
[ 470.198160] NVRM: supported through the NVIDIA Legacy drivers. Please
[ 470.198163] NVRM: visit http://www.nvidia.com/object/unix.html for more
[ 470.198165] NVRM: information. The 1.0-9631 NVIDIA driver will ignore
[ 470.198167] NVRM: this GPU. Continuing probe...
[ 470.198388] NVRM: No NVIDIA graphics adapter found!
"
divad is offline   Reply With Quote
Old 01-22-2007   #7 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 24
Quote:
Originally Posted by gruven
Just curious, but have you tried the mainstream drivers instead of the legacy ones?

Also, I am not that familiar with Sabayon, but I hear there are some patches they apply that aren't in Gentoo, and even though they share the same portage trees, it is not recommended to do some portage commands and such.

Other than that, I am sorry I don't have an answer. Have you searched the Gentoo forums yet?
Yea i did use the gentoo portage tree instead of the sabayon portage trees......that just might be my problem...
divad is offline   Reply With Quote
Old 01-22-2007   #8 (permalink)
Linux User
 
gruven's Avatar
 
Join Date: Dec 2004
Location: Arkansas
Posts: 421
Send a message via ICQ to gruven Send a message via AIM to gruven Send a message via MSN to gruven Send a message via Yahoo to gruven Send a message via Skype™ to gruven
I just saw a post on gentoo forums, and it looks like it was you, but you can never be sure.

So it looks like you will be needing to patch the driver, or recompile your kernel with the same version of gcc you are using to build the driver, or possibly both.
__________________

Linux User #376741
Preferred Linux Distro: Gentoo
Screenshots
Remember, Ubuntu is A Linux distribution, not THE Linux distribution.

There is no need to login to the GUI as root!
gruven is offline   Reply With Quote
Old 01-22-2007   #9 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 24
Yep that was me "mdskpr" right?

i guess ill build a new kernel i've done that before but ive never patched a driver.....
divad is offline   Reply With Quote
Old 01-22-2007   #10 (permalink)
Just Joined!
 
Join Date: Apr 2005
Posts: 24
Thanks, gruven
divad is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 07:47 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2