boot-options.txt 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. AMD64 specific boot options
  2. There are many others (usually documented in driver documentation), but
  3. only the AMD64 specific ones are listed here.
  4. Machine check
  5. mce=off disable machine check
  6. mce=bootlog Enable logging of machine checks left over from booting.
  7. Disabled by default on AMD because some BIOS leave bogus ones.
  8. If your BIOS doesn't do that it's a good idea to enable though
  9. to make sure you log even machine check events that result
  10. in a reboot. On Intel systems it is enabled by default.
  11. mce=nobootlog
  12. Disable boot machine check logging.
  13. mce=tolerancelevel (number)
  14. 0: always panic, 1: panic if deadlock possible,
  15. 2: try to avoid panic, 3: never panic or exit (for testing)
  16. default is 1
  17. Can be also set using sysfs which is preferable.
  18. nomce (for compatibility with i386): same as mce=off
  19. Everything else is in sysfs now.
  20. APICs
  21. apic Use IO-APIC. Default
  22. noapic Don't use the IO-APIC.
  23. disableapic Don't use the local APIC
  24. nolapic Don't use the local APIC (alias for i386 compatibility)
  25. pirq=... See Documentation/i386/IO-APIC.txt
  26. noapictimer Don't set up the APIC timer
  27. no_timer_check Don't check the IO-APIC timer. This can work around
  28. problems with incorrect timer initialization on some boards.
  29. apicmaintimer Run time keeping from the local APIC timer instead
  30. of using the PIT/HPET interrupt for this. This is useful
  31. when the PIT/HPET interrupts are unreliable.
  32. noapicmaintimer Don't do time keeping using the APIC timer.
  33. Useful when this option was auto selected, but doesn't work.
  34. apicpmtimer
  35. Do APIC timer calibration using the pmtimer. Implies
  36. apicmaintimer. Useful when your PIT timer is totally
  37. broken.
  38. Early Console
  39. syntax: earlyprintk=vga
  40. earlyprintk=serial[,ttySn[,baudrate]]
  41. The early console is useful when the kernel crashes before the
  42. normal console is initialized. It is not enabled by
  43. default because it has some cosmetic problems.
  44. Append ,keep to not disable it when the real console takes over.
  45. Only vga or serial at a time, not both.
  46. Currently only ttyS0 and ttyS1 are supported.
  47. Interaction with the standard serial driver is not very good.
  48. The VGA output is eventually overwritten by the real console.
  49. Timing
  50. notsc
  51. Don't use the CPU time stamp counter to read the wall time.
  52. This can be used to work around timing problems on multiprocessor systems
  53. with not properly synchronized CPUs.
  54. report_lost_ticks
  55. Report when timer interrupts are lost because some code turned off
  56. interrupts for too long.
  57. nmi_watchdog=NUMBER[,panic]
  58. NUMBER can be:
  59. 0 don't use an NMI watchdog
  60. 1 use the IO-APIC timer for the NMI watchdog
  61. 2 use the local APIC for the NMI watchdog using a performance counter. Note
  62. This will use one performance counter and the local APIC's performance
  63. vector.
  64. When panic is specified panic when an NMI watchdog timeout occurs.
  65. This is useful when you use a panic=... timeout and need the box
  66. quickly up again.
  67. nohpet
  68. Don't use the HPET timer.
  69. Idle loop
  70. idle=poll
  71. Don't do power saving in the idle loop using HLT, but poll for rescheduling
  72. event. This will make the CPUs eat a lot more power, but may be useful
  73. to get slightly better performance in multiprocessor benchmarks. It also
  74. makes some profiling using performance counters more accurate.
  75. Please note that on systems with MONITOR/MWAIT support (like Intel EM64T
  76. CPUs) this option has no performance advantage over the normal idle loop.
  77. It may also interact badly with hyperthreading.
  78. Rebooting
  79. reboot=b[ios] | t[riple] | k[bd] [, [w]arm | [c]old]
  80. bios Use the CPU reboot vector for warm reset
  81. warm Don't set the cold reboot flag
  82. cold Set the cold reboot flag
  83. triple Force a triple fault (init)
  84. kbd Use the keyboard controller. cold reset (default)
  85. Using warm reset will be much faster especially on big memory
  86. systems because the BIOS will not go through the memory check.
  87. Disadvantage is that not all hardware will be completely reinitialized
  88. on reboot so there may be boot problems on some systems.
  89. reboot=force
  90. Don't stop other CPUs on reboot. This can make reboot more reliable
  91. in some cases.
  92. Non Executable Mappings
  93. noexec=on|off
  94. on Enable(default)
  95. off Disable
  96. SMP
  97. nosmp Only use a single CPU
  98. maxcpus=NUMBER only use upto NUMBER CPUs
  99. cpumask=MASK only use cpus with bits set in mask
  100. additional_cpus=NUM Allow NUM more CPUs for hotplug
  101. (defaults are specified by the BIOS, see Documentation/x86_64/cpu-hotplug-spec)
  102. NUMA
  103. numa=off Only set up a single NUMA node spanning all memory.
  104. numa=noacpi Don't parse the SRAT table for NUMA setup
  105. numa=fake=X Fake X nodes and ignore NUMA setup of the actual machine.
  106. numa=hotadd=percent
  107. Only allow hotadd memory to preallocate page structures upto
  108. percent of already available memory.
  109. numa=hotadd=0 will disable hotadd memory.
  110. ACPI
  111. acpi=off Don't enable ACPI
  112. acpi=ht Use ACPI boot table parsing, but don't enable ACPI
  113. interpreter
  114. acpi=force Force ACPI on (currently not needed)
  115. acpi=strict Disable out of spec ACPI workarounds.
  116. acpi_sci={edge,level,high,low} Set up ACPI SCI interrupt.
  117. acpi=noirq Don't route interrupts
  118. PCI
  119. pci=off Don't use PCI
  120. pci=conf1 Use conf1 access.
  121. pci=conf2 Use conf2 access.
  122. pci=rom Assign ROMs.
  123. pci=assign-busses Assign busses
  124. pci=irqmask=MASK Set PCI interrupt mask to MASK
  125. pci=lastbus=NUMBER Scan upto NUMBER busses, no matter what the mptable says.
  126. pci=noacpi Don't use ACPI to set up PCI interrupt routing.
  127. IOMMU
  128. iommu=[size][,noagp][,off][,force][,noforce][,leak][,memaper[=order]][,merge]
  129. [,forcesac][,fullflush][,nomerge][,noaperture][,calgary]
  130. size set size of iommu (in bytes)
  131. noagp don't initialize the AGP driver and use full aperture.
  132. off don't use the IOMMU
  133. leak turn on simple iommu leak tracing (only when CONFIG_IOMMU_LEAK is on)
  134. memaper[=order] allocate an own aperture over RAM with size 32MB^order.
  135. noforce don't force IOMMU usage. Default.
  136. force Force IOMMU.
  137. merge Do SG merging. Implies force (experimental)
  138. nomerge Don't do SG merging.
  139. forcesac For SAC mode for masks <40bits (experimental)
  140. fullflush Flush IOMMU on each allocation (default)
  141. nofullflush Don't use IOMMU fullflush
  142. allowed overwrite iommu off workarounds for specific chipsets.
  143. soft Use software bounce buffering (default for Intel machines)
  144. noaperture Don't touch the aperture for AGP.
  145. allowdac Allow DMA >4GB
  146. When off all DMA over >4GB is forced through an IOMMU or bounce
  147. buffering.
  148. nodac Forbid DMA >4GB
  149. panic Always panic when IOMMU overflows
  150. calgary Use the Calgary IOMMU if it is available
  151. swiotlb=pages[,force]
  152. pages Prereserve that many 128K pages for the software IO bounce buffering.
  153. force Force all IO through the software TLB.
  154. calgary=[64k,128k,256k,512k,1M,2M,4M,8M]
  155. calgary=[translate_empty_slots]
  156. calgary=[disable=<PCI bus number>]
  157. 64k,...,8M - Set the size of each PCI slot's translation table
  158. when using the Calgary IOMMU. This is the size of the translation
  159. table itself in main memory. The smallest table, 64k, covers an IO
  160. space of 32MB; the largest, 8MB table, can cover an IO space of
  161. 4GB. Normally the kernel will make the right choice by itself.
  162. translate_empty_slots - Enable translation even on slots that have
  163. no devices attached to them, in case a device will be hotplugged
  164. in the future.
  165. disable=<PCI bus number> - Disable translation on a given PHB. For
  166. example, the built-in graphics adapter resides on the first bridge
  167. (PCI bus number 0); if translation (isolation) is enabled on this
  168. bridge, X servers that access the hardware directly from user
  169. space might stop working. Use this option if you have devices that
  170. are accessed from userspace directly on some PCI host bridge.
  171. Debugging
  172. oops=panic Always panic on oopses. Default is to just kill the process,
  173. but there is a small probability of deadlocking the machine.
  174. This will also cause panics on machine check exceptions.
  175. Useful together with panic=30 to trigger a reboot.
  176. kstack=N Print that many words from the kernel stack in oops dumps.
  177. pagefaulttrace Dump all page faults. Only useful for extreme debugging
  178. and will create a lot of output.
  179. call_trace=[old|both|newfallback|new]
  180. old: use old inexact backtracer
  181. new: use new exact dwarf2 unwinder
  182. both: print entries from both
  183. newfallback: use new unwinder but fall back to old if it gets
  184. stuck (default)
  185. call_trace=[old|both|newfallback|new]
  186. old: use old inexact backtracer
  187. new: use new exact dwarf2 unwinder
  188. both: print entries from both
  189. newfallback: use new unwinder but fall back to old if it gets
  190. stuck (default)
  191. Misc
  192. noreplacement Don't replace instructions with more appropriate ones
  193. for the CPU. This may be useful on asymmetric MP systems
  194. where some CPU have less capabilities than the others.