Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 Document additional settings for onpanic, fro...
details: https://anonhg.NetBSD.org/src/rev/f6eeb44aa580
branches: trunk
changeset: 766481:f6eeb44aa580
user: riz <riz%NetBSD.org@localhost>
date: Thu Jun 23 16:02:20 2011 +0000
description:
Document additional settings for onpanic, from options(4).
diffstat:
share/man/man4/ddb.4 | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 7190d4fd8148 -r f6eeb44aa580 share/man/man4/ddb.4
--- a/share/man/man4/ddb.4 Thu Jun 23 15:57:11 2011 +0000
+++ b/share/man/man4/ddb.4 Thu Jun 23 16:02:20 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ddb.4,v 1.141 2010/06/10 18:34:21 wiz Exp $
+.\" $NetBSD: ddb.4,v 1.142 2011/06/23 16:02:20 riz Exp $
.\"
.\" Copyright (c) 1997 - 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -1204,14 +1204,21 @@
.Nm
doesn't perform any wrapping.
.It Va onpanic
-If non-zero (the default),
+If greater than zero (the default is 1),
.Nm
will be invoked when the kernel panics.
If the kernel configuration option
.D1 Cd options DDB_ONPANIC=0
is used,
.Va onpanic
-will be initialized to off.
+will be initialized to off, causing a stack trace to be printed and
+the system to be rebooted instead of
+.Nm
+being entered.
+Other useful settings are -1, which suppresses the stack trace before
+reboot, and 2, which causes a stack trace to be printed and
+.Nm
+to be entered.
.It Va fromconsole
If non-zero (the default),
the kernel allows to enter
Home |
Main Index |
Thread Index |
Old Index