Results 1 to 4 of 4
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 ...
- 01-05-2006 #1
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:Code:# 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:Code:depmod 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."Code:/sbin/generate-modprobe.conf /etc/modprobe.conf modprobe: Can't open dependencies file /lib/modules/2.4.25-ROM/modules.dep (No such file or directory)
Any ideas anyone?Registered Linux user #389109
My Semi-Linux Blog
- 01-07-2006 #2Just Joined!
- Join Date
- Dec 2005
- Posts
- 54
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.
- 01-09-2006 #3
depmod -a gives the same errror as depmod - how can I tell if module loading is supported in this kernel?
Registered Linux user #389109
My Semi-Linux Blog
- 01-09-2006 #4Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
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/srcCode:kernow@ulysses(~)$ zcat /proc/config.gz | grep MODULES CONFIG_MODULES=y kernow@ulysses(~)$


Reply With Quote