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

Re: registering a module



El(On) Tue, 7 Jan 2003 13:31:01 -0500 (EST)
Luc Lefebvre <luc.lefebvre@mcgill.ca> escribió(wrote):

> Hi,
> 
> I compiled a kernel module from source.  It intalled in 
> /lib/modules/<version>/comedi/comedi <it's the comedi module and drivers>.  
> I then ran update-modules.  I added comedi and ni_mio_cs <the 2 modules I 
> would like to load at boot> into /etc/modules.  When I boot the system 
> complains that it can't find modules comedi and ni_mio_cs even though they 
> are there </lib/modules/<version>/comedi/comedi/comedi.o and 
> comedi/drivers/ni_mio_cs.o, the directory tree comedi/.... is a symbolic 
> link created by stow>.  If I run modprobe -l "ni*" or modprobe -l "co*" 
> comedi or ni_mio_cs aren't listed.

Try "depmod -a". That command searches the /lib/modules/* directories for
modules and builds the modules.dep file which contains the modules dependencies.
More information : man depmod.

Hope it helps.

-- 
 ______________________________________________________
                                  ______  _____________
  Marcelo Ramos                  |      \/       __    |
  Debian Sid GNU/Linux 2.4.20    |              |_/    /
  Socio UYLUG Nro 125            |                     \
  Linux registered user #118109  |_____|\/|_____|\______\



Reply to: