Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/modutils/Config.in
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/modutils/Config.in
r1765 r2725 1 # DO NOT EDIT. This file is generated from Config.src 1 2 # 2 3 # For a description of the syntax of this configuration file, … … 5 6 6 7 menu "Linux Module Utilities" 8 depends on PLATFORM_LINUX 9 10 config MODINFO 11 bool "modinfo" 12 default y 13 help 14 Show information about a Linux Kernel module 15 16 config MODPROBE_SMALL 17 bool "Simplified modutils" 18 default y 19 help 20 Simplified modutils. 21 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_). 29 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. 34 35 NB: modules.dep.bb file format is not compatible 36 with modules.dep file as created/used by standard module tools. 37 38 Additional module parameters can be stored in 39 /etc/modules/$module_name files. 40 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 45 46 As of 2008-07, this code is experimental. It is 14kb smaller 47 than "non-small" modutils. 48 49 config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE 50 bool "Accept module options on modprobe command line" 51 default y 52 depends on MODPROBE_SMALL 53 help 54 Allow insmod and modprobe take module options from command line. 55 56 config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED 57 bool "Skip loading of already loaded modules" 58 default y 59 depends on MODPROBE_SMALL 60 help 61 Check if the module is already loaded. 7 62 8 63 config INSMOD 9 64 bool "insmod" 10 65 default n 66 depends on !MODPROBE_SMALL 11 67 help 12 68 insmod is used to load specified modules in the running kernel. 13 69 70 config RMMOD 71 bool "rmmod" 72 default n 73 depends on !MODPROBE_SMALL 74 help 75 rmmod is used to unload specified modules from the kernel. 76 77 config LSMOD 78 bool "lsmod" 79 default n 80 depends on !MODPROBE_SMALL 81 help 82 lsmod is used to display a list of loaded modules. 83 84 config FEATURE_LSMOD_PRETTY_2_6_OUTPUT 85 bool "Pretty output" 86 default n 87 depends on LSMOD 88 help 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. 92 93 config MODPROBE 94 bool "modprobe" 95 default n 96 depends on !MODPROBE_SMALL 97 help 98 Handle the loading of modules, and their dependencies on a high 99 level. 100 101 config FEATURE_MODPROBE_BLACKLIST 102 bool "Blacklist support" 103 default n 104 depends on MODPROBE 105 help 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 110 buffer drivers etc. 111 112 config DEPMOD 113 bool "depmod" 114 default n 115 depends on !MODPROBE_SMALL 116 help 117 depmod generates modules.dep (and potentially modules.alias 118 and modules.symbols) that contain dependency information 119 for modprobe. 120 121 comment "Options common to multiple modutils" 122 123 config FEATURE_2_4_MODULES 124 bool "Support version 2.2/2.4 Linux kernels" 125 default n 126 depends on INSMOD || RMMOD || LSMOD 127 help 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. 131 132 config FEATURE_INSMOD_TRY_MMAP 133 bool "Try to load module from a mmap'ed area" 134 default n 135 depends on INSMOD || MODPROBE_SMALL 136 help 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. 141 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. 145 146 Choosing N saves about 250 bytes of code (on 32-bit x86). 147 14 148 config FEATURE_INSMOD_VERSION_CHECKING 15 bool " Module version checking"16 default n 17 depends on INSMOD && FEATURE_2_4_MODULES18 help 19 Support checking of versions for modules. 149 bool "Enable module version checking" 150 default n 151 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) 152 help 153 Support checking of versions for modules. This is used to 20 154 ensure that the kernel and module are made for each other. 21 155 … … 23 157 bool "Add module symbols to kernel symbol table" 24 158 default n 25 depends on INSMOD && FEATURE_2_4_MODULES159 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) 26 160 help 27 161 By adding module symbols to the kernel symbol table, Oops messages 28 occuring within kernel modules can be properly debugged. 162 occuring within kernel modules can be properly debugged. By enabling 29 163 this feature, module symbols will always be added to the kernel symbol 30 table for proper ly debugging support.If you are not interested in164 table for proper debugging support. If you are not interested in 31 165 Oops messages from kernel modules, say N. 32 166 … … 34 168 bool "In kernel memory optimization (uClinux only)" 35 169 default n 36 depends on INSMOD && FEATURE_2_4_MODULES170 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) 37 171 help 38 172 This is a special uClinux only memory optimization that lets insmod … … 42 176 43 177 config FEATURE_INSMOD_LOAD_MAP 44 bool "Enable load map (-m) option"45 default n 46 depends on INSMOD && ( FEATURE_2_4_MODULES || FEATURE_2_6_MODULES )178 bool "Enable insmod load map (-m) option" 179 default n 180 depends on FEATURE_2_4_MODULES && INSMOD 47 181 help 48 182 Enabling this, one would be able to get a load map … … 55 189 bool "Symbols in load map" 56 190 default y 57 depends on FEATURE_INSMOD_LOAD_MAP 191 depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL 58 192 help 59 193 Without this option, -m will only output section 60 load map. 194 load map. With this option, -m will also output 61 195 symbols load map. 62 196 63 config RMMOD64 bool "rmmod"65 default n66 help67 rmmod is used to unload specified modules from the kernel.68 69 config LSMOD70 bool "lsmod"71 default n72 help73 lsmod is used to display a list of loaded modules.74 75 config FEATURE_LSMOD_PRETTY_2_6_OUTPUT76 bool "lsmod pretty output for 2.6.x Linux kernels "77 default n78 depends on LSMOD79 help80 This option makes output format of lsmod adjusted to81 the format of module-init-tools for Linux kernel 2.6.82 83 config MODPROBE84 bool "modprobe"85 default n86 help87 Handle the loading of modules, and their dependencies on a high88 level.89 90 Note that in the state, modprobe does not understand multiple91 module options from the configuration file. See option below.92 93 config FEATURE_MODPROBE_MULTIPLE_OPTIONS94 bool95 prompt "Multiple options parsing" if NITPICK96 default y97 depends on MODPROBE98 help99 Allow modprobe to understand more than one option to pass to100 modules.101 102 This is a WIP, while waiting for a common argument parsing103 common amongst all BB applets (shell, modprobe, etc...) and104 adds around 600 bytes on x86, 700 bytes on ARM. The code is105 biggish and uggly, but just works.106 107 Saying Y here is not a bad idea if you're not that short108 on storage capacity.109 110 config FEATURE_MODPROBE_FANCY_ALIAS111 bool112 prompt "Fancy alias parsing" if NITPICK113 default y114 depends on MODPROBE && FEATURE_2_6_MODULES115 help116 Say 'y' here to enable parsing of aliases with underscore/dash117 mismatch between module name and file name, along with bus-specific118 aliases (such as pci:... or usb:... aliases).119 120 comment "Options common to multiple modutils"121 depends on INSMOD || RMMOD || MODPROBE || LSMOD122 123 197 config FEATURE_CHECK_TAINTED_MODULE 124 # Simulate indentation125 198 bool "Support tainted module checking with new kernels" 126 199 default y 127 depends on INSMOD || LSMOD128 help 129 Support checking for tainted modules. 200 depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL 201 help 202 Support checking for tainted modules. These are usually binary 130 203 only modules that will make the linux-kernel list ignore your 131 204 support request. 132 205 This option is required to support GPLONLY modules. 133 206 134 config FEATURE_2_4_MODULES 135 # Simulate indentation 136 bool "Support version 2.2.x to 2.4.x Linux kernels" 137 default y 138 depends on INSMOD || RMMOD || MODPROBE 139 help 140 Support module loading for 2.2.x and 2.4.x Linux kernels. 141 142 config FEATURE_2_6_MODULES 143 # Simulate indentation 144 bool "Support version 2.6.x Linux kernels" 145 default y 146 depends on INSMOD || RMMOD || MODPROBE 147 help 148 Support module loading for newer 2.6.x Linux kernels. 149 150 151 config FEATURE_QUERY_MODULE_INTERFACE 152 bool 153 default y 154 depends on FEATURE_2_4_MODULES && !FEATURE_2_6_MODULES 155 207 config FEATURE_MODUTILS_ALIAS 208 bool "Support for module.aliases file" 209 default y 210 depends on DEPMOD || MODPROBE 211 help 212 Generate and parse modules.alias containing aliases for bus 213 identifiers: 214 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs 215 216 and aliases for logical modules names e.g.: 217 alias padlock_aes aes 218 alias aes_i586 aes 219 alias aes_generic aes 220 221 Say Y if unsure. 222 223 config FEATURE_MODUTILS_SYMBOLS 224 bool "Support for module.symbols file" 225 default y 226 depends on DEPMOD || MODPROBE 227 help 228 Generate and parse modules.symbols containing aliases for 229 symbol_request() kernel calls, such as: 230 alias symbol:usb_sg_init usbcore 231 232 Say Y if unsure. 233 234 config DEFAULT_MODULES_DIR 235 string "Default directory containing modules" 236 default "/lib/modules" 237 depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO 238 help 239 Directory that contains kernel modules. 240 Defaults to "/lib/modules" 241 242 config DEFAULT_DEPMOD_FILE 243 string "Default name of modules.dep" 244 default "modules.dep" 245 depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO 246 help 247 Filename that contains kernel modules dependencies. 248 Defaults to "modules.dep" 156 249 157 250 endmenu 158
Note:
See TracChangeset
for help on using the changeset viewer.