svn commit: r214326 - in stable/8/sys: amd64/conf i386/conf
ia64/conf pc98/conf powerpc/conf sparc64/conf
Andriy Gapon
avg at FreeBSD.org
Mon Oct 25 07:58:38 UTC 2010
Author: avg
Date: Mon Oct 25 07:58:37 2010
New Revision: 214326
URL: http://svn.freebsd.org/changeset/base/214326
Log:
stable/8: add options KDB and KDB_TRACE to GENERIC kernels
Now that we have code for printing a stack trace on panic using stack(9)
facility without any debugger backend configured, use this ability
in GENERIC kernels to slightly increase amount of debugging information
available in default installations.
This change should not break anything for those who include GENERIC into
a custom kernel config file and have the above options already enabled.
They should only get a warning about duplicate options.
This commit should not change behavior of GENERIC kernels for panics and
traps with respect to core dumping and automatic reset.
As no debugger backend is configured, enter-to-debugger key combination
should still be ignored.
With this commit the sizes of GENERIC kernels increase by one to two KB.
This is a direct commit to the branch.
Approved by: re
No objections: core, secteam
Modified:
stable/8/sys/amd64/conf/GENERIC
stable/8/sys/i386/conf/GENERIC
stable/8/sys/ia64/conf/GENERIC
stable/8/sys/pc98/conf/GENERIC
stable/8/sys/powerpc/conf/GENERIC
stable/8/sys/sparc64/conf/GENERIC
Modified: stable/8/sys/amd64/conf/GENERIC
==============================================================================
--- stable/8/sys/amd64/conf/GENERIC Mon Oct 25 07:41:21 2010 (r214325)
+++ stable/8/sys/amd64/conf/GENERIC Mon Oct 25 07:58:37 2010 (r214326)
@@ -77,6 +77,9 @@ options FLOWTABLE # per-cpu routing ca
#options KDTRACE_HOOKS # Kernel DTrace hooks
options INCLUDE_CONFIG_FILE # Include this file in kernel
+options KDB # Kernel debugger related code
+options KDB_TRACE # Print a stack trace for a panic
+
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
Modified: stable/8/sys/i386/conf/GENERIC
==============================================================================
--- stable/8/sys/i386/conf/GENERIC Mon Oct 25 07:41:21 2010 (r214325)
+++ stable/8/sys/i386/conf/GENERIC Mon Oct 25 07:58:37 2010 (r214326)
@@ -77,6 +77,9 @@ options FLOWTABLE # per-cpu routing ca
#options KDTRACE_HOOKS # Kernel DTrace hooks
options INCLUDE_CONFIG_FILE # Include this file in kernel
+options KDB # Kernel debugger related code
+options KDB_TRACE # Print a stack trace for a panic
+
# To make an SMP kernel, the next two lines are needed
options SMP # Symmetric MultiProcessor Kernel
device apic # I/O APIC
Modified: stable/8/sys/ia64/conf/GENERIC
==============================================================================
--- stable/8/sys/ia64/conf/GENERIC Mon Oct 25 07:41:21 2010 (r214325)
+++ stable/8/sys/ia64/conf/GENERIC Mon Oct 25 07:58:37 2010 (r214326)
@@ -39,6 +39,8 @@ options INET # InterNETworking
options INET6 # IPv6 communications protocols
options INVARIANTS # Enable calls of extra sanity checking
options INVARIANT_SUPPORT # required by INVARIANTS
+options KDB # Kernel debugger related code
+options KDB_TRACE # Print a stack trace for a panic
options KTRACE # ktrace(1) syscall trace support
options MAC # TrustedBSD MAC Framework
options MD_ROOT # MD usable as root device
Modified: stable/8/sys/pc98/conf/GENERIC
==============================================================================
--- stable/8/sys/pc98/conf/GENERIC Mon Oct 25 07:41:21 2010 (r214325)
+++ stable/8/sys/pc98/conf/GENERIC Mon Oct 25 07:58:37 2010 (r214326)
@@ -77,6 +77,9 @@ options AUDIT # Security event auditi
options MAC # TrustedBSD MAC Framework
options INCLUDE_CONFIG_FILE # Include this file in kernel
+options KDB # Kernel debugger related code
+options KDB_TRACE # Print a stack trace for a panic
+
# To make an SMP kernel, the next two lines are needed
#options SMP # Symmetric MultiProcessor Kernel
#device apic # I/O APIC
Modified: stable/8/sys/powerpc/conf/GENERIC
==============================================================================
--- stable/8/sys/powerpc/conf/GENERIC Mon Oct 25 07:41:21 2010 (r214325)
+++ stable/8/sys/powerpc/conf/GENERIC Mon Oct 25 07:58:37 2010 (r214326)
@@ -68,6 +68,9 @@ options AUDIT # Security event auditi
options MAC # TrustedBSD MAC Framework
options INCLUDE_CONFIG_FILE # Include this file in kernel
+options KDB # Kernel debugger related code
+options KDB_TRACE # Print a stack trace for a panic
+
# To make an SMP kernel, the next line is needed
#options SMP # Symmetric MultiProcessor Kernel
Modified: stable/8/sys/sparc64/conf/GENERIC
==============================================================================
--- stable/8/sys/sparc64/conf/GENERIC Mon Oct 25 07:41:21 2010 (r214325)
+++ stable/8/sys/sparc64/conf/GENERIC Mon Oct 25 07:58:37 2010 (r214326)
@@ -74,6 +74,9 @@ options AUDIT # Security event auditi
options MAC # TrustedBSD MAC Framework
options INCLUDE_CONFIG_FILE # Include this file in kernel
+options KDB # Kernel debugger related code
+options KDB_TRACE # Print a stack trace for a panic
+
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
More information about the svn-src-stable-8
mailing list