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"
8 depends on BUSYBOX_CONFIG_PLATFORM_LINUX
10 config BUSYBOX_CONFIG_MODINFO
14 Show information about a Linux Kernel module
16 config BUSYBOX_CONFIG_MODPROBE_SMALL
17 bool "Simplified modutils"
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
54 Allow insmod and modprobe take module options from command line.
56 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
57 bool "Skip loading of already loaded modules"
59 depends on BUSYBOX_CONFIG_MODPROBE_SMALL
61 Check if the module is already loaded.
63 config BUSYBOX_CONFIG_INSMOD
66 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
68 insmod is used to load specified modules in the running kernel.
70 config BUSYBOX_CONFIG_RMMOD
73 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
75 rmmod is used to unload specified modules from the kernel.
77 config BUSYBOX_CONFIG_LSMOD
80 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
82 lsmod is used to display a list of loaded modules.
84 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
87 depends on BUSYBOX_CONFIG_LSMOD
89 This option makes output format of lsmod adjusted to
90 the format of module-init-tools for Linux kernel 2.6.
91 Increases size somewhat.
93 config BUSYBOX_CONFIG_MODPROBE
96 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
98 Handle the loading of modules, and their dependencies on a high
101 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
102 bool "Blacklist support"
104 depends on BUSYBOX_CONFIG_MODPROBE
106 Say 'y' here to enable support for the 'blacklist' command in
107 modprobe.conf. This prevents the alias resolver to resolve
108 blacklisted modules. This is useful if you want to prevent your
109 hardware autodetection scripts to load modules like evdev, frame
112 config BUSYBOX_CONFIG_DEPMOD
115 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
117 depmod generates modules.dep (and potentially modules.alias
118 and modules.symbols) that contain dependency information
121 comment "Options common to multiple modutils"
123 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
124 bool "Support version 2.2/2.4 Linux kernels"
126 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_LSMOD
128 Support module loading for 2.2.x and 2.4.x Linux kernels.
129 This increases size considerably. Say N unless you plan
130 to run ancient kernels.
132 config BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP
133 bool "Try to load module from a mmap'ed area"
135 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE_SMALL
137 This option causes module loading code to try to mmap
138 module first. If it does not work (for example,
139 it does not work for compressed modules), module will be read
140 (and unpacked if needed) into a memory block allocated by malloc.
142 The only case when mmap works but malloc does not is when
143 you are trying to load a big module on a very memory-constrained
144 machine. Malloc will momentarily need 2x as much memory as mmap.
146 Choosing N saves about 250 bytes of code (on 32-bit x86).
148 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
149 bool "Enable module version checking"
151 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
153 Support checking of versions for modules. This is used to
154 ensure that the kernel and module are made for each other.
156 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
157 bool "Add module symbols to kernel symbol table"
159 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
161 By adding module symbols to the kernel symbol table, Oops messages
162 occuring within kernel modules can be properly debugged. By enabling
163 this feature, module symbols will always be added to the kernel symbol
164 table for proper debugging support. If you are not interested in
165 Oops messages from kernel modules, say N.
167 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
168 bool "In kernel memory optimization (uClinux only)"
170 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
172 This is a special uClinux only memory optimization that lets insmod
173 load the specified kernel module directly into kernel space, reducing
174 memory usage by preventing the need for two copies of the module
175 being loaded into memory.
177 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
178 bool "Enable insmod load map (-m) option"
180 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD
182 Enabling this, one would be able to get a load map
183 output on stdout. This makes kernel module debugging
185 If you don't plan to debug kernel modules, you
186 don't need this option.
188 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
189 bool "Symbols in load map"
191 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_CONFIG_MODPROBE_SMALL
193 Without this option, -m will only output section
194 load map. With this option, -m will also output
197 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
198 bool "Support tainted module checking with new kernels"
200 depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL
202 Support checking for tainted modules. These are usually binary
203 only modules that will make the linux-kernel list ignore your
205 This option is required to support GPLONLY modules.
207 config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS
208 bool "Support for module.aliases file"
210 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
212 Generate and parse modules.alias containing aliases for bus
214 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
216 and aliases for logical modules names e.g.:
217 alias padlock_aes aes
219 alias aes_generic aes
223 config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS
224 bool "Support for module.symbols file"
226 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
228 Generate and parse modules.symbols containing aliases for
229 symbol_request() kernel calls, such as:
230 alias symbol:usb_sg_init usbcore
234 config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR
235 string "Default directory containing modules"
236 default "/lib/modules"
237 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
239 Directory that contains kernel modules.
240 Defaults to "/lib/modules"
242 config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE
243 string "Default name of modules.dep"
244 default "modules.dep"
245 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
247 Filename that contains kernel modules dependencies.
248 Defaults to "modules.dep"