HEADS UP! Kernel debugging disabled in RELENG_5 [Fwd: cvs commit: src/sys/i386/conf GENERIC src/sys/pc98/conf GENERIC src/sys/sparc64/conf GENERIC]

Brian Fundakowski Feldman green at FreeBSD.org
Tue Sep 7 17:31:43 PDT 2004

On Tue, Sep 07, 2004 at 05:55:29PM -0600, Scott Long wrote:
> All,
> Since we are closing in on the 5.3 release, I've removed the kernel 
> debugging options from GENERIC in RELENG_5.  They can of course be 
> re-enabled by adding the appropriate lines back in locally.  However,
> from now on when filing a kernel-related bug report, make sure to
> enable WITNESS, INVARIANTS, and DDB/KDB to help determine the problem.

It's not necessarily a good thing to disable INVARIANTS without verifying
it has a huge cost in performance.  It would be invaluable finding more
bugs in production, and will likely be sorely missed.  IT's also worth
noting DDB/KDB is broken anyway in fairly large ways (on i386, at least,
breakpoints don't work and even with the "fix" you get panics soon if
you really do try to use them).

Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\

More information about the freebsd-current mailing list