Skip to content

Commit b4047e5

Browse files
rddunlapJonathan Corbet
authored andcommitted
docs: panic: cleanups for panic params
Move 'panic_print' to its correct place in alphabetical order. Add parameter format for 'pause_on_oops'. Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 98899c0 commit b4047e5

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4037,20 +4037,6 @@
40374037
timeout < 0: reboot immediately
40384038
Format: <timeout>
40394039

4040-
panic_print= Bitmask for printing system info when panic happens.
4041-
User can chose combination of the following bits:
4042-
bit 0: print all tasks info
4043-
bit 1: print system memory info
4044-
bit 2: print timer info
4045-
bit 3: print locks info if CONFIG_LOCKDEP is on
4046-
bit 4: print ftrace buffer
4047-
bit 5: print all printk messages in buffer
4048-
bit 6: print all CPUs backtrace (if available in the arch)
4049-
*Be aware* that this option may print a _lot_ of lines,
4050-
so there are risks of losing older messages in the log.
4051-
Use this option carefully, maybe worth to setup a
4052-
bigger log buffer with "log_buf_len" along with this.
4053-
40544040
panic_on_taint= Bitmask for conditionally calling panic() in add_taint()
40554041
Format: <hex>[,nousertaint]
40564042
Hexadecimal bitmask representing the set of TAINT flags
@@ -4067,6 +4053,20 @@
40674053
panic_on_warn=1 panic() instead of WARN(). Useful to cause kdump
40684054
on a WARN().
40694055

4056+
panic_print= Bitmask for printing system info when panic happens.
4057+
User can chose combination of the following bits:
4058+
bit 0: print all tasks info
4059+
bit 1: print system memory info
4060+
bit 2: print timer info
4061+
bit 3: print locks info if CONFIG_LOCKDEP is on
4062+
bit 4: print ftrace buffer
4063+
bit 5: print all printk messages in buffer
4064+
bit 6: print all CPUs backtrace (if available in the arch)
4065+
*Be aware* that this option may print a _lot_ of lines,
4066+
so there are risks of losing older messages in the log.
4067+
Use this option carefully, maybe worth to setup a
4068+
bigger log buffer with "log_buf_len" along with this.
4069+
40704070
parkbd.port= [HW] Parallel port number the keyboard adapter is
40714071
connected to, default is 0.
40724072
Format: <parport#>
@@ -4186,7 +4186,7 @@
41864186
mode 0, bit 1 is for mode 1, and so on. Mode 0 only
41874187
allowed by default.
41884188

4189-
pause_on_oops=
4189+
pause_on_oops=<int>
41904190
Halt all CPUs after the first oops has been printed for
41914191
the specified number of seconds. This is to be used if
41924192
your oopses keep scrolling off the screen.

0 commit comments

Comments
 (0)