Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 10:43:45 +0300
From:      Andriy Gapon <avg@freebsd.org>
To:        arch@freebsd.org
Subject:   Re: KDB, KDB_TRACE in GENERICs for stable/X
Message-ID:  <4C99B3B1.4070608@freebsd.org>
In-Reply-To: <4C98CE89.7060908@freebsd.org>
References:  <4C98CE89.7060908@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 21/09/2010 18:26 Andriy Gapon said the following:
> 
> I would like to propose to add KDB and KDB_TRACE options to GENERIC kernel
> configurations on stable branches.  I've verified that without any other
> KDB-related options and without any backend configured these options do not change
> any aspect of system behavior.  Any attempts to enter debugger are ignored; on
> panic a panic message is printed and system reboots after that.
> 
> With the proposed options and MFC of r212964 we should be able to get a backtrace
> printed in addition to a standard panic message.  This may help us in analyzing
> problems during initial system installation and for systems that keep using
> GENERIC after installation for various reasons.  This is especially true for
> panics that result from traps like page fault in which case we don't have much
> information on cause of a trap.
> 
> Presence of the proposed options in GENERIC should not affect those who include
> GENERIC into their own configuration files for further extension and/or trimming.

Patch that adds the options:
http://people.freebsd.org/~avg/kdb-stable-generics.diff

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C99B3B1.4070608>