From owner-freebsd-stable@FreeBSD.ORG Thu Jun 2 18:06:58 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87E2D16A41C for ; Thu, 2 Jun 2005 18:06:58 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 348C943D1D for ; Thu, 2 Jun 2005 18:06:58 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DBD3351441; Thu, 2 Jun 2005 14:06:55 -0400 (EDT) Date: Thu, 2 Jun 2005 14:06:54 -0400 From: Kris Kennaway To: Derek Kuli?ski Message-ID: <20050602180654.GA59076@xor.obsecurity.org> References: <8910581751.20050529112956@takeda.tk> <20050602073739.GB2756@xor.obsecurity.org> <5010392255.20050602091123@takeda.tk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <5010392255.20050602091123@takeda.tk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: stack backtrace X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 18:06:58 -0000 --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--