From owner-freebsd-current@FreeBSD.ORG Wed Sep 21 17:53:31 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3123B16A41F; Wed, 21 Sep 2005 17:53:31 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFCBB43D46; Wed, 21 Sep 2005 17:53:30 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j8LHrS0r011731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Sep 2005 13:53:28 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j8LHrR6P005292; Wed, 21 Sep 2005 13:53:27 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2C7A5511D2; Wed, 21 Sep 2005 13:53:27 -0400 (EDT) Date: Wed, 21 Sep 2005 13:53:27 -0400 From: Kris Kennaway To: Vinod Kashyap Message-ID: <20050921175326.GA81378@xor.obsecurity.org> References: <2B3B2AA816369A4E87D7BE63EC9D2F26B55B96@SDCEXCHANGE01.ad.amcc.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <2B3B2AA816369A4E87D7BE63EC9D2F26B55B96@SDCEXCHANGE01.ad.amcc.com> User-Agent: Mutt/1.4.2.1i Cc: vkashyap@freebsd.org, Mike Tancsa , freebsd-current@freebsd.org, Kris Kennaway Subject: Re: LOR on RELENG_6, beta 5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 17:53:31 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 21, 2005 at 10:45:31AM -0700, Vinod Kashyap wrote: > > -----Original Message----- > > From: Kris Kennaway [mailto:kris@obsecurity.org]=20 > > Sent: Wednesday, September 21, 2005 10:41 AM > > To: Mike Tancsa > > Cc: freebsd-current@freebsd.org; vkashyap@freebsd.org > > Subject: Re: LOR on RELENG_6, beta 5 > >=20 > > On Wed, Sep 21, 2005 at 01:15:28PM -0400, Mike Tancsa wrote: > > >=20 > > > lock order reversal > > > 1st 0xc295a090 inp (divinp) @ /usr/src/sys/netinet/ip_divert.c:327 > > > 2nd 0xc28d9150 ipsec request (ipsec request) @ > > > /usr/src/sys/netipsec/ipsec_output.c:354 > > > KDB: stack backtrace: > > > kdb_backtrace(0,ffffffff,c0763e30,c0763e58,c072b204) at=20 > > > kdb_backtrace+0x29 > > > witness_checkorder(c28d9150,9,c06fc8ea,162) at=20 > > > witness_checkorder+0x564 > > > _mtx_lock_flags(c28d9150,0,c06fc8ea,162,0) at _mtx_lock_flags+0x5b > > > ipsec4_process_packet(c28f9800,c28d9100,22,0,c26c8e00) at > > > ipsec4_process_packet+0x45 > > > ip_output(c28f9800,0,e740fb28,22,0) at ip_output+0x74f > > > div_output(c294b858,c28f9800,c23bd440,0,e740fc08) at=20 > > div_output+0x185 > > > div_send(c294b858,0,c28f9800,c23bd440,0) at div_send+0x3f > > > sosend(c294b858,c23bd440,e740fc3c,c28f9800,0) at sosend+0x5e3 > > > kern_sendit(c2711d80,3,e740fcbc,0,0) at kern_sendit+0x104 > > > sendit(c2711d80,3,e740fcbc,0,bfbdec04) at sendit+0x163 > > > sendto(c2711d80,e740fd04,6,0,296) at sendto+0x4d > > > syscall(3b,3b,3b,2,64) at syscall+0x22f > > > Xint0x80_syscall() at Xint0x80_syscall+0x1f > > > --- syscall (133, FreeBSD ELF32, sendto), eip =3D 0x280c5d97, esp =3D= =20 > > > 0xbfbdeb0c, ebp =3D 0xbfbeebb8 --- > > >=20 > > > I am able to replicate this on the box without too much effort. =20 > > > Unfortunately, it doesnt want to dump on my twe device for=20 > > some reason=20 > > > despite doing a dumpon -v /dev/twed0s1b > >=20 > > Dumps on twe seem to be broken. vinod, have you made any=20 > > progress on this since last we spoke? > >=20 >=20 > Like I told you earlier, I tried reproducing the problem both on 7 > -CURRENT, > and RELENG_6, but couldn't. Dumping on twe seems to work just fine. And what of those of us for whom dumping does not, in fact, work fine? Kris --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDMZ4WWry0BWjoQKURAs3HAJ9WfpVXvUYi6u+NEIbkURtUEA54rQCeJNZt CZxHE61zbRYMhgwZhIUGZWo= =lyzT -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--