File: FAQ

package info (click to toggle)
module-init-tools 3.4-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,208 kB
  • ctags: 900
  • sloc: sh: 7,980; ansic: 5,036; makefile: 204
file content (33 lines) | stat: -rw-r--r-- 1,296 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Frequently Asked Module User Questions

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) Old versions of 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 kernel source tree documentation: Documentation/kbuild/modules.txt