Config.in 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Linux Module Utilities"
  6. config BUSYBOX_CONFIG_MODINFO
  7. bool "modinfo"
  8. default n
  9. help
  10. Show information about a Linux Kernel module
  11. config BUSYBOX_CONFIG_MODPROBE_SMALL
  12. bool "Simplified modutils"
  13. default n
  14. help
  15. Simplified modutils.
  16. With this option modprobe does not require modules.dep file
  17. and does not use /etc/modules.conf file.
  18. It scans module files in /lib/modules/`uname -r` and
  19. determines dependencies and module alias names on the fly.
  20. This may make module loading slower, most notably
  21. when one needs to load module by alias (this requires
  22. scanning through module _bodies_).
  23. At the first attempt to load a module by alias modprobe
  24. will try to generate modules.dep.bb file in order to speed up
  25. future loads by alias. Failure to do so (read-only /lib/modules,
  26. etc) is not reported, and future modprobes will be slow too.
  27. NB: modules.dep.bb file format is not compatible
  28. with modules.dep file as created/used by standard module tools.
  29. Additional module parameters can be stored in
  30. /etc/modules/$module_name files.
  31. Apart from modprobe, other utilities are also provided:
  32. - insmod is an alias to modprobe
  33. - rmmod is an alias to modprobe -r
  34. - depmod generates modules.dep.bb
  35. As of 2008-07, this code is experimental. It is 14kb smaller
  36. than "non-small" modutils.
  37. config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
  38. bool "Accept module options on modprobe command line"
  39. default n
  40. depends on BUSYBOX_CONFIG_MODPROBE_SMALL
  41. help
  42. Allow insmod and modprobe take module options from command line.
  43. config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
  44. bool "Skip loading of already loaded modules"
  45. default n
  46. depends on BUSYBOX_CONFIG_MODPROBE_SMALL
  47. help
  48. Check if the module is already loaded.
  49. config BUSYBOX_CONFIG_INSMOD
  50. bool "insmod"
  51. default y
  52. depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
  53. help
  54. insmod is used to load specified modules in the running kernel.
  55. config BUSYBOX_CONFIG_RMMOD
  56. bool "rmmod"
  57. default y
  58. depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
  59. help
  60. rmmod is used to unload specified modules from the kernel.
  61. config BUSYBOX_CONFIG_LSMOD
  62. bool "lsmod"
  63. default y
  64. depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
  65. help
  66. lsmod is used to display a list of loaded modules.
  67. config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
  68. bool "Pretty output"
  69. default y
  70. depends on BUSYBOX_CONFIG_LSMOD
  71. help
  72. This option makes output format of lsmod adjusted to
  73. the format of module-init-tools for Linux kernel 2.6.
  74. Increases size somewhat.
  75. config BUSYBOX_CONFIG_MODPROBE
  76. bool "modprobe"
  77. default n
  78. depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
  79. help
  80. Handle the loading of modules, and their dependencies on a high
  81. level.
  82. config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
  83. bool "Blacklist support"
  84. default n
  85. depends on BUSYBOX_CONFIG_MODPROBE
  86. help
  87. Say 'y' here to enable support for the 'blacklist' command in
  88. modprobe.conf. This prevents the alias resolver to resolve
  89. blacklisted modules. This is useful if you want to prevent your
  90. hardware autodetection scripts to load modules like evdev, frame
  91. buffer drivers etc.
  92. config BUSYBOX_CONFIG_DEPMOD
  93. bool "depmod"
  94. default n
  95. depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
  96. help
  97. depmod generates modules.dep (and potentially modules.alias
  98. and modules.symbols) that contain dependency information
  99. for modprobe.
  100. comment "Options common to multiple modutils"
  101. config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
  102. bool "Support version 2.2/2.4 Linux kernels"
  103. default n
  104. depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_LSMOD
  105. help
  106. Support module loading for 2.2.x and 2.4.x Linux kernels.
  107. This increases size considerably. Say N unless you plan
  108. to run ancient kernels.
  109. config BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP
  110. bool "Try to load module from a mmap'ed area"
  111. default n
  112. depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE_SMALL
  113. help
  114. This option causes module loading code to try to mmap
  115. module first. If it does not work (for example,
  116. it does not work for compressed modules), module will be read
  117. (and unpacked if needed) into a memory block allocated by malloc.
  118. The only case when mmap works but malloc does not is when
  119. you are trying to load a big module on a very memory-constrained
  120. machine. Malloc will momentarily need 2x as much memory as mmap.
  121. Choosing N saves about 250 bytes of code (on 32-bit x86).
  122. config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
  123. bool "Enable module version checking"
  124. default n
  125. depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
  126. help
  127. Support checking of versions for modules. This is used to
  128. ensure that the kernel and module are made for each other.
  129. config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
  130. bool "Add module symbols to kernel symbol table"
  131. default n
  132. depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
  133. help
  134. By adding module symbols to the kernel symbol table, Oops messages
  135. occuring within kernel modules can be properly debugged. By enabling
  136. this feature, module symbols will always be added to the kernel symbol
  137. table for proper debugging support. If you are not interested in
  138. Oops messages from kernel modules, say N.
  139. config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
  140. bool "In kernel memory optimization (uClinux only)"
  141. default n
  142. depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
  143. help
  144. This is a special uClinux only memory optimization that lets insmod
  145. load the specified kernel module directly into kernel space, reducing
  146. memory usage by preventing the need for two copies of the module
  147. being loaded into memory.
  148. config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
  149. bool "Enable insmod load map (-m) option"
  150. default n
  151. depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD
  152. help
  153. Enabling this, one would be able to get a load map
  154. output on stdout. This makes kernel module debugging
  155. easier.
  156. If you don't plan to debug kernel modules, you
  157. don't need this option.
  158. config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
  159. bool "Symbols in load map"
  160. default n
  161. depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_CONFIG_MODPROBE_SMALL
  162. help
  163. Without this option, -m will only output section
  164. load map. With this option, -m will also output
  165. symbols load map.
  166. config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
  167. bool "Support tainted module checking with new kernels"
  168. default y
  169. depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL
  170. help
  171. Support checking for tainted modules. These are usually binary
  172. only modules that will make the linux-kernel list ignore your
  173. support request.
  174. This option is required to support GPLONLY modules.
  175. config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS
  176. bool "Support for module.aliases file"
  177. default n
  178. depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
  179. help
  180. Generate and parse modules.alias containing aliases for bus
  181. identifiers:
  182. alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
  183. and aliases for logical modules names e.g.:
  184. alias padlock_aes aes
  185. alias aes_i586 aes
  186. alias aes_generic aes
  187. Say Y if unsure.
  188. config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS
  189. bool "Support for module.symbols file"
  190. default n
  191. depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
  192. help
  193. Generate and parse modules.symbols containing aliases for
  194. symbol_request() kernel calls, such as:
  195. alias symbol:usb_sg_init usbcore
  196. Say Y if unsure.
  197. config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR
  198. string "Default directory containing modules"
  199. default "/lib/modules"
  200. depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
  201. help
  202. Directory that contains kernel modules.
  203. Defaults to "/lib/modules"
  204. config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE
  205. string "Default name of modules.dep"
  206. default "modules.dep"
  207. depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
  208. help
  209. Filename that contains kernel modules dependencies.
  210. Defaults to "modules.dep"
  211. endmenu