Frequently Asked Module User Questions

Q) I'm using RedHat and modules don't autoload any more.
A) RedHat turns module autoloading off if /proc/ksyms isn't found.
   Change line 337 of /etc/rc.d/rc.sysinit from:

  if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then

   to

  if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; then

Q) Things still don't load properly.
A) Use generate-module.conf to generate an /etc/module.conf from your
   old setup.

Q) Module dependencies aren't correct: module A doesn't load module B, and
   complains about undefined symbols.
A) Upgrade to 0.9.9 or above.

Q) generate-module.conf says "Usage: mktemp [-d] [-q] [-u] template"?
A) Update to 0.9.9, or change line 16 from
 	MODPROBECONF=`mktemp`
   to
	MODPROBECONF=`mktemp /tmp/modprobe.XXXXXX`

Q) Sound doesn't load automatically.
A) You need to set up an alias (or install command) for "sound-slot-0" in
   /etc/modprobe.conf: the ALSA sound system seems to want this.

Q) What is "[unsafe]" next to the module name in lsmod?
A) It means somone used an old-style interfaces to try to control this
   module: these are slowly being tracked down and eliminated.  You can
   use "rmmod -f" to force removal if you configured your kernel with
   CONFIG_MODULE_FORCE_UNLOAD set.

Q) I'm having trouble inserting out-of-tree modules
A) See discussion at
   http://hypermail.idiosynkrasia.net/linux-kernel/archived/2002/week23/0162.html


