Welcome to the Linux Foundation Forum!

add or remove modules

Options

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

  • mfillpot
    mfillpot Posts: 2,177
    Options
    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
    Options
    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.......
  • Goineasy9
    Goineasy9 Posts: 1,114
    Options
    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:
    https://www.youtube.com/watch?v=fxLQpU9j8L0

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

Categories

Upcoming Training