Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] nvidia GeForce 6200 questions Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] nvidia GeForce 6200 questions Neil Walker <neil@×××××××.nu>
Re: [gentoo-user] nvidia GeForce 6200 questions "John H. Moe" <johnmoe@××××××××××××.au>
[gentoo-user] Re: nvidia GeForce 6200 questions Mark Knecht <markknecht@×××××.com>