1

Is there any way how to stop unused module to loadable kernel module other than putting them in the mod probe blacklist.

  • 3
    What is the problem with blacklisting? – jasonwryan Mar 31 '13 at 3:43
  • Kernel is not that smart yet – daisy Mar 31 '13 at 4:12
  • 1
    @jasonwryan i want to stop loading of external modules i.e. related to application or os or whatever it may be. my intention is that no one should insert module using insmod/modprobe after booting. – subbarao Mar 31 '13 at 4:56
  • @jasonwryan if i know which module i am inserting i can put it in blacklist but i want to generalize so that whatever module it is it can't be loadable. i mean i want to block loading of modules. – subbarao Mar 31 '13 at 4:59
  • any one reply me – subbarao Mar 31 '13 at 5:25
0

If the kernel is loading modules that aren't needed, that is a bug, pure and simple. First make sure your "unused modules" aren't really dependencies for modules you are using, then find out how to reproduce it simply (hopefully without any closed source modules), and report it to your distribution.

Anything else is just papering over a problem, and might cause problems on its own.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.