KDB_TRACE in GENERIC

Andriy Gapon avg at freebsd.org
Sat Jun 19 07:49:29 UTC 2010


I propose to add the following options into GENERIC (perhaps only i386 and amd64):

options         KDB
options         KDB_TRACE
options         KDB_UNATTENDED
options		SC_DISABLE_KDBKEY  # <- not sure about his one

This would increase kernel size only by a fraction, would not result in any POLA
violations (KDB_UNATTENDED, SC_DISABLE_KDBKEY) and would provide a useful service.

Currently we get many panic reports that are almost impossible to analyze
because there is no stack trace.  Especially this is true for panics at
installation time, when people use GENERIC from release media and do not have
ability to try a custom kernel.

What do you think?

-- 
Andriy Gapon


More information about the freebsd-arch mailing list