Welcome to the Linux Foundation Forum!

add or remove modules


hi all,

i want to know how we know ,which modules in board we wants & which modules those we don't want & how is it interconnected.how we can add or remove that modules....how is it used...i am a beginner..pls help me.......


  • mfillpot
    mfillpot Posts: 2,177
    Generally the correct kernel modules are auto-detected and loaded without issues. You can use the output of lsmod to determine which modules you need in your kernel. You use the modprobe command to load and unload modules.
  • shobin
    shobin Posts: 4
    edited February 2012

    thank u...but how to know which modules are necessary & whichever unnecessary in that kernel....how to remove it?..& how to add some modules whenever we want?...how to know the modules interconnected with another one?...how it is automatically removed?..pls help me.......
  • Goineasy9
    Goineasy9 Posts: 1,114
    Linux.com has any howto's, for a basic understanding you can read this one:

    There are also some youtube videos that explain kernel module management, such as:

    Then again, if you want to get much deeper into learning about Linux kernel modules, you can always check out the IBM Technical Library, which explains them in detail: https://www.ibm.com/developerworks/linux/library/l-lkm/

    But, as Joe wrote in his summary in the first link I gave you:
    "Most of the time, you'll only need to mess with kernel modules if your distribution doesn't support hardware out of the box or when you're working with third-party applications like VMware that supply kernel modules of their own."


Upcoming Training