kernel-parameters.txt
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:15k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. July 2000   Kernel Parameters v2.4.0
  2.   ~~~~~~~~~~~~~~~~~
  3. The following is a consolidated list of the kernel parameters as implemented
  4. by the __setup() macro and sorted into English Dictionary order (defined      
  5. as ignoring all punctuation and sorting digits before letters in a case
  6. insensitive manner), and with descriptions where known.
  7. The text in square brackets at the beginning of the description state the
  8. restrictions on the kernel for the said kernel parameter to be valid. The
  9. restrictions referred to are that the relevant option is valid if:
  10. ACPI    ACPI support is enabled.
  11. APIC APIC support is enabled.
  12. APM  Advanced Power Management support is enabled.
  13. AX25 Appropriate AX.25 support is enabled.
  14. CD Appropriate CD support is enabled.
  15. DEVFS   devfs support is enabled. 
  16. DRM Direct Rendering Management support is enabled. 
  17. EFI EFI Partitioning (GPT) is enabled
  18. EIDE EIDE/ATAPI support is enabled.
  19. FB The frame buffer device is enabled.
  20. HW Appropriate hardware is enabled.
  21. IA-32 IA-32 aka i386 architecture is enabled.
  22. IA-64 IA-64 architecture is enabled.
  23. IP_PNP IP DCHP, BOOTP, or RARP is enabled.
  24. ISAPNP  ISA PnP code is enabled.
  25. ISDN Appropriate ISDN support is enabled.
  26. JOY  Appropriate joystick support is enabled.
  27. LP Printer support is enabled.
  28. LOOP Loopback device support is enabled.
  29. M68k M68k architecture is enabled. 
  30. MCA  MCA bus support is enabled.
  31. MDA  MDA console support is enabled.
  32. MOUSE Appropriate mouse support is enabled.
  33. NET  Appropriate network support is enabled.
  34. NFS  Appropriate NFS support is enabled.
  35. PARIDE The ParIDE subsystem is enabled.
  36. PCI  PCI bus support is enabled.
  37. PCMCIA The PCMCIA subsystem is enabled.
  38. PNP  Plug & Play support is enabled.
  39. PPT Parallel port support is enabled.
  40. PS2  Appropriate PS/2 support is enabled.
  41. RAM  RAM disk support is enabled.
  42. SCSI Appropriate SCSI support is enabled.
  43. SERIAL Serial support is enabled.
  44. SMP  The kernel is an SMP kernel.
  45. SOUND Appropriate sound system support is enabled.
  46. V4L Video For Linux support is enabled.
  47. VGA  The VGA console has been enabled.
  48. VT Virtual terminal support is enabled.
  49. XT IBM PC/XT MFM hard disk support is enabled.
  50. In addition, the following text indicates that the option:
  51. BUGS= Relates to possible processor bugs on the said processor.
  52. KNL  Is a kernel start-up parameter.
  53. BOOT Is a boot loader parameter.
  54. Parameters denoted with BOOT are actually interpreted by the boot
  55. loader, and have no meaning to the kernel directly.
  56. Note that ALL kernel parameters listed below are CASE SENSITIVE, and that
  57. a trailing = on the name of any parameter states that that parameter will
  58. be entered as an environment variable, whereas its absence indicates that
  59. it will appear as a kernel argument readable via /proc/cmdline by programs
  60. running once the system is up.
  61. 53c7xx= [HW,SCSI] Amiga SCSI controllers.
  62. acpi= [HW,ACPI] Advanced Configuration and Power Interface 
  63. acpismp=force [IA-32] Early setup parse and use ACPI SMP table.
  64.  
  65. ad1816= [HW,SOUND]
  66. ad1848= [HW,SOUND]
  67.  
  68. adb_buttons= [HW,MOUSE]
  69. adlib= [HW,SOUND]
  70.  
  71. advansys= [HW,SCSI]
  72. aedsp16= [HW,SOUND]
  73.  
  74. aha152x= [HW,SCSI]
  75. aha1542= [HW,SCSI]
  76. aic7xxx= [HW,SCSI]
  77. AM53C974= [HW,SCSI]
  78. amijoy= [HW,JOY] Amiga joystick support 
  79.  
  80. apm= [APM] Advanced Power Management.
  81. applicom= [HW]
  82.  
  83. arcrimi= [HW,NET]
  84. ataflop= [HW,M68k]
  85. atarimouse= [HW,MOUSE] Atari Mouse.
  86. atascsi= [HW,SCSI] Atari SCSI.
  87. awe=            [HW,SOUND]
  88.  
  89. aztcd= [HW,CD] Aztec CD driver.
  90. baycom_epp= [HW,AX25]
  91.  
  92. baycom_par=  [HW,AX25] BayCom Parallel Port AX.25 Modem.
  93. baycom_ser_fdx= [HW,AX25] BayCom Serial Port AX.25 Modem in Full
  94. Duplex Mode.
  95. baycom_ser_hdx= [HW,AX25] BayCom Serial Port AX.25 Modem in Half
  96. Duplex Mode.
  97. bmouse= [HW,MOUSE,PS2] Bus mouse.
  98. bttv.card= [HW,V4L] bttv (bt848 + bt878 based grabber cards), most
  99. bttv.radio= important insmod options are available as kernel args too.
  100. bttv.pll= see Documentation/video4linux/bttv/Insmod-options
  101. bttv.tuner= and Documentation/video4linux/bttv/CARDLIST
  102. BusLogic= [HW,SCSI]
  103. cdu31a= [HW,CD]
  104. chandev= [HW,NET] 
  105.  
  106. cm206= [HW,CD]
  107. com20020= [HW,NET]
  108. com90io= [HW,NET]
  109. com90xx= [HW,NET]
  110. condev= [HW]
  111.  
  112. console= [KNL] output console + comm spec (speed, control,
  113. parity).
  114. cpia_pp= [HW,PPT]
  115. cs4232= [HW,SOUND]
  116. cs89x0_dma= [HW,NET]
  117. ctc= [HW,NET]
  118.  
  119. cyclades= [HW,SERIAL] Cyclades multi-serial port adapter.
  120.  
  121. dasd= [HW,NET]    
  122. db9= [HW,JOY]
  123. db9_2= [HW,JOY]
  124. db9_3= [HW,JOY]
  125.  
  126. debug [KNL] Enable kernel debugging (events log level).
  127. decnet= [HW,NET]
  128. devfs=          [DEVFS]
  129.  
  130. digi= [HW,SERIAL] io parameters + enable/disable command.
  131. digiepca= [HW,SERIAL]
  132. dmascc= [HW,AX25,SERIAL] AX.25 Z80SCC driver with DMA
  133. support available.
  134. dmasound= [HW,SOUND] (sound subsystem buffers).
  135. dtc3181e= [HW,SCSI]
  136. eata= [HW,SCSI]
  137. eda= [HW,PS2]
  138. edb= [HW,PS2]
  139. eicon= [HW,ISDN] 
  140. es1370= [HW,SOUND]
  141. es1371= [HW,SOUND]
  142.  
  143. ether= [HW,NET] Ethernet cards parameters (irq,
  144. base_io_addr, mem_start, mem_end, name.
  145. (mem_start is often overloaded to mean something
  146. different and driver-specific).
  147. fd_mcs= [HW,SCSI]
  148. fdomain= [HW,SCSI]
  149. floppy= [HW]
  150. ftape= [HW] Floppy Tape subsystem debugging options.
  151. gamma= [HW,DRM]
  152. gc= [HW,JOY]
  153. gc_2= [HW,JOY]
  154.  
  155. gc_3= [HW,JOY]
  156.  
  157. gdth= [HW,SCSI]
  158. gpt             [EFI] Forces disk with valid GPT signature but
  159. invalid Protective MBR to be treated as GPT.
  160. gscd= [HW,CD]
  161. gus= [HW,SOUND] 
  162.  
  163. gvp11= [HW,SCSI]
  164. hd=  [EIDE] (E)IDE hard drive subsystem geometry
  165. (Cyl/heads/sectors) or tune parameters.
  166. hfmodem= [HW,AX25]
  167. hisax= [HW,ISDN]
  168. i810= [HW,DRM]
  169. ibmmcascsi= [HW,MCA,SCSI] IBM MicroChannel SCSI adapter.
  170. icn= [HW,ISDN]
  171. ide?= [HW] (E)IDE subsystem : config (iomem/irq), tuning or
  172. debugging (serialize,reset,no{dma,tune,probe}) or
  173. chipset specific parameters.
  174. idebus= [HW] (E)IDE subsystem : VLB/PCI bus speed.
  175. idle= [HW]
  176.  
  177. in2000= [HW,SCSI]
  178. init= [KNL]
  179. initrd= [BOOT] Specify the location of the initial ramdisk. 
  180. ip= [IP_PNP]
  181. isapnp= [ISAPNP] Specify RDP, reset, pci_scan and verbosity.
  182. isapnp_reserve_irq= [ISAPNP] Exclude IRQs for the autoconfiguration.
  183. isapnp_reserve_dma= [ISAPNP] Exclude DMAs for the autoconfiguration.
  184. isapnp_reserve_io= [ISAPNP] Exclude I/O ports for the autoconfiguration.
  185.     Ranges are in pairs (I/O port base and size).
  186. isapnp_reserve_mem= [ISAPNP] Exclude memory regions for the autoconfiguration.
  187.      Ranges are in pairs (memory base and size).
  188. isp16= [HW,CD]
  189. iucv= [HW,NET] 
  190. js= [HW,JOY] Analog joystick
  191.  
  192. kbd-reset [VT]
  193. keepinitrd [HW, ARM]
  194. load_ramdisk= [RAM] List of ramdisks to load from floppy.
  195. lockd.udpport= [NFS]
  196. lockd.tcpport= [NFS]
  197. logi_busmouse= [HW, MOUSE]
  198. lp=0 [LP] Specify parallel ports to use, e.g,
  199. lp=port[,port...] lp=none,parport0 (lp0 not configured, lp1 uses
  200. lp=reset first parallel port). 'lp=0' disables the
  201. lp=auto printer driver. 'lp=reset' (which can be
  202. specified in addition to the ports) causes
  203. attached printers to be reset. Using
  204. lp=port1,port2,... specifies the parallel ports
  205. to associate lp devices with, starting with
  206. lp0. A port specification may be 'none' to skip
  207. that lp device, or a parport name such as
  208. 'parport0'. Specifying 'lp=auto' instead of a
  209. port specification list means that device IDs
  210. from each port should be examined, to see if
  211. an IEEE 1284-compliant printer is attached; if
  212. so, the driver will manage that printer.
  213. ltpc= [HW]
  214. mac5380= [HW,SCSI]
  215. mac53c9x=  [HW,SCSI]
  216. mad16= [HW,SOUND]
  217. maui= [HW,SOUND]
  218.  
  219. max_loop=[0-255] [LOOP] Set the maximum number of loopback devices
  220. that can be mounted.
  221. maxcpus= [SMP] States the maximum number of processors that
  222. an SMP kernel should make use of.
  223. max_scsi_luns= [SCSI]
  224. mca-pentium [BUGS=IA-32]
  225. mcd= [HW,CD]
  226. mcdx= [HW,CD]
  227. md= [HW] RAID subsystems devices and level.
  228. mdisk= [HW]
  229.  
  230. mdacon= [MDA]
  231. megaraid= [HW,SCSI]
  232.  
  233. mem=exactmap [KNL,BOOT,IA-32] enable setting of an exact
  234. e820 memory map, as specified by the user.
  235. Such mem=exactmap lines can be constructed
  236. based on BIOS output or other requirements.
  237. mem=nn[KMG] [KNL,BOOT] force use of a specific amount of
  238. memory; to be used when the kernel is not able
  239. to see the whole system memory or for test.
  240. memfrac= [KNL]
  241. mga= [HW,DRM]
  242. mpu401= [HW,SOUND]
  243.  
  244. msmouse= [HW,MOUSE] Microsoft Mouse.
  245. ncr5380= [HW,SCSI]
  246. ncr53c400= [HW,SCSI]
  247. ncr53c400a= [HW,SCSI]
  248. ncr53c406a= [HW,SCSI]
  249. ncr53c8xx= [HW,SCSI]
  250. netdev= [NET] Ethernet cards parameters (irq,
  251. base_io_addr, mem_start, mem_end, name.
  252. (mem_start is often overloaded to mean something
  253. different and driver-specific).
  254. (cf: ether=)
  255.  
  256. nfsaddrs= [NFS]
  257. nfsroot= [NFS] nfs root filesystem for disk-less boxes.
  258. nmi_watchdog= [KNL,BUGS=IA-32] debugging features for SMP kernels.
  259. no387 [BUGS=IA-32] Tells the kernel to use the 387 maths
  260. emulation library even if a 387 maths coprocessor
  261. is present.
  262. noalign [KNL,ARM] 
  263.  
  264. noapic [SMP,APIC] Tells the kernel not to make use of any
  265. APIC that may be present on the system.
  266. noasync [HW, M68K] Disables async and sync negotiation for
  267. all devices.
  268. nocache [ARM]
  269.  
  270. nodisconnect [HW,SCSI, M68K] Disables SCSI disconnects.
  271. nohlt [BUGS=ARM]
  272.  
  273. no-hlt [BUGS=IA-32] Tells the kernel that the hlt
  274. instruction doesn't work correctly and not to
  275. use it.
  276. noht [SMP,IA-32] Disables P4 Xeon(tm) HyperThreading.
  277. noisapnp [ISAPNP] Disables ISA PnP code.
  278. noinitrd [RAM] Tells the kernel not to load any configured
  279. initial RAM disk.
  280. nointroute [IA-64]
  281.  
  282. no-scroll [VGA]
  283. nosmp [SMP] Tells an SMP kernel to act as a UP kernel.
  284. nosync [HW, M68K] Disables sync negotiation for all devices.
  285. notsc           [BUGS=IA-32] Disable Time Stamp Counter
  286. nowb [ARM]
  287.  
  288. opl3= [HW,SOUND]
  289. opl3sa= [HW,SOUND]
  290. opl3sa2= [HW,SOUND]
  291.  
  292. optcd= [HW,CD]
  293. panic= [KNL] kernel behaviour on panic.
  294. parport=0 [HW,PPT] Specify parallel ports. 0 disables.
  295. parport=auto Use 'auto' to force the driver to use
  296. parport=0xBBB[,IRQ[,DMA]] any IRQ/DMA settings detected (the
  297. default is to ignore detected IRQ/DMA
  298. settings because of possible
  299. conflicts). You can specify the base
  300. address, IRQ, and DMA settings; IRQ and
  301. DMA should be numbers, or 'auto' (for
  302. using detected settings on that
  303. particular port), or 'nofifo' (to avoid
  304. using a FIFO even if it is detected).
  305. Parallel ports are assigned in the
  306. order they are specified on the command
  307. line, starting with parport0.
  308. pas2= [HW,SOUND]
  309.  
  310. pas16= [HW,SCSI]
  311. pcbit= [HW,ISDN]
  312. pcd. [PARIDE]
  313. pci=option[,option...] [PCI] various PCI subsystem options:
  314. off [IA-32] don't probe for the PCI bus
  315. bios [IA-32] force use of PCI BIOS, don't access
  316. the hardware directly. Use this if your machine
  317. has a non-standard PCI host bridge.
  318. nobios [IA-32] disallow use of PCI BIOS, only direct
  319. hardware access methods are allowed. Use this
  320. if you experience crashes upon bootup and you
  321. suspect they are caused by the BIOS.
  322. conf1 [IA-32] Force use of PCI Configuration Mechanism 1.
  323. conf2 [IA-32] Force use of PCI Configuration Mechanism 2.
  324. nosort [IA-32] Don't sort PCI devices according to
  325. order given by the PCI BIOS. This sorting is done
  326. to get a device order compatible with older kernels.
  327. biosirq [IA-32] Use PCI BIOS calls to get the interrupt
  328. routing table. These calls are known to be buggy
  329. on several machines and they hang the machine when used,
  330. but on other computers it's the only way to get the
  331. interrupt routing table. Try this option if the kernel
  332. is unable to allocate IRQs or discover secondary PCI
  333. buses on your motherboard.
  334. rom [IA-32] Assign address space to expansion ROMs.
  335. Use with caution as certain devices share address
  336. decoders between ROMs and other resources.
  337. irqmask=0xMMMM [IA-32] Set a bit mask of IRQs allowed to be assigned
  338. automatically to PCI devices. You can make the kernel
  339. exclude IRQs of your ISA cards this way.
  340. lastbus=N [IA-32] Scan all buses till bus #N. Can be useful
  341. if the kernel is unable to find your secondary buses
  342. and you want to tell it explicitly which ones they are.
  343. assign-busses [IA-32] Always assign all PCI bus
  344. numbers ourselves, overriding
  345. whatever the firmware may have
  346. done.
  347. pd. [PARIDE]
  348. pf. [PARIDE]
  349. pg. [PARIDE]
  350. pirq= [SMP,APIC] mp-table.
  351. plip= [PPT,NET] Parallel port network link.
  352. profile= [KNL] enable kernel profiling via /proc/profile
  353. (param:log level).
  354. prompt_ramdisk= [RAM] List of RAM disks to prompt for floppy disk
  355. before loading.
  356. pss= [HW,SOUND] 
  357.  
  358. pt. [PARIDE]
  359. quiet= [KNL] Disable log messages.
  360.  
  361. r128= [HW,DRM]
  362. raid= [HW,RAID]
  363. ramdisk= [RAM] Sizes of RAM disks in kilobytes [deprecated].
  364. ramdisk_blocksize=
  365. [RAM]
  366.  
  367. ramdisk_size= [RAM] New name for the ramdisk parameter.
  368. ramdisk_start= [RAM] Starting block of RAM disk image (so you can
  369. place it after the kernel image on a boot floppy).
  370. reboot= [BUGS=IA-32]
  371. reserve= [KNL,BUGS] force the kernel to ignore some iomem area.
  372. riscom8= [HW,SERIAL]
  373. ro [KNL] Mount root device read-only on boot.
  374. root= [KNL] root filesystem.
  375. rootflags= [KNL] set root filesystem mount option string
  376. rootfstype= [KNL] set root filesystem type
  377. rw [KNL] Mount root device read-write on boot.
  378. S [KNL] run init in single mode.
  379. sb= [HW,SOUND]
  380.  
  381. sbpcd= [HW,CD] Soundblaster CD adapter.
  382. scsi_logging= [SCSI]
  383. scsihosts= [SCSI]
  384. sg_def_reserved_size=
  385. [SCSI]
  386.  
  387. sgalaxy= [HW,SOUND]
  388.  
  389. sim710= [SCSI,HW]
  390.  
  391. sjcd= [HW,CD]
  392. smart2= [HW]
  393.  
  394. sonicvibes= [HW,SOUND]
  395.  
  396. sonycd535= [HW,CD]
  397. sound= [SOUND]
  398. soundmodem= [HW,AX25,SOUND] Use sound card as packet radio modem.
  399. specialix= [HW,SERIAL] Specialix multi-serial port adapter.
  400. sscape= [HW,SOUND]
  401.  
  402. st= [HW,SCSI] SCSI tape parameters (buffers, etc.).
  403. st0x= [HW,SCSI]
  404. stram_swap= [HW]
  405. swiotlb=        [IA-64] Number of I/O TLB slabs.
  406.  
  407. switches= [HW, M68K]
  408. sym53c416= [HW,SCSI]
  409. sym53c8xx= [HW,SCSI]
  410. t128= [HW,SCSI]
  411. tdfx= [HW,DRM]
  412.  
  413. tgfx= [HW,JOY]
  414. tgfx_2= [HW,JOY]
  415. tgfx_3= [HW,JOY]
  416.  
  417. tmc8xx= [HW,SCSI]
  418. tmscsim= [HW,SCSI]
  419. tp720= [HW,PS2]
  420. trix= [HW,SOUND]
  421.  
  422. u14-34f= [HW,SCSI]
  423. uart401= [HW,SOUND]
  424. uart6850= [HW,SOUND]
  425.  
  426. usbfix [BUGS=IA-64] 
  427.  
  428. video= [FB] frame buffer configuration.
  429. vga= [BOOT] on ix386, select a particular video mode
  430. (use vga=ask for menu).  This is actually a
  431. boot loader parameter; the value is passed to
  432. the kernel using a special protocol.  See
  433. linux/Documentation/i386/boot.txt for information.
  434. vmhalt= [KNL,S390]
  435. vmpoff= [KNL,S390] 
  436.  
  437. waveartist= [HW,SOUND]
  438.  
  439. wd33c93= [HW,SCSI]
  440. wd7000= [HW,SCSI]
  441. wdt= [HW]
  442. xd= [HW,XT] Original XT pre-IDE (RLL encoded) disks.
  443. xd_geo= [HW,XT]