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

Comments

  • mfillpotmfillpot Posts: 2,180
    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.
  • shobinshobin Posts: 4
    edited February 2012
    hi,

    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.......
  • Goineasy9Goineasy9 Posts: 1,116
    Linux.com has any howto's, for a basic understanding you can read this one:
    https://www.linux.com/learn/tutorials/396770:linux-kernel-module-management-101

    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."
Sign In or Register to comment.