Re: [gentoo-user] failed to load nvidia kernel module

2005-10-31 Thread Joshua Schmidlkofer
BTW: 99% of the time, this has nothing to do with devfs, udev, or the
kernel. When it says 'module failed to load' it's because the x
is missing the driver file.

i.e.

/usr/lib/modules/drivers/nvidia_drv.so
/usr/lib/modules/drivers/nvidia_drv.o
On 10/30/05, renna bud [EMAIL PROTECTED] wrote:
On Thursday 27 October 2005 22:12, Qian Qiao wrote: On 10/27/05, Bob Young [EMAIL PROTECTED] wrote:  -Original Message-  From: Qian Qiao [mailto:
[EMAIL PROTECTED]]  Sent: Thursday, October 27, 2005 2:20 PM  To: gentoo-user@lists.gentoo.org  Subject: Re: [gentoo-user] failed to load nvidia kernel module
I doubt it's kernel related, I'm on a amd64 with 2.6.13-r3 here. And  nvidia-kernel 6626-r4 runs fine.Seems it is: 
  Thread from another user who experienced the problem:   http://www.usenetlinux.com/archive/topic.php/t-495527.html
   The bug on it posted in Gentoo bugzilla:   http://bugs.gentoo.org/show_bug.cgi?id=104369   Regards,
  Bob Young Indeed, the comments in the bug report from b.g.o could've explained it. I had RC_DEVICE_TARBALL=yes. And from the comments, a few ways to possibly fix the problem:
 a) set RC_DEVICE_TARBALL=yes, then run /sbin/NVmakedevices.sh once. or b) add code if [ ! -e /dev/nvidia0 ]; then /sbin/NVmakedevices.sh fi /code
 to your /etc/conf.d/local.start -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. Money can't buy everything.
 Sometimes money can't even buy a gun...yes this was the very problem with me too. trying other versions of the driverdidn't work, but running /sbin/NVmakedevices.sh solved the problem, andhaving added
 if [ ! -e /dev/nvidia0 ]; then/sbin/NVmakedevices.shfito my local.start now all is working fine.--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] failed to load nvidia kernel module

2005-10-30 Thread renna bud
On Thursday 27 October 2005 22:12, Qian Qiao wrote:
 On 10/27/05, Bob Young [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Qian Qiao [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 27, 2005 2:20 PM
  To: gentoo-user@lists.gentoo.org
  Subject: Re: [gentoo-user] failed to load nvidia kernel module
 
 
  I doubt it's kernel related, I'm on a amd64 with 2.6.13-r3 here. And
  nvidia-kernel 6626-r4 runs fine.
 
 
  Seems it is:
 
  Thread from another user who experienced the problem:
 
  http://www.usenetlinux.com/archive/topic.php/t-495527.html
 
  The bug on it posted in Gentoo bugzilla:
 
  http://bugs.gentoo.org/show_bug.cgi?id=104369
 
  Regards,
  Bob Young

 Indeed, the comments in the bug report from b.g.o could've explained
 it. I had RC_DEVICE_TARBALL=yes.

 And from the comments, a few ways to possibly fix the problem:
 a) set RC_DEVICE_TARBALL=yes, then run /sbin/NVmakedevices.sh once.
 or b) add
 code
 if [ ! -e /dev/nvidia0 ]; then
   /sbin/NVmakedevices.sh
 fi
 /code
 to your /etc/conf.d/local.start

 -- Joe

 --
 There are 3 kinds of people in the world:
 Those who can count, and those who can't.

 Money can't buy everything.
 Sometimes money can't even buy a gun...


yes this was the very problem with me too. trying other versions of the driver 
didn't work, but running /sbin/NVmakedevices.sh solved the problem, and 
having added 
 if [ ! -e /dev/nvidia0 ]; then
  /sbin/NVmakedevices.sh
fi 
to my local.start now all is working fine. 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread renna
hi to all. i am finalizing a fresh new gentoo installation. i'm having some 
problems with xorg and my nvidia geforce mx 440 card. i followed the 
instructions on the dedicated part of documentation on gentoo.org, and even 
tried the following commands as proposed by gentoo-wiki.com but i allways get 
the same error

#emerge nvidia-kernel nvidia-glx nvidia-settings
#opengl-update nvidia
#modprobe nvidia
#X -configure 
#X -config /root/xorg.conf.new

but i allways get this (from /var/log/Xorg.0.log)


[...]
(II) LoadModule: mouse
(II) Loading /usr/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: kbd
(II) Loading /usr/lib/modules/input/kbd_drv.o
(II) Module kbd: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) NVIDIA X Driver  1.0-6629  Wed Nov  3 13:14:07 PST 2004
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Chipset NVIDIA GPU found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1  0   0xffe0 - 0x (0x20) MX[B](B)
[1] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[2] -1  0   0x000f - 0x000f (0x1) MX[B]
[3] -1  0   0x000c - 0x000e (0x3) MX[B]
[4] -1  0   0x - 0x0009 (0xa) MX[B]
[5] -1  0   0xec80 - 0xec8007ff (0x800) MX[B]
[6] -1  0   0xed00 - 0xedff (0x100) MX[B]
[7] -1  0   0xed80 - 0xed8000ff (0x100) MX[B]
[8] -1  0   0xf800 - 0xf7ff (0x0) MX[B]O
[9] -1  0   0xef7e - 0xef7f (0x2) MX[B](B)
[10] -1 0   0xef80 - 0xef87 (0x8) MX[B](B)
[11] -1 0   0xf000 - 0xf7ff (0x800) MX[B](B)
[12] -1 0   0xee00 - 0xeeff (0x100) MX[B](B)
[13] -1 0   0x - 0x (0x1) IX[B]
[14] -1 0   0x - 0x00ff (0x100) IX[B]
[15] -1 0   0xb800 - 0xb87f (0x80) IX[B]
[16] -1 0   0xd000 - 0xd0ff (0x100) IX[B]
[17] -1 0   0xd400 - 0xd41f (0x20) IX[B]
[18] -1 0   0xd800 - 0xd81f (0x20) IX[B]
[19] -1 0   0x9400 - 0x943f (0x40) IX[B]
[20] -1 0   0x9800 - 0x98ff (0x100) IX[B]
[21] -1 0   0xa000 - 0xa01f (0x20) IX[B]
[22] -1 0   0xe800 - 0xe80f (0x10) IX[B]
[23] -1 0   0xa400 - 0xa41f (0x20) IX[B]
[24] -1 0   0xa800 - 0xa80f (0x10) IX[B]
(II) resource ranges after probing:
[0] -1  0   0xffe0 - 0x (0x20) MX[B](B)
[1] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[2] -1  0   0x000f - 0x000f (0x1) MX[B]
[3] -1  0   0x000c - 0x000e (0x3) MX[B]
[4] -1  0   0x - 0x0009 (0xa) MX[B]
[5] -1  0   0xec80 - 0xec8007ff (0x800) MX[B]
[6] -1  0   0xed00 - 0xedff (0x100) MX[B]
[7] -1  0   0xed80 - 0xed8000ff (0x100) MX[B]
[8] -1  0   0xf800 - 0xf7ff (0x0) MX[B]O
[9] -1  0   0xef7e - 0xef7f (0x2) MX[B](B)
[10] -1 0   0xef80 - 0xef87 (0x8) MX[B](B)
[11] -1 0   0xf000 - 0xf7ff (0x800) MX[B](B)
[12] -1 0   0xee00 - 0xeeff (0x100) MX[B](B)
[13] 0  0   0x000a - 0x000a (0x1) MS[B]
[14] 0  0   0x000b - 0x000b7fff (0x8000) MS[B]
[15] 0  0   0x000b8000 - 0x000b (0x8000) MS[B]
[16] -1 0   0x - 0x (0x1) IX[B]
[17] -1 0   0x - 0x00ff (0x100) IX[B]
[18] -1 0   0xb800 - 0xb87f (0x80) IX[B]
[19] -1 0   0xd000 - 0xd0ff (0x100) IX[B]
[20] -1 0   0xd400 - 0xd41f (0x20) IX[B]
[21] -1 0   0xd800 - 0xd81f (0x20) IX[B]
[22] -1 0   0x9400 - 0x943f (0x40) IX[B]
[23] -1 0   0x9800 - 0x98ff (0x100) IX[B]
[24] -1 0   0xa000 - 0xa01f (0x20) IX[B]
[25] -1 0   0xe800 - 0xe80f (0x10) IX[B]
[26] -1 0   0xa400 - 0xa41f (0x20) IX[B]
[27] -1 0   0xa800 - 0xa80f (0x10) IX[B]
[28] 0  0   0x03b0 - 0x03bb (0xc) IS[B]
[29] 0  0   0x03c0 - 0x03df (0x20) IS[B]
(II) Setting vga for screen 0.
(==) NVIDIA(0): Depth 8, (==) framebuffer bpp 8
(==) NVIDIA(0): Default visual is PseudoColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 

[gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread renna bud
hi to all. i am finalizing a fresh new gentoo installation. i'm having some 
problems with xorg and my nvidia geforce mx 440 card. i followed the 
instructions on the dedicated part of documentation on gentoo.org, and even 
tried the following commands as proposed by gentoo-wiki.com but i allways get 
the same error

#emerge nvidia-kernel nvidia-glx nvidia-settings
#opengl-update nvidia
#modprobe nvidia
#X -configure 
#X -config /root/xorg.conf.new

but i allways get this (from /var/log/Xorg.0.log)


[...]
(II) LoadModule: mouse
(II) Loading /usr/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: kbd
(II) Loading /usr/lib/modules/input/kbd_drv.o
(II) Module kbd: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) NVIDIA X Driver  1.0-6629  Wed Nov  3 13:14:07 PST 2004
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Chipset NVIDIA GPU found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1  0   0xffe0 - 0x (0x20) MX[B](B)
[1] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[2] -1  0   0x000f - 0x000f (0x1) MX[B]
[3] -1  0   0x000c - 0x000e (0x3) MX[B]
[4] -1  0   0x - 0x0009 (0xa) MX[B]
[5] -1  0   0xec80 - 0xec8007ff (0x800) MX[B]
[6] -1  0   0xed00 - 0xedff (0x100) MX[B]
[7] -1  0   0xed80 - 0xed8000ff (0x100) MX[B]
[8] -1  0   0xf800 - 0xf7ff (0x0) MX[B]O
[9] -1  0   0xef7e - 0xef7f (0x2) MX[B](B)
[10] -1 0   0xef80 - 0xef87 (0x8) MX[B](B)
[11] -1 0   0xf000 - 0xf7ff (0x800) MX[B](B)
[12] -1 0   0xee00 - 0xeeff (0x100) MX[B](B)
[13] -1 0   0x - 0x (0x1) IX[B]
[14] -1 0   0x - 0x00ff (0x100) IX[B]
[15] -1 0   0xb800 - 0xb87f (0x80) IX[B]
[16] -1 0   0xd000 - 0xd0ff (0x100) IX[B]
[17] -1 0   0xd400 - 0xd41f (0x20) IX[B]
[18] -1 0   0xd800 - 0xd81f (0x20) IX[B]
[19] -1 0   0x9400 - 0x943f (0x40) IX[B]
[20] -1 0   0x9800 - 0x98ff (0x100) IX[B]
[21] -1 0   0xa000 - 0xa01f (0x20) IX[B]
[22] -1 0   0xe800 - 0xe80f (0x10) IX[B]
[23] -1 0   0xa400 - 0xa41f (0x20) IX[B]
[24] -1 0   0xa800 - 0xa80f (0x10) IX[B]
(II) resource ranges after probing:
[0] -1  0   0xffe0 - 0x (0x20) MX[B](B)
[1] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[2] -1  0   0x000f - 0x000f (0x1) MX[B]
[3] -1  0   0x000c - 0x000e (0x3) MX[B]
[4] -1  0   0x - 0x0009 (0xa) MX[B]
[5] -1  0   0xec80 - 0xec8007ff (0x800) MX[B]
[6] -1  0   0xed00 - 0xedff (0x100) MX[B]
[7] -1  0   0xed80 - 0xed8000ff (0x100) MX[B]
[8] -1  0   0xf800 - 0xf7ff (0x0) MX[B]O
[9] -1  0   0xef7e - 0xef7f (0x2) MX[B](B)
[10] -1 0   0xef80 - 0xef87 (0x8) MX[B](B)
[11] -1 0   0xf000 - 0xf7ff (0x800) MX[B](B)
[12] -1 0   0xee00 - 0xeeff (0x100) MX[B](B)
[13] 0  0   0x000a - 0x000a (0x1) MS[B]
[14] 0  0   0x000b - 0x000b7fff (0x8000) MS[B]
[15] 0  0   0x000b8000 - 0x000b (0x8000) MS[B]
[16] -1 0   0x - 0x (0x1) IX[B]
[17] -1 0   0x - 0x00ff (0x100) IX[B]
[18] -1 0   0xb800 - 0xb87f (0x80) IX[B]
[19] -1 0   0xd000 - 0xd0ff (0x100) IX[B]
[20] -1 0   0xd400 - 0xd41f (0x20) IX[B]
[21] -1 0   0xd800 - 0xd81f (0x20) IX[B]
[22] -1 0   0x9400 - 0x943f (0x40) IX[B]
[23] -1 0   0x9800 - 0x98ff (0x100) IX[B]
[24] -1 0   0xa000 - 0xa01f (0x20) IX[B]
[25] -1 0   0xe800 - 0xe80f (0x10) IX[B]
[26] -1 0   0xa400 - 0xa41f (0x20) IX[B]
[27] -1 0   0xa800 - 0xa80f (0x10) IX[B]
[28] 0  0   0x03b0 - 0x03bb (0xc) IS[B]
[29] 0  0   0x03c0 - 0x03df (0x20) IS[B]
(II) Setting vga for screen 0.
(==) NVIDIA(0): Depth 8, (==) framebuffer bpp 8
(==) NVIDIA(0): Default visual is PseudoColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 

RE: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Bob Young


-Original Message-
From: renna bud [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 27, 2005 1:01 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] failed to load nvidia kernel module

hi to all. i am finalizing a fresh new gentoo installation. i'm having some
problems with xorg and my nvidia geforce mx 440 card. i followed the
instructions on the dedicated part of documentation on gentoo.org, and even
tried the following commands as proposed by gentoo-wiki.com but i allways
get
the same error

#emerge nvidia-kernel nvidia-glx nvidia-settings
#opengl-update nvidia
#modprobe nvidia
#X -configure
#X -config /root/xorg.conf.new

