5 |
|
|
6 |
menu "Linux Module Utilities" |
menu "Linux Module Utilities" |
7 |
|
|
|
config DEFAULT_MODULES_DIR |
|
|
string "Default directory containing modules" |
|
|
default "/lib/modules" |
|
|
help |
|
|
Directory that contains kernel modules. |
|
|
Defaults to "/lib/modules" |
|
|
|
|
|
config DEFAULT_DEPMOD_FILE |
|
|
string "Default name of modules.dep" |
|
|
default "modules.dep" |
|
|
help |
|
|
Filename that contains kernel modules dependencies. |
|
|
Defaults to "modules.dep" |
|
|
|
|
8 |
config MODPROBE_SMALL |
config MODPROBE_SMALL |
9 |
bool "Simplified modutils" |
bool "Simplified modutils" |
10 |
default n |
default n |
44 |
depends on MODPROBE_SMALL |
depends on MODPROBE_SMALL |
45 |
help |
help |
46 |
Allow insmod and modprobe take module options from command line. |
Allow insmod and modprobe take module options from command line. |
|
N.B. Very bloaty. |
|
47 |
|
|
48 |
config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED |
config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED |
49 |
bool "Skip loading of already loaded modules" |
bool "Skip loading of already loaded modules" |
51 |
depends on MODPROBE_SMALL |
depends on MODPROBE_SMALL |
52 |
help |
help |
53 |
Check if the module is already loaded. |
Check if the module is already loaded. |
|
N.B. It's racy. |
|
54 |
|
|
55 |
config INSMOD |
config INSMOD |
56 |
bool "insmod" |
bool "insmod" |
90 |
Handle the loading of modules, and their dependencies on a high |
Handle the loading of modules, and their dependencies on a high |
91 |
level. |
level. |
92 |
|
|
|
Note that in the state, modprobe does not understand multiple |
|
|
module options from the configuration file. See option below. |
|
|
|
|
93 |
config FEATURE_MODPROBE_BLACKLIST |
config FEATURE_MODPROBE_BLACKLIST |
94 |
bool |
bool "Blacklist support" |
|
prompt "Blacklist support" |
|
95 |
default n |
default n |
96 |
depends on MODPROBE |
depends on MODPROBE |
97 |
help |
help |
121 |
This increases size considerably. Say N unless you plan |
This increases size considerably. Say N unless you plan |
122 |
to run ancient kernels. |
to run ancient kernels. |
123 |
|
|
124 |
|
config FEATURE_INSMOD_TRY_MMAP |
125 |
|
bool "Try to load module from a mmap'ed area" |
126 |
|
default n |
127 |
|
depends on INSMOD || MODPROBE_SMALL |
128 |
|
help |
129 |
|
This option causes module loading code to try to mmap |
130 |
|
module first. If it does not work (for example, |
131 |
|
it does not work for compressed modules), module will be read |
132 |
|
(and unpacked if needed) into a memory block allocated by malloc. |
133 |
|
|
134 |
|
The only case when mmap works but malloc does not is when |
135 |
|
you are trying to load a big module on a very memory-constrained |
136 |
|
machine. Malloc will momentarily need 2x as much memory as mmap. |
137 |
|
|
138 |
|
Choosing N saves about 250 bytes of code (on 32-bit x86). |
139 |
|
|
140 |
config FEATURE_INSMOD_VERSION_CHECKING |
config FEATURE_INSMOD_VERSION_CHECKING |
141 |
bool "Enable module version checking" |
bool "Enable module version checking" |
142 |
default n |
default n |
153 |
By adding module symbols to the kernel symbol table, Oops messages |
By adding module symbols to the kernel symbol table, Oops messages |
154 |
occuring within kernel modules can be properly debugged. By enabling |
occuring within kernel modules can be properly debugged. By enabling |
155 |
this feature, module symbols will always be added to the kernel symbol |
this feature, module symbols will always be added to the kernel symbol |
156 |
table for properly debugging support. If you are not interested in |
table for proper debugging support. If you are not interested in |
157 |
Oops messages from kernel modules, say N. |
Oops messages from kernel modules, say N. |
158 |
|
|
159 |
config FEATURE_INSMOD_LOADINKMEM |
config FEATURE_INSMOD_LOADINKMEM |
189 |
config FEATURE_CHECK_TAINTED_MODULE |
config FEATURE_CHECK_TAINTED_MODULE |
190 |
bool "Support tainted module checking with new kernels" |
bool "Support tainted module checking with new kernels" |
191 |
default y |
default y |
192 |
depends on !MODPROBE_SMALL |
depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL |
193 |
help |
help |
194 |
Support checking for tainted modules. These are usually binary |
Support checking for tainted modules. These are usually binary |
195 |
only modules that will make the linux-kernel list ignore your |
only modules that will make the linux-kernel list ignore your |
223 |
|
|
224 |
Say Y if unsure. |
Say Y if unsure. |
225 |
|
|
226 |
|
config DEFAULT_MODULES_DIR |
227 |
|
string "Default directory containing modules" |
228 |
|
default "/lib/modules" |
229 |
|
depends on DEPMOD || MODPROBE || MODPROBE_SMALL |
230 |
|
help |
231 |
|
Directory that contains kernel modules. |
232 |
|
Defaults to "/lib/modules" |
233 |
|
|
234 |
|
config DEFAULT_DEPMOD_FILE |
235 |
|
string "Default name of modules.dep" |
236 |
|
default "modules.dep" |
237 |
|
depends on DEPMOD || MODPROBE || MODPROBE_SMALL |
238 |
|
help |
239 |
|
Filename that contains kernel modules dependencies. |
240 |
|
Defaults to "modules.dep" |
241 |
|
|
242 |
endmenu |
endmenu |