disabling modules at boot time

Wade Hampton wadehamptoniv at gmail.com
Wed May 9 20:44:58 UTC 2007


Good idea except when the original modprobe could cause a lockup of
the box....  I was hoping there was a clean way of preventing a module
from loading at startup via modprobe but then later being able to
modprobe the module.

My solution is to add this to /etc/modprobe.conf
  alias wct4xxp off
  alias zaptel off

And when I need them:
  /sbin/modprobe crc_ccitt
  /sbin/insmod /lib/modules/$(uname -r)/misc/zaptel.ko
  /sbin/insmod /lib/modules/$(uname -r)/misc/wct4xxp/wct4xxp.ko

Not clean at all and more of a hack.  There should be SOME way of
delaying loading of modules at powerup time.
--
W




More information about the users mailing list