1 |
On Tuesday 02 March 2010 00:04:08 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 |
19 |
> drivers: |
20 |
> |
21 |
> http://www.nvidia.com/object/linux_display_ia32_173.14.25.html |
22 |
> |
23 |
> Because modinfo nvidia suggested it depended on them I've added |
24 |
> agpgart and i2c-core to modules.autoload and after booting this is |
25 |
> what's loaded: |
26 |
> |
27 |
> dragonfly ~ # lsmod |
28 |
> Module Size Used by |
29 |
> ipv6 176929 18 |
30 |
> sg 19077 0 |
31 |
> usb_storage 29021 0 |
32 |
> usbhid 18281 0 |
33 |
> snd_intel8x0 19155 0 |
34 |
> snd_ac97_codec 76628 1 snd_intel8x0 |
35 |
> ac97_bus 662 1 snd_ac97_codec |
36 |
> snd_pcm 42338 2 snd_intel8x0,snd_ac97_codec |
37 |
> ehci_hcd 27089 0 |
38 |
> uhci_hcd 15779 0 |
39 |
> snd_timer 11966 1 snd_pcm |
40 |
> usbcore 87247 4 usb_storage,usbhid,ehci_hcd,uhci_hcd |
41 |
> agpgart 19136 0 |
42 |
> snd 31592 4 |
43 |
> snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer 8139cp 12993 |
44 |
> 0 |
45 |
> soundcore 3607 1 snd |
46 |
> rtc 6022 0 |
47 |
> 8139too 14560 0 |
48 |
> i2c_core 11618 0 |
49 |
> snd_page_alloc 4685 2 snd_intel8x0,snd_pcm |
50 |
> processor 20861 0 |
51 |
> thermal 9266 0 |
52 |
> button 3526 0 |
53 |
> thermal_sys 8333 2 processor,thermal |
54 |
> dragonfly ~ # |
55 |
> |
56 |
> When I try to load the nvidia driver it just complains: |
57 |
> |
58 |
> dragonfly ~ # modprobe nvidia |
59 |
> FATAL: Error inserting nvidia |
60 |
> (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device |
61 |
|
62 |
The nvidia driver in not bundled with the kernel, it is an external third- |
63 |
party module. |
64 |
|
65 |
You need to set /usr/src/linux to point to the kernel(s) you intend to run, |
66 |
and emerge nvidia-drivers for each one. Then modprobe -r nvidia ; modprobe |
67 |
nvidia and restart X |
68 |
|
69 |
module-rebuild is a great tool for this. It knows what out-of-tree modules you |
70 |
use and the ebuilds that install them, and remembers the list (because the |
71 |
time will come when you forget and pull your hair out before you remember) |
72 |
|
73 |
|
74 |
-- |
75 |
alan dot mckinnon at gmail dot com |