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
--SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 02, 2005 at 09:11:23AM -0700, Derek Kuli?ski wrote: > Hello Kris, >=20 > Thursday, June 2, 2005, 12:37:41 AM, you wrote: >=20 > > It looks like debugging code (it's been removed in -current). >=20 > > Jeff: >=20 > > in 1.141 of ffs_softdep.c you added a call to backtrace() if bp->b_vp > > =3D=3D NULL..you removed it in current in 1.166, but some people are > > seeing it trigger on 5.x >=20 > 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=3D-g > options KDB > options KDB_TRACE > options DDB >=20 > To have coredump, if system crashes (I didn't oticed any slowdown, so > I guess it doesn't hurt) >=20 > Are those last three options necessary to get core? Or is only > DEBUG=3D-g needed? Please consult the developers' handbook chapter on kernel debugging for full instructions. Kris --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCn0q9Wry0BWjoQKURAk3gAKDIbnd3fIKGLkMCfLTtbLC4UzIZjgCaA0Cc 4Ik816wpbcP5U9I97bFpQ2E= =4Ue6 -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050602180654.GA59076>