Config.in 6.6 KB

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