but i allways get this (from /var/log/Xorg.0.log)


(II) Setting vga for screen 0.
(==) NVIDIA(0): Depth 8, (==) framebuffer bpp 8
(==) NVIDIA(0): Default visual is PseudoColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xF000
(--) NVIDIA(0): MMIO registers at 0xEE00
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: nvidia
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
 at http://wiki.X.Org
 for help.
Please also check the log file at /var/log/Xorg.0.log for additional
information.


portage installed me diffferent versions of nvidia-glx and nvidia-kernel
(1.0.6629-r6 and 1.0.6629-r4) should i install the same version? are there
newer versions available, or are these known not to work? right now i'm
using
the nv driver, and i have everything i need (kde) working, though i'd like
to
set up my nvidia card to its full capabilities
thanks
I'm ran into the exact same problem on a newly installed dual Opteron system
yesterday. Basically it's a broken nvidia ebuild. There was a thread on this
forum about this exact issue a couple of weeks ago. The solution is to
emerge the masked versions of the nvidia-kernel. To see what versions are
available you can:
ACCEPT_KEYWORDS=~x86  emerge -sv nvidia
Then umask the specific version of the packages you want to use:
#echo '=media-video/nvidia-kernel-1.0.7676 ~x86'
/etc/portage/package.keywords
#echo '=media-video/nvidia-glx-1.0.7676-r1 ~x86'
/etc/portage/package.keywords

Assuming your running x86 of course, otherwise replace ~x86 with the
appropiate value for your arch.
HTH,
Bob Young



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Qian Qiao
On 10/27/05, renna [EMAIL PROTECTED] wrote:
 hi to all. i am finalizing a fresh new gentoo installation. i'm having some
 problems with xorg and my nvidia geforce mx 440 card. i followed the
 instructions on the dedicated part of documentation on gentoo.org, and even
 tried the following commands as proposed by gentoo-wiki.com but i allways get
 the same error

 #emerge nvidia-kernel nvidia-glx nvidia-settings
 #opengl-update nvidia
 #modprobe nvidia
 #X -configure
 #X -config /root/xorg.conf.new

 but i allways get this (from /var/log/Xorg.0.log)


 [...]
 (II) LoadModule: mouse
 (II) Loading /usr/lib/modules/input/mouse_drv.o
 (II) Module mouse: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
 (II) LoadModule: kbd
 (II) Loading /usr/lib/modules/input/kbd_drv.o
 (II) Module kbd: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
 (II) NVIDIA X Driver  1.0-6629  Wed Nov  3 13:14:07 PST 2004
 (II) NVIDIA Unified Driver for all NVIDIA GPUs
 (II) Primary Device is: PCI 01:00:0
 (--) Chipset NVIDIA GPU found
 (II) resource ranges after xf86ClaimFixedResources() call:
[0] -1  0   0xffe0 - 0x (0x20) MX[B](B)
[1] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[2] -1  0   0x000f - 0x000f (0x1) MX[B]
[3] -1  0   0x000c - 0x000e (0x3) MX[B]
[4] -1  0   0x - 0x0009 (0xa) MX[B]
[5] -1  0   0xec80 - 0xec8007ff (0x800) MX[B]
[6] -1  0   0xed00 - 0xedff (0x100) MX[B]
[7] -1  0   0xed80 - 0xed8000ff (0x100) MX[B]
[8] -1  0   0xf800 - 0xf7ff (0x0) MX[B]O
[9] -1  0   0xef7e - 0xef7f (0x2) MX[B](B)
[10] -1 0   0xef80 - 0xef87 (0x8) MX[B](B)
[11] -1 0   0xf000 - 0xf7ff (0x800) MX[B](B)
[12] -1 0   0xee00 - 0xeeff (0x100) MX[B](B)
[13] -1 0   0x - 0x (0x1) IX[B]
[14] -1 0   0x - 0x00ff (0x100) IX[B]
[15] -1 0   0xb800 - 0xb87f (0x80) IX[B]
[16] -1 0   0xd000 - 0xd0ff (0x100) IX[B]
[17] -1 0   0xd400 - 0xd41f (0x20) IX[B]
[18] -1 0   0xd800 - 0xd81f (0x20) IX[B]
[19] -1 0   0x9400 - 0x943f (0x40) IX[B]
[20] -1 0   0x9800 - 0x98ff (0x100) IX[B]
[21] -1 0   0xa000 - 0xa01f (0x20) IX[B]
[22] -1 0   0xe800 - 0xe80f (0x10) IX[B]
[23] -1 0   0xa400 - 0xa41f (0x20) IX[B]
[24] -1 0   0xa800 - 0xa80f (0x10) IX[B]
 (II) resource ranges after probing:
