DDB scripting, output capture, and textdumps

M. Warner Losh imp at bsdimp.com
Thu Dec 20 10:41:21 PST 2007


In message: <476AB5EC.9060204 at FreeBSD.org>
            Maxim Sobolev <sobomax at FreeBSD.org> writes:
: M. Warner Losh wrote:
: > In message: <47682ED1.7000702 at FreeBSD.org>
: >             Maxim Sobolev <sobomax at FreeBSD.org> writes:
: > : Robert Watson wrote:
: > : >     buffer, kernel message buffer, kernel configuration (if compiled into
: > : >     the kernel), panic message, and kernel version string.  These are
: > : 
: > : 
: > : Just a sidenote - maybe as part of this change it makes sense to make 
: > : compiling configuration into a kernel opt-out, not opt-in? We are in 
: > : 21st century, nobody really cares about saving few kilobytes of kernel 
: > : memory anymore.
: > 
: > In the embedded world, it matters.
: > 
: > And we already have opt-out.  'include GENERIC; nodev X, nodev Y,
: > nodev Z'
: 
: So what is your point, exactly? In embedded word nobody runs GENERIC, 
: and you know it better than anybody else.
: 
: My point that Joe User, who runs GENERIC or slightly modified GENERIC 
: should have kernel config compiled into kernel so that when something 
: happens this information is available for debugging purposes.

That makes sense.  I thought you were talking about something
different, so I'm just going to say "I'm in violent agreement."

Warner


More information about the freebsd-current mailing list