home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / module-init-tools / FAQ < prev    next >
Encoding:
Text File  |  2006-09-30  |  1.3 KB  |  34 lines

  1. Frequently Asked Module User Questions
  2.  
  3. Q) I get "/usr/bin/ld: cannot find -lc"
  4. A) You need to install a development package which contains libc.a.
  5.  
  6. Q) I'm using RedHat and modules don't autoload any more.
  7. A) Old versions of RedHat turns module autoloading off if /proc/ksyms
  8.    isn't found.  Change line 337 of /etc/rc.d/rc.sysinit from:
  9.  
  10.   if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
  11.  
  12.    to
  13.  
  14.   if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; then
  15.  
  16. Q) Things still don't load properly.
  17. A) Do you have an /etc/modprobe.conf?  If not, use
  18.    generate-modprobe.conf to generate an /etc/modprobe.conf from your
  19.    old setup.
  20.  
  21. Q) Sound doesn't load automatically.
  22. A) You need to set up an alias (or install command) for "sound-slot-0" in
  23.    /etc/modprobe.conf: the ALSA sound system seems to want this.
  24.  
  25. Q) What is "[unsafe]" next to the module name in lsmod?
  26. A) It means somone used an old-style interfaces to try to control this
  27.    module: these are slowly being tracked down and eliminated.  You can
  28.    use "rmmod -f" to force removal if you configured your kernel with
  29.    CONFIG_MODULE_FORCE_UNLOAD set.
  30.  
  31. Q) I'm having trouble inserting out-of-tree modules
  32. A) See kernel source tree documentation: Documentation/kbuild/modules.txt
  33.    
  34.