On Thu, Jun 02, 2005 at 09:11:23AM -0700, Derek Kuli?ski wrote:
> Hello Kris,
> 
> Thursday, June 2, 2005, 12:37:41 AM, you wrote:
> 
> > It looks like debugging code (it's been removed in -current).
> 
> > Jeff:
> 
> > in 1.141 of ffs_softdep.c you added a call to backtrace() if bp->b_vp
> > == NULL..you removed it in current in 1.166, but some people are
> > seeing it trigger on 5.x
> 
> So it's harmless?

I don't know, but I presume the debugging code was added for debugging
reasons :-)

> As for debugging, I compiled kernel with:
> makeoptions     DEBUG=-g
> options         KDB
> options         KDB_TRACE
> options         DDB
> 
> To have coredump, if system crashes (I didn't oticed any slowdown, so
> I guess it doesn't hurt)
> 
> Are those last three options necessary to get core? Or is only
> DEBUG=-g needed?

Please consult the developers' handbook chapter on kernel debugging
for full instructions.

Kris

Attachment: pgpFieUJdt2I2.pgp
Description: PGP signature

Reply via email to