boot-options.txt 5.8 KB

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