1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
7 menu "Linux Module Utilities"
9 config BUSYBOX_CONFIG_MODINFO
13 Show information about a Linux Kernel module
15 config BUSYBOX_CONFIG_MODPROBE_SMALL
16 bool "Simplified modutils"
18 select BUSYBOX_CONFIG_PLATFORM_LINUX
22 With this option modprobe does not require modules.dep file
23 and does not use /etc/modules.conf file.
24 It scans module files in /lib/modules/`uname -r` and
25 determines dependencies and module alias names on the fly.
26 This may make module loading slower, most notably
27 when one needs to load module by alias (this requires
28 scanning through module _bodies_).
30 At the first attempt to load a module by alias modprobe
31 will try to generate modules.dep.bb file in order to speed up
32 future loads by alias. Failure to do so (read-only /lib/modules,
33 etc) is not reported, and future modprobes will be slow too.
35 NB: modules.dep.bb file format is not compatible
36 with modules.dep file as created/used by standard module tools.
38 Additional module parameters can be stored in
39 /etc/modules/$module_name files.
41 Apart from modprobe, other utilities are also provided:
42 - insmod is an alias to modprobe
43 - rmmod is an alias to modprobe -r
44 - depmod generates modules.dep.bb
46 As of 2008-07, this code is experimental. It is 14kb smaller
47 than "non-small" modutils.
49 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
50 bool "Accept module options on modprobe command line"
52 depends on BUSYBOX_CONFIG_MODPROBE_SMALL
53 select BUSYBOX_CONFIG_PLATFORM_LINUX
55 Allow insmod and modprobe take module options from command line.
57 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
58 bool "Skip loading of already loaded modules"
60 depends on BUSYBOX_CONFIG_MODPROBE_SMALL
62 Check if the module is already loaded.
64 config BUSYBOX_CONFIG_INSMOD
67 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
68 select BUSYBOX_CONFIG_PLATFORM_LINUX
70 insmod is used to load specified modules in the running kernel.
72 config BUSYBOX_CONFIG_RMMOD
75 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
76 select BUSYBOX_CONFIG_PLATFORM_LINUX
78 rmmod is used to unload specified modules from the kernel.
80 config BUSYBOX_CONFIG_LSMOD
83 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
84 select BUSYBOX_CONFIG_PLATFORM_LINUX
86 lsmod is used to display a list of loaded modules.
88 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
91 depends on BUSYBOX_CONFIG_LSMOD
92 select BUSYBOX_CONFIG_PLATFORM_LINUX
94 This option makes output format of lsmod adjusted to
95 the format of module-init-tools for Linux kernel 2.6.
96 Increases size somewhat.
98 config BUSYBOX_CONFIG_MODPROBE
101 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
102 select BUSYBOX_CONFIG_PLATFORM_LINUX
104 Handle the loading of modules, and their dependencies on a high
107 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
108 bool "Blacklist support"
110 depends on BUSYBOX_CONFIG_MODPROBE
111 select BUSYBOX_CONFIG_PLATFORM_LINUX
113 Say 'y' here to enable support for the 'blacklist' command in
114 modprobe.conf. This prevents the alias resolver to resolve
115 blacklisted modules. This is useful if you want to prevent your
116 hardware autodetection scripts to load modules like evdev, frame
119 config BUSYBOX_CONFIG_DEPMOD
122 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
123 select BUSYBOX_CONFIG_PLATFORM_LINUX
125 depmod generates modules.dep (and potentially modules.alias
126 and modules.symbols) that contain dependency information
129 comment "Options common to multiple modutils"
131 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
132 bool "Support version 2.2/2.4 Linux kernels"
134 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_LSMOD
135 select BUSYBOX_CONFIG_PLATFORM_LINUX
137 Support module loading for 2.2.x and 2.4.x Linux kernels.
138 This increases size considerably. Say N unless you plan
139 to run ancient kernels.
141 config BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP
142 bool "Try to load module from a mmap'ed area"
144 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE_SMALL
145 select BUSYBOX_CONFIG_PLATFORM_LINUX
147 This option causes module loading code to try to mmap
148 module first. If it does not work (for example,
149 it does not work for compressed modules), module will be read
150 (and unpacked if needed) into a memory block allocated by malloc.
152 The only case when mmap works but malloc does not is when
153 you are trying to load a big module on a very memory-constrained
154 machine. Malloc will momentarily need 2x as much memory as mmap.
156 Choosing N saves about 250 bytes of code (on 32-bit x86).
158 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
159 bool "Enable module version checking"
161 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
162 select BUSYBOX_CONFIG_PLATFORM_LINUX
164 Support checking of versions for modules. This is used to
165 ensure that the kernel and module are made for each other.
167 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
168 bool "Add module symbols to kernel symbol table"
170 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
171 select BUSYBOX_CONFIG_PLATFORM_LINUX
173 By adding module symbols to the kernel symbol table, Oops messages
174 occuring within kernel modules can be properly debugged. By enabling
175 this feature, module symbols will always be added to the kernel symbol
176 table for proper debugging support. If you are not interested in
177 Oops messages from kernel modules, say N.
179 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
180 bool "In kernel memory optimization (uClinux only)"
182 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
183 select BUSYBOX_CONFIG_PLATFORM_LINUX
185 This is a special uClinux only memory optimization that lets insmod
186 load the specified kernel module directly into kernel space, reducing
187 memory usage by preventing the need for two copies of the module
188 being loaded into memory.
190 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
191 bool "Enable insmod load map (-m) option"
193 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD
194 select BUSYBOX_CONFIG_PLATFORM_LINUX
196 Enabling this, one would be able to get a load map
197 output on stdout. This makes kernel module debugging
199 If you don't plan to debug kernel modules, you
200 don't need this option.
202 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
203 bool "Symbols in load map"
205 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_CONFIG_MODPROBE_SMALL
206 select BUSYBOX_CONFIG_PLATFORM_LINUX
208 Without this option, -m will only output section
209 load map. With this option, -m will also output
212 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
213 bool "Support tainted module checking with new kernels"
215 depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL
216 select BUSYBOX_CONFIG_PLATFORM_LINUX
218 Support checking for tainted modules. These are usually binary
219 only modules that will make the linux-kernel list ignore your
221 This option is required to support GPLONLY modules.
223 config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS
224 bool "Support for module.aliases file"
226 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
227 select BUSYBOX_CONFIG_PLATFORM_LINUX
229 Generate and parse modules.alias containing aliases for bus
231 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
233 and aliases for logical modules names e.g.:
234 alias padlock_aes aes
236 alias aes_generic aes
240 config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS
241 bool "Support for module.symbols file"
243 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
244 select BUSYBOX_CONFIG_PLATFORM_LINUX
246 Generate and parse modules.symbols containing aliases for
247 symbol_request() kernel calls, such as:
248 alias symbol:usb_sg_init usbcore
252 config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR
253 string "Default directory containing modules"
254 default "/lib/modules"
255 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
257 Directory that contains kernel modules.
258 Defaults to "/lib/modules"
260 config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE
261 string "Default name of modules.dep"
262 default "modules.dep"
263 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
265 Filename that contains kernel modules dependencies.
266 Defaults to "modules.dep"