-----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 0x000003c0 - 0x000003df (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 0xE0000000
(--) NVIDIA(0): MMIO registers at 0xFD000000
(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

Reply via email to