Tech Journal Back to Tech Journal

The Linux kernel fails to auto-load modules


These are just some of the symptoms of the kernel not auto-loading modules. The whole concept of the kernel auto-loading modules was something of a bit of magic that was introduced with a thing called KERNELD and later replaced with KMOD. First of all, make sure your kernel has been configured with one of those enabled. To tell KMOD where the modprobe program is, do this command:

echo /sbin/modprobe > /proc/sys/kernel/modprobe

Unless you do that, then the the KMOD doesn't know how to run probes for loading new modules, so it may seem that KMOD isn't working.

Also (from the Documentation/modules.txt) you may want to unload unused modules, using a cron line like:

0-59 * * * *	/sbin/rmmod -a
Last updated on 2005-07-29 14:00:00 -0700, by Shalom Craimer

Back to Tech Journal