Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User stokes's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    274

    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:

    Code:
    # modprobe ndiswrapper
    FATAL: Could not load /lib/modules/2.4.25-ROM/modules.dep: No such file or directory
    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:
    depmod
    depmod: QM_MODULES: Function not implemented
    I've also tried generate-modprobe.conf from the module-init-tools and this happened:

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

    Any ideas anyone?
    Registered Linux user #389109
    My Semi-Linux Blog

  2. #2
    Just 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.

  3. #3
    Linux User stokes's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    274
    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

  4. #4
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    if only it were 2.6 you could do
    Code:
    kernow@ulysses(~)$ zcat /proc/config.gz | grep MODULES
    CONFIG_MODULES=y
    kernow@ulysses(~)$
    but 2.4 has no such feature, unless you manage to dig out the config from somewhere in /usr/src


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •