Frequently Asked Module User Questions

Q) Is there an RPM of this?
A) Arjan has done some: http://people.redhat.com/arjanv/2.5/RPMS.kernel/

Q) I get "/usr/bin/ld: cannot find -lc"
A) You need to install a development package which contains libc.a.

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) Do you have an /etc/modprobe.conf?  If not, use
   generate-modprobe.conf to generate an /etc/modprobe.conf from your
   old setup.

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


