cvs commit: src/sys/alpha/alpha support.s src/sys/i386/i386 swtch.s src/sys/kern kern_shutdown.c src/sys/sys systm.h

Bruce Evans bde at zeta.org.au
Tue Jan 20 22:04:14 PST 2004


On Tue, 20 Jan 2004, Nate Lawson wrote:

> > On Tue, Jan 20, 2004 at 05:04:12PM -0800, Nate Lawson wrote:
> > > I would have gotten 100x more value from making options DDB the default in
> > > GENERIC (at least until we branch -stable) and having all page faults

> I just looked and GENERIC still has options DDB (and INVARIANTS, etc.)
> So all we need is re@ to leave options DDB on for the release builds.  It
> adds little space and users can compile it out.  But for "panic on
> install" problems or novice users, this would be very useful.  Also,
> having re@ provide a kernel.debug for each GENERIC would be good too.  It
> could be on the live FS cd, not on cd1.

DDB would need to be made more secure and robust for production use.
It can be invoked by anyone at the console with a default syscons console
and keymap.  It cannot be invoked by a break or escape sequence on the
default serial console, but that makes it less useful.  The
debug.debugger_on_panic sysctl doesn't work right.  It only affects panics,
but for production use all stray calls to Debugger() should cause panics
and not hang waiting for input in ddb.

Bruce


More information about the cvs-src mailing list