Subject: port-i386/17649: GENERIC misses DDB_ONPANIC option
To: None <>
From: Julio Merino <>
List: netbsd-bugs
Date: 07/19/2002 15:38:24
>Number:         17649
>Category:       port-i386
>Synopsis:       GENERIC misses DDB_ONPANIC option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 19 06:38:00 PDT 2002
>Originator:     Julio Merino
>Release:        NetBSD 1.6D
System: NetBSD darkstar.local 1.6D NetBSD 1.6D (DARKSTAR) #2: Wed Jul 17 19:45:32 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
	The GENERIC kernel in the i386 port misses the DDB_ONPANIC option,
	commented. The patch adds it.

	I've added this as a doc-bug because GENERIC is also a point of
	information and should contain everything...

RCS file: /cvsroot/syssrc/sys/arch/i386/conf/GENERIC,v
retrieving revision 1.501
diff -u -u -r1.501 GENERIC
--- GENERIC	2002/07/10 08:37:40	1.501
+++ GENERIC	2002/07/19 13:35:07
@@ -91,6 +91,7 @@
 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
 options 	DDB		# in-kernel debugger
 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
+#options 	DDB_ONPANIC=0	# do not enter DDB on kernel panic
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 #makeoptions	DEBUG="-g"	# compile full symbol table