Problem with modules.dep
Hi and happy new year to all, :)
I need a hand with my modules.dep on Slackware 10.2. The problem is it's missing or in the wrong place, and I need to either create one or get modprobe to look in the right directory. I discovered this when installing ndiswrapper and doing the "modprobe ndiswrapper" at the end:
Don't ask me why my kernel version is 2.4.25-ROM, it's something to do with it being a Cobalt microserver but I can't fathom it out as I chose bare.i when I was doing the install. Anyway, I tried creating a modules.dep using depmod and this happened:
# modprobe ndiswrapper
FATAL: Could not load /lib/modules/2.4.25-ROM/modules.dep: No such file or directory
I've also tried generate-modprobe.conf from the module-init-tools and this happened:
depmod: QM_MODULES: Function not implemented
I do have a modules.dep in /lib/modules/2.4.29/modules.dep, but if I copy it to /lib/modules/2.4.25-ROM and try modprobe ndiswrapper again I get "FATAL: Module ndiswrapper not found."
modprobe: Can't open dependencies file /lib/modules/2.4.25-ROM/modules.dep (No such file or directory)
Any ideas anyone?
Try depmod -a , that should rebuild the module.dep file. If you get that QM_MODULES: Function not emplimented error you might want to check that module loading is supported in that kernel.
You might want to also try updating modutils to the latest available.
depmod -a gives the same errror as depmod - how can I tell if module loading is supported in this kernel?
if only it were 2.6 you could do
but 2.4 has no such feature, unless you manage to dig out the config from somewhere in /usr/src
kernow@ulysses(~)$ zcat /proc/config.gz | grep MODULES