Find the answer to your Linux question:
Results 1 to 2 of 2
1. How to generate the dependency module ? make install is looking for /lib/modules/<k version> and also for the dependency module (modules.dep) Who generates them ? I generated the /lib/modules/<k ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    19

    dependency module k3.2.31


    1. How to generate the dependency module ?

    make install is looking for /lib/modules/<k version>
    and also for the dependency module (modules.dep)
    Who generates them ?

    I generated the /lib/modules/<k version> by mkdir
    and tried to generate the dependency modules by:

    depmod -a -e -F System.map 3.2.31

    depmod generated meaningless (in size) files in /lib/modules/<k
    version>

    there should be some automatic mechanism that does that
    2.
    README file of the kernel does not explain how to uninstall
    (make uninstall ? does not exist) after make install
    Last edited by dubi; 10-18-2012 at 11:24 AM.

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,237
    You install the modules from the kernel build directory by typing "make modules_install". Then run depmod.

    Uninstalling a kernel is easily done by hand. Just delete it from /boot and delete the modules directory /lib/modules/
    $KVER. But don't do it unless you know for certain that you can boot successfully to a replacement kernel!
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

Posting Permissions

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