[0] -1  0   0xffe0 - 0x (0x20) MX[B](B)
[1] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[2] -1  0   0x000f - 0x000f (0x1) MX[B]
[3] -1  0   0x000c - 0x000e (0x3) MX[B]
[4] -1  0   0x - 0x0009 (0xa) MX[B]
[5] -1  0   0xec80 - 0xec8007ff (0x800) MX[B]
[6] -1  0   0xed00 - 0xedff (0x100) MX[B]
[7] -1  0   0xed80 - 0xed8000ff (0x100) MX[B]
[8] -1  0   0xf800 - 0xf7ff (0x0) MX[B]O
[9] -1  0   0xef7e - 0xef7f (0x2) MX[B](B)
[10] -1 0   0xef80 - 0xef87 (0x8) MX[B](B)
[11] -1 0   0xf000 - 0xf7ff (0x800) MX[B](B)
[12] -1 0   0xee00 - 0xeeff (0x100) MX[B](B)
[13] 0  0   0x000a - 0x000a (0x1) MS[B]
[14] 0  0   0x000b - 0x000b7fff (0x8000) MS[B]
[15] 0  0   0x000b8000 - 0x000b (0x8000) MS[B]
[16] -1 0   0x - 0x (0x1) IX[B]
[17] -1 0   0x - 0x00ff (0x100) IX[B]
[18] -1 0   0xb800 - 0xb87f (0x80) IX[B]
[19] -1 0   0xd000 - 0xd0ff (0x100) IX[B]
[20] -1 0   0xd400 - 0xd41f (0x20) IX[B]
[21] -1 0   0xd800 - 0xd81f (0x20) IX[B]
[22] -1 0   0x9400 - 0x943f (0x40) IX[B]
[23] -1 0   0x9800 - 0x98ff (0x100) IX[B]
[24] -1 0   0xa000 - 0xa01f (0x20) IX[B]
[25] -1 0   0xe800 - 0xe80f (0x10) IX[B]
[26] -1 0   0xa400 - 0xa41f (0x20) IX[B]
[27] -1 0   0xa800 - 0xa80f (0x10) IX[B]
[28] 0  0   0x03b0 - 0x03bb (0xc) IS[B]
[29] 0  0   0x03c0 - 0x03df (0x20) IS[B]
 (II) Setting vga for screen 0.
 (==) NVIDIA(0): Depth 8, (==) framebuffer bpp 8
 (==) NVIDIA(0): Default visual is PseudoColor
 (==) NVIDIA(0): Using gamma 

Re: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Qian Qiao
On 10/27/05, Bob Young [EMAIL PROTECTED] wrote:


 -Original Message-
 From: renna bud [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 27, 2005 1:01 PM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] failed to load nvidia kernel module

 hi to all. i am finalizing a fresh new gentoo installation. i'm having some
 problems with xorg and my nvidia geforce mx 440 card. i followed the
 instructions on the dedicated part of documentation on gentoo.org, and even
 tried the following commands as proposed by gentoo-wiki.com but i allways
 get
 the same error

 #emerge nvidia-kernel nvidia-glx nvidia-settings
 #opengl-update nvidia
 #modprobe nvidia
 #X -configure
 #X -config /root/xorg.conf.new

 but i allways get this (from /var/log/Xorg.0.log)


 (II) Setting vga for screen 0.
 (==) NVIDIA(0): Depth 8, (==) framebuffer bpp 8
 (==) NVIDIA(0): Default visual is PseudoColor
 (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
 (--) NVIDIA(0): Linear framebuffer at 0xF000
 (--) NVIDIA(0): MMIO registers at 0xEE00
 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
 (EE) NVIDIA(0):  *** Aborting ***
 (II) UnloadModule: nvidia
 (EE) Screen(s) found, but none have a usable configuration.

 Fatal server error:
 no screens found

 Please consult the The X.Org Foundation support
 at http://wiki.X.Org
  for help.
 Please also check the log file at /var/log/Xorg.0.log for additional
 information.


 portage installed me diffferent versions of nvidia-glx and nvidia-kernel
 (1.0.6629-r6 and 1.0.6629-r4) should i install the same version? are there
 newer versions available, or are these known not to work? right now i'm
 using
 the nv driver, and i have everything i need (kde) working, though i'd like
 to
 set up my nvidia card to its full capabilities
 thanks
 I'm ran into the exact same problem on a newly installed dual Opteron system
 yesterday. Basically it's a broken nvidia ebuild. There was a thread on this
 forum about this exact issue a couple of weeks ago. The solution is to
 emerge the masked versions of the nvidia-kernel. To see what versions are
 available you can:
 ACCEPT_KEYWORDS=~x86  emerge -sv nvidia
 Then umask the specific version of the packages you want to use:
 #echo '=media-video/nvidia-kernel-1.0.7676 ~x86'
 /etc/portage/package.keywords
 #echo '=media-video/nvidia-glx-1.0.7676-r1 ~x86'
 /etc/portage/package.keywords

 Assuming your running x86 of course, otherwise replace ~x86 with the
 appropiate value for your arch.
 HTH,
 Bob Young

Hmmm, I'm running nvidia-kernel 6629-r4 and nvidia-glx 6629-r6 on a
amd64 system without any problems.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Bob Young


-Original Message-
From: Qian Qiao [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 27, 2005 11:53 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] failed to load nvidia kernel module

On 10/27/05, Bob Young [EMAIL PROTECTED] wrote:
 I'm ran into the exact same problem on a newly installed dual Opteron system
 yesterday. Basically it's a broken nvidia ebuild. There was a thread on this
 forum about this exact issue a couple of weeks ago. The solution is to
 emerge the masked versions of the nvidia-kernel. To see what versions are
 available you can:
 HTH,
 Bob Young

Hmmm, I'm running nvidia-kernel 6629-r4 and nvidia-glx 6629-r6 on a
amd64 system without any problems.

I don't have the specific versions that were failing for me, as I'm not at home 
right now, but as I mentioned there was a thread on this recently, here are 
some quotes from that thread:

OP:

I can't find out what I'm doing wrong. I have a nvidia card (GeForce FX
5200) and I managed to launch the X server with the nv driver. When I
try to use the nvidia driver, the server aborts, complaining about not
finding a usable screen section.



The following file is the one that works (with nv). To try nvidia, I
made two changes: Load glx (instead of dri) and nvidia (as driver)
instead of nv. Something is missing... (Didn't change identifiers and
such.)


I emerged nvidia/kernel and nvidia-glx for good measure, issued modprobe 
nvidia,
modules-update, openglx-update nvidia...
Kernel is 2.6.13-gentoo-r3.

The last lines of /var/log/Xorg.0.log :

[29] 0 0 0x03c0 - 0x03df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xE000
(--) NVIDIA(0): MMIO registers at 0xFD00
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: nvidia
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found


Followup by OP:
It seems it's a known bug. I emerged nvidia-kernel and nvidia-glx with
ACCEPT_KEYWORDS=~x86 and it works now.


Comment from list member:

One thing to check is do you have any /dev/nv* devices? There was a
thread in the forums on this which has a script for recreating them and
another thread on this list in which I posted it.


Reply by OP:

That was it. I found the thread, that's why I emerged the masked
versions of the driver (see my reply to myself).
BTW: the suggestion to put the script in /etc/conf.d/local.start seems
somewhat strange: doesn't /etc/init.d/local get executed after all other
scripts in the default runlevel? Doesn't this mean that the script would
be started _after_ the X server?

***

Maybe this isn't the problem in this specific case, I don't know, but it's 
possible that it is. I don't remember whether or not the OP in this case 
specified whether or not the configuration was working with the default nv 
driver or not, that should be the first step in troubleshooting this. Once the 
nv driver works with the configuration, if the nvidia driver does not, that's a 
resonable indication that there is something wrong with the nvidia module.

Regards,
Bob Young




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Qian Qiao
On 10/27/05, Bob Young [EMAIL PROTECTED] wrote:


snip

Now that you mention it, I did have problems with a ~amd64 version of
nvidia-kernel, couldn't remember the version number tho, :(

And after that, I reverted to the stable version of nvidia-kernel, and
had no problem afterwards.

Strange...

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Bob Young


-Original Message-
From: Qian Qiao [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 27, 2005 1:07 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] failed to load nvidia kernel module

On 10/27/05, Bob Young [EMAIL PROTECTED] wrote:


snip

Now that you mention it, I did have problems with a ~amd64 version of
nvidia-kernel, couldn't remember the version number tho, :(

And after that, I reverted to the stable version of nvidia-kernel, and
had no problem afterwards.

Strange...

I think it's also kernel version related, as I had no problems using the stable 
version of the nvidia kernel with the 2.6.12 gentoo kernel, but then I did a 
completely fresh install and got a 2.6.13 kernel which exibited the described 
problem with the stable version of nvidia.

Regards,
Bob Young



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Jose Maria Alvarez Fernandez
It's kernel related. 2.6.13 doesn't create the nvidia devicess correctly 
with udev, which with 2.6.13 is default. You can try to put this in the 
local.start if you want to use this nvidia kernel versions:


for i in 0 1 2 3 4 5 6 7; do
   node=/dev/nvidia$i
   rm -f $node
   mknod $node c 195 $i || echo mknod \$node\
   chmod 0660 $node || echo chmod \$node\
   chown :video $node || echo chown \$node\
done
node=/dev/nvidiactl
rm -f $node
mknod $node c 195 255 || echo mknod \$node\
chmod 0666 $node || echo chmod \$node\
chown :video $node || echo chown \$node\

Hope it helps!

Qian Qiao wrote:

On 10/27/05, renna [EMAIL PROTECTED] wrote:


hi to all. i am finalizing a fresh new gentoo installation. i'm having some
problems with xorg and my nvidia geforce mx 440 card. i followed the
instructions on the dedicated part of documentation on gentoo.org, and even
tried the following commands as proposed by gentoo-wiki.com but i allways get
the same error

#emerge nvidia-kernel nvidia-glx nvidia-settings
#opengl-update nvidia
#modprobe nvidia
#X -configure
#X -config /root/xorg.conf.new

but i allways get this (from /var/log/Xorg.0.log)


[...]
(II) LoadModule: mouse
(II) Loading /usr/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor=X.Org Foundation
  compiled for 6.8.2, module version = 1.0.0
  Module class: X.Org XInput Driver
  ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: kbd
(II) Loading /usr/lib/modules/input/kbd_drv.o
(II) Module kbd: vendor=X.Org Foundation
  compiled for 6.8.2, module version = 1.0.0
  Module class: X.Org XInput Driver
  ABI class: X.Org XInput driver, version 0.4
(II) NVIDIA X Driver  1.0-6629  Wed Nov  3 13:14:07 PST 2004
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Chipset NVIDIA GPU found
(II) resource ranges after xf86ClaimFixedResources() call:
  [0] -1  0   0xffe0 - 0x (0x20) MX[B](B)
  [1] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
  [2] -1  0   0x000f - 0x000f (0x1) MX[B]
  [3] -1  0   0x000c - 0x000e (0x3) MX[B]
  [4] -1  0   0x - 0x0009 (0xa) MX[B]
  [5] -1  0   0xec80 - 0xec8007ff (0x800) MX[B]
  [6] -1  0   0xed00 - 0xedff (0x100) MX[B]
  [7] -1  0   0xed80 - 0xed8000ff (0x100) MX[B]
  [8] -1  0   0xf800 - 0xf7ff (0x0) MX[B]O
  [9] -1  0   0xef7e - 0xef7f (0x2) MX[B](B)
  [10] -1 0   0xef80 - 0xef87 (0x8) MX[B](B)
  [11] -1 0   0xf000 - 0xf7ff (0x800) MX[B](B)
  [12] -1 0   0xee00 - 0xeeff (0x100) MX[B](B)
  [13] -1 0   0x - 0x (0x1) IX[B]
  [14] -1 0   0x - 0x00ff (0x100) IX[B]
  [15] -1 0   0xb800 - 0xb87f (0x80) IX[B]
  [16] -1 0   0xd000 - 0xd0ff (0x100) IX[B]
  [17] -1 0   0xd400 - 0xd41f (0x20) IX[B]
  [18] -1 0   0xd800 - 0xd81f (0x20) IX[B]
  [19] -1 0   0x9400 - 0x943f (0x40) IX[B]
  [20] -1 0   0x9800 - 0x98ff (0x100) IX[B]
  [21] -1 0   0xa000 - 0xa01f (0x20) IX[B]
  [22] -1 0   0xe800 - 0xe80f (0x10) IX[B]
  [23] -1 0   0xa400 - 0xa41f (0x20) IX[B]
  [24] -1 0   0xa800 - 0xa80f (0x10) IX[B]
(II) resource ranges after probing:
  [0] -1  0   0xffe0 - 0x (0x20) MX[B](B)
  [1] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
  [2] -1  0   0x000f - 0x000f (0x1) MX[B]
  [3] -1  0   0x000c - 0x000e (0x3) MX[B]
  [4] -1  0   0x - 0x0009 (0xa) MX[B]
  [5] -1  0   0xec80 - 0xec8007ff (0x800) MX[B]
  [6] -1  0   0xed00 - 0xedff (0x100) MX[B]
  [7] -1  0   0xed80 - 0xed8000ff (0x100) MX[B]
  [8] -1  0   0xf800 - 0xf7ff (0x0) MX[B]O
  [9] -1  0   0xef7e - 0xef7f (0x2) MX[B](B)
  [10] -1 0   0xef80 - 0xef87 (0x8) MX[B](B)
  [11] -1 0   0xf000 - 0xf7ff (0x800) MX[B](B)
  [12] -1 0   0xee00 - 0xeeff (0x100) MX[B](B)
  [13] 0  0   0x000a - 0x000a (0x1) MS[B]
  [14] 0  0   0x000b - 0x000b7fff (0x8000) MS[B]
  [15] 0  0   0x000b8000 - 0x000b (0x8000) MS[B]
  [16] -1 0   0x - 0x (0x1) IX[B]
  [17] -1 0   0x - 0x00ff (0x100) IX[B]
  [18] -1 0   0xb800 - 0xb87f (0x80) IX[B]
  [19] -1 0   0xd000 - 0xd0ff (0x100) IX[B]
  [20] -1 0   0xd400 - 0xd41f (0x20) IX[B]
  [21] -1 0   0xd800 - 0xd81f (0x20) IX[B]
  [22] -1 0   0x9400 - 0x943f (0x40) IX[B]
  [23] -1 0   0x9800 - 0x98ff (0x100) IX[B]
  [24] -1 0   0xa000 - 

RE: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Bob Young


-Original Message-
From: Jose Maria Alvarez Fernandez [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 27, 2005 1:37 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] failed to load nvidia kernel module

It's kernel related. 2.6.13 doesn't create the nvidia devicess correctly
with udev, which with 2.6.13 is default. You can try to put this in the
local.start if you want to use this nvidia kernel versions:

for i in 0 1 2 3 4 5 6 7; do
node=/dev/nvidia$i
rm -f $node
mknod $node c 195 $i || echo mknod \$node\
chmod 0660 $node || echo chmod \$node\
chown :video $node || echo chown \$node\
done
node=/dev/nvidiactl
rm -f $node
mknod $node c 195 255 || echo mknod \$node\
chmod 0666 $node || echo chmod \$node\
chown :video $node || echo chown \$node\

Hope it helps!
***

I thought that was what I remembered. Althoughif it's the 2.6.13 gentoo 
kernel that's responsible for creating the necessary nodes, why do the 
unstable/masked versions of nvidia-kernel work correctly under a 2.6.13 kernel 
without any helper scripts?

Regards,
Bob Young





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Qian Qiao
On 10/27/05, Jose Maria Alvarez Fernandez [EMAIL PROTECTED] wrote:
 It's kernel related. 2.6.13 doesn't create the nvidia devicess correctly
 with udev, which with 2.6.13 is default. You can try to put this in the
 local.start if you want to use this nvidia kernel versions:

 for i in 0 1 2 3 4 5 6 7; do
node=/dev/nvidia$i
rm -f $node
mknod $node c 195 $i || echo mknod \$node\
chmod 0660 $node || echo chmod \$node\
chown :video $node || echo chown \$node\
 done
 node=/dev/nvidiactl
 rm -f $node
 mknod $node c 195 255 || echo mknod \$node\
 chmod 0666 $node || echo chmod \$node\
 chown :video $node || echo chown \$node\

 Hope it helps!

I doubt it's kernel related, I'm on a amd64 with 2.6.13-r3 here. And
nvidia-kernel 6626-r4 runs fine.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Jose Maria Alvarez Fernandez
Strange. I tried 7174 and down without success. Every time i had to use 
the script showed. I have to use 7667 or above with 2.6.13 in order to 
have nodes working correctly. It may also depend on xorg version.


Greetings!

Qian Qiao wrote:

On 10/27/05, Jose Maria Alvarez Fernandez [EMAIL PROTECTED] wrote:


It's kernel related. 2.6.13 doesn't create the nvidia devicess correctly
with udev, which with 2.6.13 is default. You can try to put this in the
local.start if you want to use this nvidia kernel versions:

for i in 0 1 2 3 4 5 6 7; do
  node=/dev/nvidia$i
  rm -f $node
  mknod $node c 195 $i || echo mknod \$node\
  chmod 0660 $node || echo chmod \$node\
  chown :video $node || echo chown \$node\
done
node=/dev/nvidiactl
rm -f $node
mknod $node c 195 255 || echo mknod \$node\
chmod 0666 $node || echo chmod \$node\
chown :video $node || echo chown \$node\

Hope it helps!



I doubt it's kernel related, I'm on a amd64 with 2.6.13-r3 here. And
nvidia-kernel 6626-r4 runs fine.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...


--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Bob Young


-Original Message-
From: Qian Qiao [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 27, 2005 2:20 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] failed to load nvidia kernel module


I doubt it's kernel related, I'm on a amd64 with 2.6.13-r3 here. And
nvidia-kernel 6626-r4 runs fine.


Seems it is:

Thread from another user who experienced the problem:

http://www.usenetlinux.com/archive/topic.php/t-495527.html

The bug on it posted in Gentoo bugzilla:

http://bugs.gentoo.org/show_bug.cgi?id=104369

Regards,
Bob Young





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] failed to load nvidia kernel module

2005-10-27 Thread Qian Qiao
On 10/27/05, Bob Young [EMAIL PROTECTED] wrote:


 -Original Message-
 From: Qian Qiao [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 27, 2005 2:20 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] failed to load nvidia kernel module


 I doubt it's kernel related, I'm on a amd64 with 2.6.13-r3 here. And
 nvidia-kernel 6626-r4 runs fine.


 Seems it is:

 Thread from another user who experienced the problem:

 http://www.usenetlinux.com/archive/topic.php/t-495527.html

 The bug on it posted in Gentoo bugzilla:

 http://bugs.gentoo.org/show_bug.cgi?id=104369

 Regards,
 Bob Young

Indeed, the comments in the bug report from b.g.o could've explained
it. I had RC_DEVICE_TARBALL=yes.

And from the comments, a few ways to possibly fix the problem:
a) set RC_DEVICE_TARBALL=yes, then run /sbin/NVmakedevices.sh once.
or b) add
code
if [ ! -e /dev/nvidia0 ]; then
  /sbin/NVmakedevices.sh
fi
/code
to your /etc/conf.d/local.start

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list