svn commit: r212964 - head/sys/kern

Gavin Atkinson gavin at FreeBSD.org
Wed Sep 22 13:57:32 UTC 2010


On Tue, 2010-09-21 at 15:07 +0000, Andriy Gapon wrote:
> Author: avg
> Date: Tue Sep 21 15:07:44 2010
> New Revision: 212964
> URL: http://svn.freebsd.org/changeset/base/212964
> 
> Log:
>   kdb_backtrace: stack(9)-based code to print backtrace without any backend
>   
>   The idea is to add KDB and KDB_TRACE options to GENERIC kernels on
>   stable branches, so that at least the minimal information is produced
>   for non-specific panics like traps on page faults.
>   The GENERICs in stable branches seem to already include STACK option.

Ignoring the rest of the discussion about locking, I think this is a
step in the right direction.  However, what I feel we should be strongly
considering is for textdumps to be enabled by default on release media.

As more groups choose to use the kernels from the release media (PC-BSD,
FreeNAS, etc) and put them into places where end users are never
expected to recompile kernels, having textdumps enabled by default in
RELEASE kernels becomes a bigger and bigger priority.  Groups like
PC-BSD don't necessarily have the time or skills to do the needed kernel
debugging (and nor should they have to, it's not their purpose), so
anything we can do in releases to make sure we have enough info to
resolve panics seen by their users is a big bonus.

Is there any real reason why we shouldn't go down this route?

Thanks,

Gavin


-- 
Gavin Atkinson
FreeBSD committer and bugmeister
GPG: A093262B (313A A79F 697D 3A5C 216A  EDF5 935D EF44 A093 262B)


More information about the svn-src-head mailing list