Gentoo Archives: gentoo-user

From: Bob Young <BYoung@××××××××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] failed to load nvidia kernel module
Date: Thu, 27 Oct 2005 19:56:44
Message-Id: FAEEIJPAOFEMBBLKPMJEEEJNDEAA.BYoung@NuCORETech.com
In Reply to: Re: [gentoo-user] failed to load nvidia kernel module by Qian Qiao
1 -----Original Message-----
2 From: Qian Qiao [mailto:qian.qiao@×××××.com]
3 Sent: Thursday, October 27, 2005 11:53 AM
4 To: gentoo-user@l.g.o
5 Subject: Re: [gentoo-user] failed to load nvidia kernel module
6
7 On 10/27/05, Bob Young <BYoung@××××××××××.com> wrote:
8 > I'm ran into the exact same problem on a newly installed dual Opteron system
9 > yesterday. Basically it's a broken nvidia ebuild. There was a thread on this
10 > forum about this exact issue a couple of weeks ago. The "solution" is to
11 > emerge the masked versions of the nvidia-kernel. To see what versions are
12 > available you can:
13 > HTH,
14 > Bob Young
15
16 Hmmm, I'm running nvidia-kernel 6629-r4 and nvidia-glx 6629-r6 on a
17 amd64 system without any problems.
18
19 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:
20
21 OP:
22
23 I can't find out what I'm doing wrong. I have a nvidia card (GeForce FX
24 5200) and I managed to launch the X server with the nv driver. When I
25 try to use the nvidia driver, the server aborts, complaining about not
26 finding a usable screen section.
27
28
29
30 The following file is the one that works (with nv). To try nvidia, I
31 made two changes: Load "glx" (instead of dri) and nvidia (as driver)
32 instead of nv. Something is missing... (Didn't change identifiers and
33 such.)
34
35
36 I emerged nvidia/kernel and nvidia-glx for good measure, issued "modprobe nvidia",
37 modules-update, openglx-update nvidia...
38 Kernel is 2.6.13-gentoo-r3.
39
40 The last lines of /var/log/Xorg.0.log :
41
42 [29] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
43 (II) Setting vga for screen 0.
44 (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
45 (==) NVIDIA(0): RGB weight 888
46 (==) NVIDIA(0): Default visual is TrueColor
47 (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
48 (--) NVIDIA(0): Linear framebuffer at 0xE0000000
49 (--) NVIDIA(0): MMIO registers at 0xFD000000
50 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
51 (EE) NVIDIA(0): *** Aborting ***
52 (II) UnloadModule: "nvidia"
53 (EE) Screen(s) found, but none have a usable configuration.
54
55 Fatal server error:
56 no screens found
57
58
59 Followup by OP:
60 It seems it's a known bug. I emerged nvidia-kernel and nvidia-glx with
61 ACCEPT_KEYWORDS="~x86" and it works now.
62
63
64 Comment from list member:
65
66 One thing to check is do you have any /dev/nv* devices? There was a
67 thread in the forums on this which has a script for recreating them and
68 another thread on this list in which I posted it.
69
70
71 Reply by OP:
72
73 That was it. I found the thread, that's why I emerged the masked
74 versions of the driver (see my reply to myself).
75 BTW: the suggestion to put the script in /etc/conf.d/local.start seems
76 somewhat strange: doesn't /etc/init.d/local get executed after all other
77 scripts in the default runlevel? Doesn't this mean that the script would
78 be started _after_ the X server?
79
80 ***********************************************************************
81
82 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.
83
84 Regards,
85 Bob Young
86
87
88
89
90 --
91 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] failed to load nvidia kernel module Qian Qiao <qian.qiao@×××××.com>