View previous topic :: View next topic |
Author |
Message |
sdbenner n00b
Joined: 22 Jan 2005 Posts: 6
|
Posted: Sun Jul 29, 2007 6:30 am Post subject: Nvidia-Legacy_driver problems |
|
|
I've just finished upgrading to Gentoo 2.6.22-R1, and now I cannot get Nvidia to compile. When I switched from 2.6.20-r6 to 2.6.22-r1, I tried to emerge nvidia-legacy-drivers (Nvidia GeForce2 Ultra) to re-establish the nvidia module that worked fine in all previous kernels. Nvidia build fails on installing module.
The build.log reads:
... ld -m elf_i386 -r -o /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184/work/NVIDIA-Linux-x86-1.0-7184-pkg0/usr/src/nv/nvidia.ko /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184/work/NVIDIA-Linux-x86-1.0-7184-pkg0/usr/src/nv/nvidia.o /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184/work/NVIDIA-Linux-x86-1.0-7184-pkg0/usr/src/nv/nvidia.mod.o
NVIDIA: left KBUILD.
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/nvidia-legacy-drivers-1.0.7184
>>> Install nvidia-legacy-drivers-1.0.7184 into /var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184/image/ category x11-drivers
Installing nvidia module
ERROR: x11-drivers/nvidia-legacy-drivers-1.0.7184 failed.
Call stack:
ebuild.sh, line 1648: Called dyn_install
ebuild.sh, line 1083: Called qa_call 'src_install'
ebuild.sh, line 44: Called src_install
nvidia-legacy-drivers-1.0.7184.ebuild, line 178: Called src_install-libs
nvidia-legacy-drivers-1.0.7184.ebuild, line 245: Called want_tls
nvidia-legacy-drivers-1.0.7184.ebuild, line 345: Called built_with_use 'sys-libs/glibc' 'nptl'
eutils.eclass, line 1712: Called die
sys-libs/glibc-2.6 does not actually support the nptl USE flag!
If you need support, post the topmost build error, and the call stack if relevant.
A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184/temp/build.log'.
Here's a listing of my hardware:
lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8753 [P4X266 AGP] (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:09.0 Communication controller: 3Com Corp, Modem Division USR 56k Internal WinModem
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 30)
01:00.0 VGA compatible controller: nVidia Corporation NV15BR [GeForce2 Ultra, Bladerunner] (rev a4)
I have tried -nptl in my make.conf use flags; no different results.
I'm at a loss, Any suggestions? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Jul 29, 2007 7:09 am Post subject: |
|
|
Use x11-drivers/nvidia-drivers-1.0.7185 instead, or some other version of nvidia-drivers. |
|
Back to top |
|
|
Vorlon Apprentice
Joined: 16 May 2003 Posts: 263 Location: East Earl, PA
|
Posted: Sun Jul 29, 2007 10:34 pm Post subject: |
|
|
Sorry, but you **can't** load the nvidia-driver package because it doesn't work with older nVidia cards that require the nvidia-legacy-driver package. The bug report also says to load this driver, but I don't understand how.
Am I missing something? _________________ Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Jul 29, 2007 10:48 pm Post subject: |
|
|
Run this and look:
Code: | equery list -p -o -e nvidia-drivers |
|
|
Back to top |
|
|
Vorlon Apprentice
Joined: 16 May 2003 Posts: 263 Location: East Earl, PA
|
Posted: Sun Jul 29, 2007 11:09 pm Post subject: |
|
|
Thanks for the suggestion, but I'm still confused and can't get it to work.
Firstly, isn't "nvidia-drivers" for newer nVidia cards? I have an older card that I thought required the nvidia-legacy-drivers package.
Secondly, I can't emerge it because I get this message:
# emerge =x11-drivers/nvidia-drivers-1.0.7185
Calculating dependencies -
!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:
('ebuild', '/', 'x11-drivers/nvidia-drivers-100.14.11', 'merge') pulled in by
('ebuild', '/', 'media-video/nvidia-settings-1.0.20070302', 'merge')
('ebuild', '/', 'x11-drivers/nvidia-drivers-1.0.7185', 'merge') (no parents)
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.
For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.
I can simply emerge "nvidia-drivers" and get the most current version, but it also gives me a message saying my nvidia card won't work with this package. (see my first question above) _________________ Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Jul 29, 2007 11:15 pm Post subject: |
|
|
Code: | emerge --unmerge nvidia-settings
emerge --unmerge nvidia-legacy-drivers |
You're expected to know this, it's basic package handling. |
|
Back to top |
|
|
Vorlon Apprentice
Joined: 16 May 2003 Posts: 263 Location: East Earl, PA
|
Posted: Sun Jul 29, 2007 11:49 pm Post subject: |
|
|
Paul, thanks for the quick response, but I had done that already. (Both packages are already unmerged.) I still get the error if I force the use of nvidia-drivers-1.0.7184.
If i emerge nvidia-drivers-100.14.11 (the most recent version in portage), I get this message:
* ***** WARNING *****
*
* You are currently installing a version of nvidia-drivers that is
* known not to work with a video card you have installed on your
* system. If this is intentional, please ignore this. If it is not
* please perform the following steps:
*
* Add the following mask entry to /etc/portage/package.mask by
* echo ">=x11-drivers/nvidia-drivers-1.0.9700" >> /etc/portage/package.mask
*
* Failure to perform the steps above could result in a non-working
* X setup.
*
Also, when I try to modprobe the nvidia module, I get a "no such device" error.
Thanks for your help! _________________ Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Jul 29, 2007 11:59 pm Post subject: |
|
|
Think for yourself.
Code: | ls /usr/portage/x11-drivers/nvidia-drivers/ | grep 7184
ls /usr/portage/x11-drivers/nvidia-drivers/ | grep 7185 |
|
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Jul 30, 2007 8:34 am Post subject: |
|
|
Quote: | * Add the following mask entry to /etc/portage/package.mask by
* echo ">=x11-drivers/nvidia-drivers-1.0.9700" >> /etc/portage/package.mask | Have you done that? After this, "emerge nvidia-drivers" will give you the correct version.
PS: I'm really amazed sometimes, how people simply don't read the output they're given. Or don't/can't/won't follow it, even if it spells out the exact command they need to use.
EDIT: Which card do you actually have Vorlon? The message suggests that 1.0.9639 is the correct version for you. |
|
Back to top |
|
|
Black Zer0 Tux's lil' helper
Joined: 03 Feb 2007 Posts: 131 Location: Almonte Ontario Canada
|
Posted: Mon Jul 30, 2007 11:36 am Post subject: |
|
|
That worked for me just now, thanks gusar
And thanks to this problem now I can use dual monitors(now that I have nvidia-settings)[/code]
EDIT:That is I COULD use dual monitors but my other monitor doesn't go to 1600x1200 _________________ Fluxbox ROX!!!
Tux has way too many lil' helpers in my opinion. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|