1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see docs/Kconfig-language.txt.
7 menu "Linux Module Utilities"
9 config BUSYBOX_MODPROBE_SMALL
10 bool "Simplified modutils"
13 Build smaller (~1.5 kbytes), simplified module tools.
15 This option by itself does not enable any applets -
16 you need to select applets individually below.
18 With this option modprobe does not require modules.dep file
19 and does not use /etc/modules.conf file.
20 It scans module files in /lib/modules/`uname -r` and
21 determines dependencies and module alias names on the fly.
22 This may make module loading slower, most notably
23 when one needs to load module by alias (this requires
24 scanning through module _bodies_).
26 At the first attempt to load a module by alias modprobe
27 will try to generate modules.dep.bb file in order to speed up
28 future loads by alias. Failure to do so (read-only /lib/modules,
29 etc) is not reported, and future modprobes will be slow too.
31 NB: modules.dep.bb file format is not compatible
32 with modules.dep file as created/used by standard module tools.
34 Additional module parameters can be stored in
35 /etc/modules/$module_name files.
41 depmod generates modules.dep (and potentially modules.alias
42 and modules.symbols) that contain dependency information
48 insmod is used to load specified modules in the running kernel.
53 lsmod is used to display a list of loaded modules.
55 config BUSYBOX_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
58 depends on BUSYBOX_LSMOD && !BUSYBOX_MODPROBE_SMALL
60 This option makes output format of lsmod adjusted to
61 the format of module-init-tools for Linux kernel 2.6.
62 Increases size somewhat.
63 config BUSYBOX_MODINFO
64 bool "modinfo (24 kb)"
67 Show information about a Linux Kernel module
68 config BUSYBOX_MODPROBE
69 bool "modprobe (28 kb)"
72 Handle the loading of modules, and their dependencies on a high
75 config BUSYBOX_FEATURE_MODPROBE_BLACKLIST
76 bool "Blacklist support"
78 depends on BUSYBOX_MODPROBE && !BUSYBOX_MODPROBE_SMALL
80 Say 'y' here to enable support for the 'blacklist' command in
81 modprobe.conf. This prevents the alias resolver to resolve
82 blacklisted modules. This is useful if you want to prevent your
83 hardware autodetection scripts to load modules like evdev, frame
89 rmmod is used to unload specified modules from the kernel.
91 comment "Options common to multiple modutils"
93 config BUSYBOX_FEATURE_CMDLINE_MODULE_OPTIONS
94 bool "Accept module options on modprobe command line"
96 depends on BUSYBOX_INSMOD || BUSYBOX_MODPROBE
98 Allow insmod and modprobe take module options from the applets'
101 config BUSYBOX_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
102 bool "Skip loading of already loaded modules"
104 depends on BUSYBOX_MODPROBE_SMALL && (BUSYBOX_DEPMOD || BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
106 Check if the module is already loaded.
108 config BUSYBOX_FEATURE_2_4_MODULES
109 bool "Support version 2.2/2.4 Linux kernels"
111 depends on (BUSYBOX_INSMOD || BUSYBOX_LSMOD || BUSYBOX_MODPROBE || BUSYBOX_RMMOD) && !BUSYBOX_MODPROBE_SMALL
113 Support module loading for 2.2.x and 2.4.x Linux kernels.
114 This increases size considerably. Say N unless you plan
115 to run ancient kernels.
117 config BUSYBOX_FEATURE_INSMOD_VERSION_CHECKING
118 bool "Enable module version checking"
120 depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
122 Support checking of versions for modules. This is used to
123 ensure that the kernel and module are made for each other.
125 config BUSYBOX_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
126 bool "Add module symbols to kernel symbol table"
128 depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
130 By adding module symbols to the kernel symbol table, Oops messages
131 occurring within kernel modules can be properly debugged. By enabling
132 this feature, module symbols will always be added to the kernel symbol
133 table for proper debugging support. If you are not interested in
134 Oops messages from kernel modules, say N.
136 config BUSYBOX_FEATURE_INSMOD_LOADINKMEM
137 bool "In kernel memory optimization (uClinux only)"
139 depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
141 This is a special uClinux only memory optimization that lets insmod
142 load the specified kernel module directly into kernel space, reducing
143 memory usage by preventing the need for two copies of the module
144 being loaded into memory.
146 config BUSYBOX_FEATURE_INSMOD_LOAD_MAP
147 bool "Enable insmod load map (-m) option"
149 depends on BUSYBOX_FEATURE_2_4_MODULES && BUSYBOX_INSMOD
151 Enabling this, one would be able to get a load map
152 output on stdout. This makes kernel module debugging
154 If you don't plan to debug kernel modules, you
155 don't need this option.
157 config BUSYBOX_FEATURE_INSMOD_LOAD_MAP_FULL
158 bool "Symbols in load map"
160 depends on BUSYBOX_FEATURE_INSMOD_LOAD_MAP
162 Without this option, -m will only output section
163 load map. With this option, -m will also output
166 config BUSYBOX_FEATURE_CHECK_TAINTED_MODULE
167 bool "Support tainted module checking with new kernels"
169 depends on (BUSYBOX_LSMOD || BUSYBOX_FEATURE_2_4_MODULES) && !BUSYBOX_MODPROBE_SMALL
171 Support checking for tainted modules. These are usually binary
172 only modules that will make the linux-kernel list ignore your
174 This option is required to support GPLONLY modules.
176 config BUSYBOX_FEATURE_INSMOD_TRY_MMAP
177 bool "Try to load module from a mmap'ed area"
179 depends on (BUSYBOX_INSMOD || BUSYBOX_MODPROBE) && !BUSYBOX_MODPROBE_SMALL
181 This option causes module loading code to try to mmap
182 module first. If it does not work (for example,
183 it does not work for compressed modules), module will be read
184 (and unpacked if needed) into a memory block allocated by malloc.
186 The only case when mmap works but malloc does not is when
187 you are trying to load a big module on a very memory-constrained
188 machine. Malloc will momentarily need 2x as much memory as mmap.
190 Choosing N saves about 250 bytes of code (on 32-bit x86).
192 config BUSYBOX_FEATURE_MODUTILS_ALIAS
193 bool "Support module.aliases file"
195 depends on (BUSYBOX_DEPMOD || BUSYBOX_MODPROBE) && !BUSYBOX_MODPROBE_SMALL
197 Generate and parse modules.alias containing aliases for bus
199 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
201 and aliases for logical modules names e.g.:
202 alias padlock_aes aes
204 alias aes_generic aes
208 config BUSYBOX_FEATURE_MODUTILS_SYMBOLS
209 bool "Support module.symbols file"
211 depends on (BUSYBOX_DEPMOD || BUSYBOX_MODPROBE) && !BUSYBOX_MODPROBE_SMALL
213 Generate and parse modules.symbols containing aliases for
214 symbol_request() kernel calls, such as:
215 alias symbol:usb_sg_init usbcore
219 config BUSYBOX_DEFAULT_MODULES_DIR
220 string "Default directory containing modules"
221 default "/lib/modules"
222 depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODINFO
224 Directory that contains kernel modules.
225 Defaults to "/lib/modules"
227 config BUSYBOX_DEFAULT_DEPMOD_FILE
228 string "Default name of modules.dep"
229 default "modules.dep"
230 depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODINFO
232 Filename that contains kernel modules dependencies.
233 Defaults to "modules.dep".
234 If you configured the "simplified modutils" (BUSYBOX_MODPROBE_SMALL), a
235 ".bb" suffix will be added after this name. Do not specify ".bb"
236 here unless you intend your depmod or modprobe to work on
237 "modules.dep.bb.bb" or such.