Re: Loading modules at startup, particullarly NVdrivers
Op di 12-11-2002, om 17:21 schreef Joris:
> > This is elementary I sure but I have never gotten it right.
> >
> > My modules never loaded at startup. I tried putting a script in rc2.d
> > with /sbin/depmod but this has no effect - i.e. lsmod shows nothing.
> >
> > Recently I installed a Geforce4 MX440 board. With help from the list I
> > got the proper tar files from Nvidia and, if I go to /lib/.../video and
> > run insmod ./NVdriver and then xdm everything works perfectly. On
> > bootup, however, the driver module is not installed and xdm fails.
> >
> > I would appreciate a little coaching to straighten this out.
> >
>
> try adding a line containing just "NVdriver" to /etc/modules
> (as root)
> # echo NVdriver >> /etc/modules
>
> if you compile your nvidia drivers The Debian Way (using make-kpkg), a
> file /etc/modutils/nvidia-kernel-<kernel-version> is created containing
> the following two lines:
> alias /dev/nvidia* NVdriver
> alias char-major-195 NVdriver
>
> this also works (after running update-modules)
>
You also have to change XF86Config-4:
# Device configured by xf86config:
Section "Device"
Identifier "NVIDIA GeForce"
Driver "nvidia"
EndSection
--
Saluttekes,
/\lco
Reply to: