Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

panic: refine the document for 'panic_print'

User reported current document about SYS_INFO_PANIC_CONSOLE_REPLAY is
confusing, that people could expect all user space console messages to be
replayed.

Specify that only 'kernel' messages will be replayed to solve the confusion.

Link: https://lkml.kernel.org/r/20250825025701.81921-3-feng.tang@linux.alibaba.com
Signed-off-by: Feng Tang <feng.tang@linux.alibaba.com>
Reported-by: Askar Safin <safinaskar@zohomail.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Lance Yang <lance.yang@linux.dev>
Cc: "Paul E . McKenney" <paulmck@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Feng Tang and committed by
Andrew Morton
8c2b91fb 31cf021b

+2 -2
+1 -1
Documentation/admin-guide/kernel-parameters.txt
··· 4589 4589 bit 2: print timer info 4590 4590 bit 3: print locks info if CONFIG_LOCKDEP is on 4591 4591 bit 4: print ftrace buffer 4592 - bit 5: replay all messages on consoles at the end of panic 4592 + bit 5: replay all kernel messages on consoles at the end of panic 4593 4593 bit 6: print all CPUs backtrace (if available in the arch) 4594 4594 bit 7: print only tasks in uninterruptible (blocked) state 4595 4595 *Be aware* that this option may print a _lot_ of lines,
+1 -1
Documentation/admin-guide/sysctl/kernel.rst
··· 890 890 bit 2 print timer info 891 891 bit 3 print locks info if ``CONFIG_LOCKDEP`` is on 892 892 bit 4 print ftrace buffer 893 - bit 5 replay all messages on consoles at the end of panic 893 + bit 5 replay all kernel messages on consoles at the end of panic 894 894 bit 6 print all CPUs backtrace (if available in the arch) 895 895 bit 7 print only tasks in uninterruptible (blocked) state 896 896 ===== ============================================