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
12 select BUSYBOX_CONFIG_PLATFORM_LINUX
14 Show information about a Linux Kernel module
16 config BUSYBOX_CONFIG_MODPROBE_SMALL
17 bool "Simplified modutils"
19 select BUSYBOX_CONFIG_PLATFORM_LINUX
23 With this option modprobe does not require modules.dep file
24 and does not use /etc/modules.conf file.
25 It scans module files in /lib/modules/`uname -r` and
26 determines dependencies and module alias names on the fly.
27 This may make module loading slower, most notably
28 when one needs to load module by alias (this requires
29 scanning through module _bodies_).
31 At the first attempt to load a module by alias modprobe
32 will try to generate modules.dep.bb file in order to speed up
33 future loads by alias. Failure to do so (read-only /lib/modules,
34 etc) is not reported, and future modprobes will be slow too.
36 NB: modules.dep.bb file format is not compatible
37 with modules.dep file as created/used by standard module tools.
39 Additional module parameters can be stored in
40 /etc/modules/$module_name files.
42 Apart from modprobe, other utilities are also provided:
43 - insmod is an alias to modprobe
44 - rmmod is an alias to modprobe -r
45 - depmod generates modules.dep.bb
47 As of 2008-07, this code is experimental. It is 14kb smaller
48 than "non-small" modutils.
50 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
51 bool "Accept module options on modprobe command line"
53 depends on BUSYBOX_CONFIG_MODPROBE_SMALL
54 select BUSYBOX_CONFIG_PLATFORM_LINUX
56 Allow insmod and modprobe take module options from command line.
58 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
59 bool "Skip loading of already loaded modules"
61 depends on BUSYBOX_CONFIG_MODPROBE_SMALL
63 Check if the module is already loaded.
65 config BUSYBOX_CONFIG_INSMOD
68 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
69 select BUSYBOX_CONFIG_PLATFORM_LINUX
71 insmod is used to load specified modules in the running kernel.
73 config BUSYBOX_CONFIG_RMMOD
76 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
77 select BUSYBOX_CONFIG_PLATFORM_LINUX
79 rmmod is used to unload specified modules from the kernel.
81 config BUSYBOX_CONFIG_LSMOD
84 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
85 select BUSYBOX_CONFIG_PLATFORM_LINUX
87 lsmod is used to display a list of loaded modules.
89 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
92 depends on BUSYBOX_CONFIG_LSMOD
93 select BUSYBOX_CONFIG_PLATFORM_LINUX
95 This option makes output format of lsmod adjusted to
96 the format of module-init-tools for Linux kernel 2.6.
97 Increases size somewhat.
99 config BUSYBOX_CONFIG_MODPROBE
102 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
103 select BUSYBOX_CONFIG_PLATFORM_LINUX
105 Handle the loading of modules, and their dependencies on a high
108 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
109 bool "Blacklist support"
111 depends on BUSYBOX_CONFIG_MODPROBE
112 select BUSYBOX_CONFIG_PLATFORM_LINUX
114 Say 'y' here to enable support for the 'blacklist' command in
115 modprobe.conf. This prevents the alias resolver to resolve
116 blacklisted modules. This is useful if you want to prevent your
117 hardware autodetection scripts to load modules like evdev, frame
120 config BUSYBOX_CONFIG_DEPMOD
123 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
124 select BUSYBOX_CONFIG_PLATFORM_LINUX
126 depmod generates modules.dep (and potentially modules.alias
127 and modules.symbols) that contain dependency information
130 comment "Options common to multiple modutils"
132 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
133 bool "Support version 2.2/2.4 Linux kernels"
135 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_LSMOD
136 select BUSYBOX_CONFIG_PLATFORM_LINUX
138 Support module loading for 2.2.x and 2.4.x Linux kernels.
139 This increases size considerably. Say N unless you plan
140 to run ancient kernels.
142 config BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP
143 bool "Try to load module from a mmap'ed area"
145 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE_SMALL
146 select BUSYBOX_CONFIG_PLATFORM_LINUX
148 This option causes module loading code to try to mmap
149 module first. If it does not work (for example,
150 it does not work for compressed modules), module will be read
151 (and unpacked if needed) into a memory block allocated by malloc.
153 The only case when mmap works but malloc does not is when
154 you are trying to load a big module on a very memory-constrained
155 machine. Malloc will momentarily need 2x as much memory as mmap.
157 Choosing N saves about 250 bytes of code (on 32-bit x86).
159 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
160 bool "Enable module version checking"
162 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
163 select BUSYBOX_CONFIG_PLATFORM_LINUX
165 Support checking of versions for modules. This is used to
166 ensure that the kernel and module are made for each other.
168 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
169 bool "Add module symbols to kernel symbol table"
171 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
172 select BUSYBOX_CONFIG_PLATFORM_LINUX
174 By adding module symbols to the kernel symbol table, Oops messages
175 occuring within kernel modules can be properly debugged. By enabling
176 this feature, module symbols will always be added to the kernel symbol
177 table for proper debugging support. If you are not interested in
178 Oops messages from kernel modules, say N.
180 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
181 bool "In kernel memory optimization (uClinux only)"
183 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
184 select BUSYBOX_CONFIG_PLATFORM_LINUX
186 This is a special uClinux only memory optimization that lets insmod
187 load the specified kernel module directly into kernel space, reducing
188 memory usage by preventing the need for two copies of the module
189 being loaded into memory.
191 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
192 bool "Enable insmod load map (-m) option"
194 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD
195 select BUSYBOX_CONFIG_PLATFORM_LINUX
197 Enabling this, one would be able to get a load map
198 output on stdout. This makes kernel module debugging
200 If you don't plan to debug kernel modules, you
201 don't need this option.
203 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
204 bool "Symbols in load map"
206 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_CONFIG_MODPROBE_SMALL
207 select BUSYBOX_CONFIG_PLATFORM_LINUX
209 Without this option, -m will only output section
210 load map. With this option, -m will also output
213 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
214 bool "Support tainted module checking with new kernels"
216 depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL
217 select BUSYBOX_CONFIG_PLATFORM_LINUX
219 Support checking for tainted modules. These are usually binary
220 only modules that will make the linux-kernel list ignore your
222 This option is required to support GPLONLY modules.
224 config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS
225 bool "Support for module.aliases file"
227 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
228 select BUSYBOX_CONFIG_PLATFORM_LINUX
230 Generate and parse modules.alias containing aliases for bus
232 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
234 and aliases for logical modules names e.g.:
235 alias padlock_aes aes
237 alias aes_generic aes
241 config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS
242 bool "Support for module.symbols file"
244 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
245 select BUSYBOX_CONFIG_PLATFORM_LINUX
247 Generate and parse modules.symbols containing aliases for
248 symbol_request() kernel calls, such as:
249 alias symbol:usb_sg_init usbcore
253 config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR
254 string "Default directory containing modules"
255 default "/lib/modules"
256 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
258 Directory that contains kernel modules.
259 Defaults to "/lib/modules"
261 config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE
262 string "Default name of modules.dep"
263 default "modules.dep"
264 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
266 Filename that contains kernel modules dependencies.
267 Defaults to "modules.dep"