2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Linux Module Utilities"
8 config BUSYBOX_CONFIG_MODPROBE_SMALL
9 bool "Simplified modutils"
14 With this option modprobe does not require modules.dep file
15 and does not use /etc/modules.conf file.
16 It scans module files in /lib/modules/`uname -r` and
17 determines dependencies and module alias names on the fly.
18 This may make module loading slower, most notably
19 when one needs to load module by alias (this requires
20 scanning through module _bodies_).
22 At the first attempt to load a module by alias modprobe
23 will try to generate modules.dep.bb file in order to speed up
24 future loads by alias. Failure to do so (read-only /lib/modules,
25 etc) is not reported, and future modprobes will be slow too.
27 NB: modules.dep.bb file format is not compatible
28 with modules.dep file as created/used by standard module tools.
30 Additional module parameters can be stored in
31 /etc/modules/$module_name files.
33 Apart from modprobe, other utilities are also provided:
34 - insmod is an alias to modprobe
35 - rmmod is an alias to modprobe -r
36 - depmod generates modules.dep.bb
38 As of 2008-07, this code is experimental. It is 14kb smaller
39 than "non-small" modutils.
41 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
42 bool "Accept module options on modprobe command line"
44 depends on BUSYBOX_CONFIG_MODPROBE_SMALL
46 Allow insmod and modprobe take module options from command line.
48 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
49 bool "Skip loading of already loaded modules"
51 depends on BUSYBOX_CONFIG_MODPROBE_SMALL
53 Check if the module is already loaded.
55 config BUSYBOX_CONFIG_INSMOD
58 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
60 insmod is used to load specified modules in the running kernel.
62 config BUSYBOX_CONFIG_RMMOD
65 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
67 rmmod is used to unload specified modules from the kernel.
69 config BUSYBOX_CONFIG_LSMOD
72 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
74 lsmod is used to display a list of loaded modules.
76 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
79 depends on BUSYBOX_CONFIG_LSMOD
81 This option makes output format of lsmod adjusted to
82 the format of module-init-tools for Linux kernel 2.6.
83 Increases size somewhat.
85 config BUSYBOX_CONFIG_MODPROBE
88 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
90 Handle the loading of modules, and their dependencies on a high
93 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
94 bool "Blacklist support"
96 depends on BUSYBOX_CONFIG_MODPROBE
98 Say 'y' here to enable support for the 'blacklist' command in
99 modprobe.conf. This prevents the alias resolver to resolve
100 blacklisted modules. This is useful if you want to prevent your
101 hardware autodetection scripts to load modules like evdev, frame
104 config BUSYBOX_CONFIG_DEPMOD
107 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
109 depmod generates modules.dep (and potentially modules.alias
110 and modules.symbols) that contain dependency information
113 comment "Options common to multiple modutils"
115 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
116 bool "Support version 2.2/2.4 Linux kernels"
118 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_LSMOD
120 Support module loading for 2.2.x and 2.4.x Linux kernels.
121 This increases size considerably. Say N unless you plan
122 to run ancient kernels.
124 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
125 bool "Enable module version checking"
127 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
129 Support checking of versions for modules. This is used to
130 ensure that the kernel and module are made for each other.
132 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
133 bool "Add module symbols to kernel symbol table"
135 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
137 By adding module symbols to the kernel symbol table, Oops messages
138 occuring within kernel modules can be properly debugged. By enabling
139 this feature, module symbols will always be added to the kernel symbol
140 table for proper debugging support. If you are not interested in
141 Oops messages from kernel modules, say N.
143 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
144 bool "In kernel memory optimization (uClinux only)"
146 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
148 This is a special uClinux only memory optimization that lets insmod
149 load the specified kernel module directly into kernel space, reducing
150 memory usage by preventing the need for two copies of the module
151 being loaded into memory.
153 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
154 bool "Enable insmod load map (-m) option"
156 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD
158 Enabling this, one would be able to get a load map
159 output on stdout. This makes kernel module debugging
161 If you don't plan to debug kernel modules, you
162 don't need this option.
164 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
165 bool "Symbols in load map"
167 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_CONFIG_MODPROBE_SMALL
169 Without this option, -m will only output section
170 load map. With this option, -m will also output
173 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
174 bool "Support tainted module checking with new kernels"
176 depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL
178 Support checking for tainted modules. These are usually binary
179 only modules that will make the linux-kernel list ignore your
181 This option is required to support GPLONLY modules.
183 config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS
184 bool "Support for module.aliases file"
186 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
188 Generate and parse modules.alias containing aliases for bus
190 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
192 and aliases for logical modules names e.g.:
193 alias padlock_aes aes
195 alias aes_generic aes
199 config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS
200 bool "Support for module.symbols file"
202 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
204 Generate and parse modules.symbols containing aliases for
205 symbol_request() kernel calls, such as:
206 alias symbol:usb_sg_init usbcore
210 config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR
211 string "Default directory containing modules"
212 default "/lib/modules"
213 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL
215 Directory that contains kernel modules.
216 Defaults to "/lib/modules"
218 config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE
219 string "Default name of modules.dep"
220 default "modules.dep"
221 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL
223 Filename that contains kernel modules dependencies.
224 Defaults to "modules.dep"