Date: Thu, 2 Jun 2005 14:06:54 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Derek Kuli?ski <takeda@takeda.tk> Cc: freebsd-stable@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: stack backtrace Message-ID: <20050602180654.GA59076@xor.obsecurity.org> In-Reply-To: <5010392255.20050602091123@takeda.tk> References: <8910581751.20050529112956@takeda.tk> <20050602073739.GB2756@xor.obsecurity.org> <5010392255.20050602091123@takeda.tk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCn0q9Wry0BWjoQKURAk3gAKDIbnd3fIKGLkMCfLTtbLC4UzIZjgCaA0Cc 4Ik816wpbcP5U9I97bFpQ2E= =4Ue6 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050602180654.GA59076>
