Subject: halt on panic [patch]
To: None <tech-kern@NetBSD.org>
From: Hubert Feyrer <firstname.lastname@example.org>
Date: 06/28/2004 18:31:00
When the system panics, it reboots immediately. On some systems (i386 :),
it's too fast to read anything. Thus, being able to at least halt the
machine if needed would be nice. What do people think about a
HALT_ON_PANIC kernel option? Implementation below...
I'd to commit this, unless someone has objections.
RCS file: /cvsroot/src/sys/kern/subr_prf.c,v
retrieving revision 1.94
diff -u -r1.94 subr_prf.c
--- sys/kern/subr_prf.c 23 Mar 2004 13:22:04 -0000 1.94
+++ sys/kern/subr_prf.c 28 Jun 2004 16:28:09 -0000
@@ -191,6 +191,9 @@
bootopt = RB_AUTOBOOT;
+ bootopt |= RB_HALT;
bootopt |= RB_DUMP;
If wishes were wings, o" )~ would fly. -- Go www.NetBSD.org!