[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Loading modules at startup, particullarly NVdrivers



> 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)

greetz,

Joris



Reply to: