Gentoo Archives: gentoo-user

From: "John H. Moe" <johnmoe@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nvidia GeForce 6200 questions
Date: Mon, 01 Mar 2010 22:51:18
Message-Id: 4B8C44C0.2010407@optusnet.com.au
In Reply to: [gentoo-user] nvidia GeForce 6200 questions by Mark Knecht
1 Mark Knecht wrote:
2 > Hi,
3 > I've been trying to get an nvidia controller working today and not
4 > having much luck. It's complaining about failing to load kernel
5 > module.
6 >
7 > As a starting point I'm following this guide:
8 >
9 > http://www.gentoo.org/doc/en/nvidia-guide.xml
10 >
11 > My nvidia device is (I think) a GeForce 6 family card:
12 >
13 > dragonfly ~ # lspci | grep VGA
14 > 01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce
15 > 6200] (rev a1)
16 > dragonfly ~ #
17 >
18 > and from this nVidia page seems to be supported by the 173.xx series drivers:
19 >
20 > http://www.nvidia.com/object/linux_display_ia32_173.14.25.html
21 >
22 > Because modinfo nvidia suggested it depended on them I've added
23 > agpgart and i2c-core to modules.autoload and after booting this is
24 > what's loaded:
25 >
26 > dragonfly ~ # lsmod
27 > Module Size Used by
28 > ipv6 176929 18
29 > sg 19077 0
30 > usb_storage 29021 0
31 > usbhid 18281 0
32 > snd_intel8x0 19155 0
33 > snd_ac97_codec 76628 1 snd_intel8x0
34 > ac97_bus 662 1 snd_ac97_codec
35 > snd_pcm 42338 2 snd_intel8x0,snd_ac97_codec
36 > ehci_hcd 27089 0
37 > uhci_hcd 15779 0
38 > snd_timer 11966 1 snd_pcm
39 > usbcore 87247 4 usb_storage,usbhid,ehci_hcd,uhci_hcd
40 > agpgart 19136 0
41 > snd 31592 4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
42 > 8139cp 12993 0
43 > soundcore 3607 1 snd
44 > rtc 6022 0
45 > 8139too 14560 0
46 > i2c_core 11618 0
47 > snd_page_alloc 4685 2 snd_intel8x0,snd_pcm
48 > processor 20861 0
49 > thermal 9266 0
50 > button 3526 0
51 > thermal_sys 8333 2 processor,thermal
52 > dragonfly ~ #
53 >
54 > When I try to load the nvidia driver it just complains:
55 >
56 > dragonfly ~ # modprobe nvidia
57 > FATAL: Error inserting nvidia
58 > (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
59 > dragonfly ~ #
60 >
61 > dragonfly ~ # modprobe --show-depends nvidia
62 > insmod /lib/modules/2.6.33-gentoo/kernel/drivers/i2c/i2c-core.ko
63 > insmod /lib/modules/2.6.33-gentoo/kernel/drivers/char/agp/agpgart.ko
64 > insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
65 > NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
66 > NVreg_ModifyDeviceFiles=1
67 > dragonfly ~ #
68 >
69 > dragonfly ~ # modprobe -v nvidia
70 > insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
71 > NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
72 > NVreg_ModifyDeviceFiles=1
73 > FATAL: Error inserting nvidia
74 > (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
75 > dragonfly ~ #
76 >
77 > The driver exists:
78 >
79 > dragonfly ~ # ls -al /lib/modules/2.6.33-gentoo/video/nvidia.ko
80 > -rw-r--r-- 1 root root 7859091 Mar 1 13:35
81 > /lib/modules/2.6.33-gentoo/video/nvidia.ko
82 > dragonfly ~ #
83 >
84 > I'm not clear what it means by 'no such device'. Is that a message
85 > that this driver doesn't support this card?
86 >
87 > I tried going down to the 96 series drivers but got the same results.
88 >
89 > Sort of obvious stuff in the kernel config I could think of before
90 > sending this email is here:
91 >
92 > dragonfly ~ # zcat /proc/config.gz | grep AGP
93 > CONFIG_AGP=m
94 > # CONFIG_AGP_ALI is not set
95 > # CONFIG_AGP_ATI is not set
96 > # CONFIG_AGP_AMD is not set
97 > # CONFIG_AGP_AMD64 is not set
98 > CONFIG_AGP_INTEL=m
99 > # CONFIG_AGP_NVIDIA is not set
100 > # CONFIG_AGP_SIS is not set
101 > # CONFIG_AGP_SWORKS is not set
102 > # CONFIG_AGP_VIA is not set
103 > # CONFIG_AGP_EFFICEON is not set
104 > dragonfly ~ # zcat /proc/config.gz | grep NVIDIA
105 > # CONFIG_AGP_NVIDIA is not set
106 > # CONFIG_FB_NVIDIA is not set
107 > dragonfly ~ # zcat /proc/config.gz | grep DRM
108 > CONFIG_DRM=m
109 > # CONFIG_DRM_TDFX is not set
110 > # CONFIG_DRM_R128 is not set
111 > # CONFIG_DRM_RADEON is not set
112 > # CONFIG_DRM_I810 is not set
113 > # CONFIG_DRM_I830 is not set
114 > # CONFIG_DRM_I915 is not set
115 > # CONFIG_DRM_MGA is not set
116 > # CONFIG_DRM_SIS is not set
117 > # CONFIG_DRM_VIA is not set
118 > # CONFIG_DRM_SAVAGE is not set
119 > dragonfly ~ #
120 >
121 > I assumed the Intel AGP might be usefull since it's an Intel
122 > motherboard but it didn't help so I blacklisted it and it's not
123 > loaded.
124 >
125 > Anyone able to spot what must be an obvious mistake?
126 >
127 > Current xorg.conf file it attached. It was done by hand so it could
128 > easily have big problems. I tried running with no xorg.conf file but
129 > it didn't work either.
130 >
131 > hald is running.
132 >
133 > Thanks,
134 > Mark
135 >
136 >
137 > dragonfly ~ # cat /etc/X11/xorg.conf
138 > Section "Files"
139 > ModulePath "/usr/lib/xorg/modules"
140 > FontPath "/usr/share/fonts/misc/"
141 > FontPath "/usr/share/fonts/TTF/"
142 > FontPath "/usr/share/fonts/OTF"
143 > FontPath "/usr/share/fonts/Type1/"
144 > FontPath "/usr/share/fonts/100dpi/"
145 > FontPath "/usr/share/fonts/75dpi/"
146 > EndSection
147 >
148 > Section "Module"
149 > Load "extmod"
150 > Load "glx"
151 > # Load "dri"
152 > EndSection
153 >
154 > Section "DRI"
155 > Mode 0666
156 > EndSection
157 >
158 > Section "InputDevice"
159 > Identifier "Keyboard0"
160 > Driver "kbd"
161 > EndSection
162 >
163 > Section "InputDevice"
164 > Identifier "Mouse0"
165 > Driver "mouse"
166 > Option "Protocol" "auto"
167 > Option "Device" "/dev/input/mice"
168 > Option "ZAxisMapping" "4 5 6 7"
169 > EndSection
170 >
171 > Section "Extensions"
172 > Option "Composite" "Enable"
173 > EndSection
174 >
175 > Section "Device"
176 > ### Available Driver options are:-
177 > ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
178 > ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
179 > ### [arg]: arg optional
180 > #Option "NoAccel" # [<bool>]
181 > #Option "SWcursor" # [<bool>]
182 > #Option "ColorKey" # <i>
183 > #Option "CacheLines" # <i>
184 > #Option "Dac6Bit" # [<bool>]
185 > #Option "DRI" # [<bool>]
186 > #Option "NoDDC" # [<bool>]
187 > #Option "ShowCache" # [<bool>]
188 > #Option "XvMCSurfaces" # <i>
189 > #Option "PageFlip" # [<bool>]
190 > Identifier "Card0"
191 > Driver "nvidia"
192 > Option "monitor-VGA1" "Samsung740n"
193 > EndSection
194 >
195 > Section "Monitor"
196 > Identifier "Samsung740n"
197 > VendorName "Samsung"
198 > ModelName "740n"
199 > Option "PreferredMode" "1280x1024"
200 > HorizSync 30-81
201 > VertRefresh 56-75
202 > EndSection
203 >
204 > Section "Screen"
205 > Identifier "Screen0"
206 > Device "Card0"
207 > Monitor "Samsung740n"
208 > DefaultDepth 24
209 > SubSection "Display"
210 > Viewport 0 0
211 > Depth 8
212 > Modes "1280x1024" "1024x768" "800x600"
213 > EndSubSection
214 > SubSection "Display"
215 > Viewport 0 0
216 > Depth 16
217 > Modes "1280x1024" "1024x768" "800x600"
218 > EndSubSection
219 > SubSection "Display"
220 > Viewport 0 0
221 > Depth 24
222 > Modes "1280x1024" "1024x768" "800x600"
223 > EndSubSection
224 > EndSection
225 >
226 >
227 > Section "ServerLayout"
228 > Identifier "dragonfly"
229 > Screen 0 "Screen0" 0 0
230 > InputDevice "Mouse0" "CorePointer"
231 > InputDevice "Keyboard0" "CoreKeyboard"
232 > EndSection
233 >
234 > dragonfly ~ #
235 >
236 >
237 >
238 > dragonfly ~ # rc-update show
239 > bootmisc | boot
240 > checkfs | boot
241 > checkroot | boot
242 > clock | boot
243 > consolefont | boot
244 > hald | default
245 > hostname | boot
246 > keymaps | boot
247 > local | default nonetwork
248 > localmount | boot
249 > modules | boot
250 > net.eth0 | default
251 > net.lo | boot
252 > netmount | default
253 > ntp-client | default
254 > ntpd | default
255 > rmnologin | boot
256 > sshd | default
257 > syslog-ng | default
258 > udev-postmount | default
259 > urandom | boot
260 > dragonfly ~ #
261 >
262 >
263 > dragonfly ~ # cat /var/log/Xorg.0.log
264 >
265 > X.Org X Server 1.6.5
266 > Release Date: 2009-10-11
267 > X Protocol Version 11, Revision 0
268 > Build Operating System: Linux 2.6.33-gentoo i686
269 > Current Operating System: Linux dragonfly 2.6.33-gentoo #5 SMP PREEMPT
270 > Mon Mar 1 12:49:22 PST 2010 i686
271 > Build Date: 01 March 2010 12:27:33PM
272 >
273 > Before reporting problems, check http://wiki.x.org
274 > to make sure that you have the latest version.
275 > Markers: (--) probed, (**) from config file, (==) default setting,
276 > (++) from command line, (!!) notice, (II) informational,
277 > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
278 > (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 1 12:55:09 2010
279 > (==) Using config file: "/etc/X11/xorg.conf"
280 > (==) ServerLayout "dragonfly"
281 > (**) |-->Screen "Screen0" (0)
282 > (**) | |-->Monitor "Samsung740n"
283 > (**) | |-->Device "Card0"
284 > (**) |-->Input Device "Mouse0"
285 > (**) |-->Input Device "Keyboard0"
286 > (==) Automatically adding devices
287 > (==) Automatically enabling devices
288 > (WW) The directory "/usr/share/fonts/misc/" does not exist.
289 > Entry deleted from font path.
290 > (WW) The directory "/usr/share/fonts/TTF/" does not exist.
291 > Entry deleted from font path.
292 > (WW) The directory "/usr/share/fonts/OTF" does not exist.
293 > Entry deleted from font path.
294 > (WW) The directory "/usr/share/fonts/Type1/" does not exist.
295 > Entry deleted from font path.
296 > (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
297 > Entry deleted from font path.
298 > (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
299 > Entry deleted from font path.
300 > (WW) The directory "/usr/share/fonts/misc/" does not exist.
301 > Entry deleted from font path.
302 > (WW) The directory "/usr/share/fonts/TTF/" does not exist.
303 > Entry deleted from font path.
304 > (WW) The directory "/usr/share/fonts/OTF" does not exist.
305 > Entry deleted from font path.
306 > (WW) The directory "/usr/share/fonts/Type1/" does not exist.
307 > Entry deleted from font path.
308 > (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
309 > Entry deleted from font path.
310 > (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
311 > Entry deleted from font path.
312 > (**) FontPath set to:
313 >
314 > (**) ModulePath set to "/usr/lib/xorg/modules"
315 > (**) Extension "Composite" is enabled
316 > (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
317 > 'vmmouse' will be disabled.
318 > (WW) Disabling Mouse0
319 > (WW) Disabling Keyboard0
320 > (II) Loader magic: 0x1aa0
321 > (II) Module ABI versions:
322 > X.Org ANSI C Emulation: 0.4
323 > X.Org Video Driver: 5.0
324 > X.Org XInput driver : 4.0
325 > X.Org Server Extension : 2.0
326 > (II) Loader running on linux
327 > (++) using VT number 7
328 >
329 > (--) PCI:*(0:1:0:0) 10de:0221:3842:a401 nVidia Corporation NV44A
330 > [GeForce 6200] rev 161, Mem @ 0xf8000000/16777216,
331 > 0xf9000000/16777216, BIOS @ 0x????????/131072
332 > (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
333 > (II) No APM support in BIOS or kernel
334 > (II) System resource ranges:
335 > [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
336 > [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
337 > [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
338 > [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
339 > [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
340 > [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
341 > (II) "extmod" will be loaded. This was enabled by default and also
342 > specified in the config file.
343 > (II) "dbe" will be loaded by default.
344 > (II) "glx" will be loaded. This was enabled by default and also
345 > specified in the config file.
346 > (II) "record" will be loaded by default.
347 > (II) "dri" will be loaded by default.
348 > (II) "dri2" will be loaded by default.
349 > (II) LoadModule: "extmod"
350 > (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
351 > (II) Module extmod: vendor="X.Org Foundation"
352 > compiled for 1.6.5, module version = 1.0.0
353 > Module class: X.Org Server Extension
354 > ABI class: X.Org Server Extension, version 2.0
355 > (II) Loading extension MIT-SCREEN-SAVER
356 > (II) Loading extension XFree86-VidModeExtension
357 > (II) Loading extension XFree86-DGA
358 > (II) Loading extension DPMS
359 > (II) Loading extension XVideo
360 > (II) Loading extension XVideo-MotionCompensation
361 > (II) Loading extension X-Resource
362 > (II) LoadModule: "glx"
363 > (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
364 > (II) Module glx: vendor="NVIDIA Corporation"
365 > compiled for 4.0.2, module version = 1.0.0
366 > Module class: X.Org Server Extension
367 > (II) NVIDIA GLX Module 190.53 Tue Dec 8 20:47:42 PST 2009
368 > (II) Loading extension GLX
369 > (II) LoadModule: "dbe"
370 > (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
371 > (II) Module dbe: vendor="X.Org Foundation"
372 > compiled for 1.6.5, module version = 1.0.0
373 > Module class: X.Org Server Extension
374 > ABI class: X.Org Server Extension, version 2.0
375 > (II) Loading extension DOUBLE-BUFFER
376 > (II) LoadModule: "record"
377 > (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
378 > (II) Module record: vendor="X.Org Foundation"
379 > compiled for 1.6.5, module version = 1.13.0
380 > Module class: X.Org Server Extension
381 > ABI class: X.Org Server Extension, version 2.0
382 > (II) Loading extension RECORD
383 > (II) LoadModule: "dri"
384 > (WW) Warning, couldn't open module dri
385 > (II) UnloadModule: "dri"
386 > (EE) Failed to load module "dri" (module does not exist, 0)
387 > (II) LoadModule: "dri2"
388 > (WW) Warning, couldn't open module dri2
389 > (II) UnloadModule: "dri2"
390 > (EE) Failed to load module "dri2" (module does not exist, 0)
391 > (II) LoadModule: "nvidia"
392 > (II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
393 > (II) Module nvidia: vendor="NVIDIA Corporation"
394 > compiled for 4.0.2, module version = 1.0.0
395 > Module class: X.Org Video Driver
396 > (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
397 > (EE) NVIDIA: system's kernel log for additional error messages.
398 > (II) UnloadModule: "nvidia"
399 > (II) Unloading /usr/lib/xorg/modules/drivers//nvidia_drv.so
400 > (EE) Failed to load module "nvidia" (module-specific error, 0)
401 > (EE) No drivers available.
402 >
403 > Fatal server error:
404 > no screens found
405 >
406 > Please consult the The X.Org Foundation support
407 > at http://wiki.x.org
408 > for help.
409 > Please also check the log file at "/var/log/Xorg.0.log" for additional
410 > information.
411 >
412 > dragonfly ~ #
413 >
414 Nvidia's site seems to say that your card is supported up to the current
415 release; perhaps try the latest version and see if it works? I seem to
416 remember Nvidia's driver is rather kernel-version specific; if you're
417 using a recent kernel, you should probably use a recent driver.
418
419 http://www.nvidia.com/object/linux_display_ia32_190.53.html
420
421 John Moe