boot-options.txt 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. Early Console
  30. syntax: earlyprintk=vga
  31. earlyprintk=serial[,ttySn[,baudrate]]
  32. The early console is useful when the kernel crashes before the
  33. normal console is initialized. It is not enabled by
  34. default because it has some cosmetic problems.
  35. Append ,keep to not disable it when the real console takes over.
  36. Only vga or serial at a time, not both.
  37. Currently only ttyS0 and ttyS1 are supported.
  38. Interaction with the standard serial driver is not very good.
  39. The VGA output is eventually overwritten by the real console.
  40. Timing
  41. notsc
  42. Don't use the CPU time stamp counter to read the wall time.
  43. This can be used to work around timing problems on multiprocessor systems
  44. with not properly synchronized CPUs.
  45. report_lost_ticks
  46. Report when timer interrupts are lost because some code turned off
  47. interrupts for too long.
  48. nmi_watchdog=NUMBER[,panic]
  49. NUMBER can be:
  50. 0 don't use an NMI watchdog
  51. 1 use the IO-APIC timer for the NMI watchdog
  52. 2 use the local APIC for the NMI watchdog using a performance counter. Note
  53. This will use one performance counter and the local APIC's performance
  54. vector.
  55. When panic is specified panic when an NMI watchdog timeout occurs.
  56. This is useful when you use a panic=... timeout and need the box
  57. quickly up again.
  58. nohpet
  59. Don't use the HPET timer.
  60. Idle loop
  61. idle=poll
  62. Don't do power saving in the idle loop using HLT, but poll for rescheduling
  63. event. This will make the CPUs eat a lot more power, but may be useful
  64. to get slightly better performance in multiprocessor benchmarks. It also
  65. makes some profiling using performance counters more accurate.
  66. Please note that on systems with MONITOR/MWAIT support (like Intel EM64T
  67. CPUs) this option has no performance advantage over the normal idle loop.
  68. It may also interact badly with hyperthreading.
  69. Rebooting
  70. reboot=b[ios] | t[riple] | k[bd] [, [w]arm | [c]old]
  71. bios Use the CPU reboto vector for warm reset
  72. warm Don't set the cold reboot flag
  73. cold Set the cold reboot flag
  74. triple Force a triple fault (init)
  75. kbd Use the keyboard controller. cold reset (default)
  76. Using warm reset will be much faster especially on big memory
  77. systems because the BIOS will not go through the memory check.
  78. Disadvantage is that not all hardware will be completely reinitialized
  79. on reboot so there may be boot problems on some systems.
  80. reboot=force
  81. Don't stop other CPUs on reboot. This can make reboot more reliable
  82. in some cases.
  83. Non Executable Mappings
  84. noexec=on|off
  85. on Enable(default)
  86. off Disable
  87. SMP
  88. nosmp Only use a single CPU
  89. maxcpus=NUMBER only use upto NUMBER CPUs
  90. cpumask=MASK only use cpus with bits set in mask
  91. additional_cpus=NUM Allow NUM more CPUs for hotplug
  92. (defaults are specified by the BIOS, see Documentation/x86_64/cpu-hotplug-spec)
  93. NUMA
  94. numa=off Only set up a single NUMA node spanning all memory.
  95. numa=noacpi Don't parse the SRAT table for NUMA setup
  96. numa=fake=X Fake X nodes and ignore NUMA setup of the actual machine.
  97. ACPI
  98. acpi=off Don't enable ACPI
  99. acpi=ht Use ACPI boot table parsing, but don't enable ACPI
  100. interpreter
  101. acpi=force Force ACPI on (currently not needed)
  102. acpi=strict Disable out of spec ACPI workarounds.
  103. acpi_sci={edge,level,high,low} Set up ACPI SCI interrupt.
  104. acpi=noirq Don't route interrupts
  105. PCI
  106. pci=off Don't use PCI
  107. pci=conf1 Use conf1 access.
  108. pci=conf2 Use conf2 access.
  109. pci=rom Assign ROMs.
  110. pci=assign-busses Assign busses
  111. pci=irqmask=MASK Set PCI interrupt mask to MASK
  112. pci=lastbus=NUMBER Scan upto NUMBER busses, no matter what the mptable says.
  113. pci=noacpi Don't use ACPI to set up PCI interrupt routing.
  114. IOMMU
  115. iommu=[size][,noagp][,off][,force][,noforce][,leak][,memaper[=order]][,merge]
  116. [,forcesac][,fullflush][,nomerge][,noaperture]
  117. size set size of iommu (in bytes)
  118. noagp don't initialize the AGP driver and use full aperture.
  119. off don't use the IOMMU
  120. leak turn on simple iommu leak tracing (only when CONFIG_IOMMU_LEAK is on)
  121. memaper[=order] allocate an own aperture over RAM with size 32MB^order.
  122. noforce don't force IOMMU usage. Default.
  123. force Force IOMMU.
  124. merge Do SG merging. Implies force (experimental)
  125. nomerge Don't do SG merging.
  126. forcesac For SAC mode for masks <40bits (experimental)
  127. fullflush Flush IOMMU on each allocation (default)
  128. nofullflush Don't use IOMMU fullflush
  129. allowed overwrite iommu off workarounds for specific chipsets.
  130. soft Use software bounce buffering (default for Intel machines)
  131. noaperture Don't touch the aperture for AGP.
  132. swiotlb=pages[,force]
  133. pages Prereserve that many 128K pages for the software IO bounce buffering.
  134. force Force all IO through the software TLB.
  135. Debugging
  136. oops=panic Always panic on oopses. Default is to just kill the process,
  137. but there is a small probability of deadlocking the machine.
  138. This will also cause panics on machine check exceptions.
  139. Useful together with panic=30 to trigger a reboot.
  140. kstack=N Print that many words from the kernel stack in oops dumps.
  141. pagefaulttrace Dump all page faults. Only useful for extreme debugging
  142. and will create a lot of output.
  143. Misc
  144. noreplacement Don't replace instructions with more appropriate ones
  145. for the CPU. This may be useful on asymmetric MP systems
  146. where some CPU have less capabilities than the others.