From owner-freebsd-stable@FreeBSD.ORG Fri Jul 1 18:29:47 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 E493F16A41C for ; Fri, 1 Jul 2005 18:29:47 +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 A517043D49 for ; Fri, 1 Jul 2005 18:29:47 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7FAA751379; Fri, 1 Jul 2005 14:29:46 -0400 (EDT) Date: Fri, 1 Jul 2005 14:29:46 -0400 From: Kris Kennaway To: Marc Olzheim Message-ID: <20050701182946.GA99767@xor.obsecurity.org> References: <20050701101458.GA1193@stack.nl> <20050701104139.GB1193@stack.nl> <20050701130335.GA2040@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <20050701130335.GA2040@stack.nl> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@FreeBSD.org Subject: Re: Today's RELENG_5_4 and 'lock cmpxchgl' 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: Fri, 01 Jul 2005 18:29:48 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 01, 2005 at 03:03:35PM +0200, Marc Olzheim wrote: > On Fri, Jul 01, 2005 at 12:41:39PM +0200, Marc Olzheim wrote: > > On Fri, Jul 01, 2005 at 12:14:58PM +0200, Marc Olzheim wrote: > > > Somehow, this sounds familiar, i.e.: the "lock cmpxchgl": > > >=20 > > > Fatal trap 12: page fault while in kernel mode > > ... > > > Stopped at 0xc05160c3 =3D knote+0x27: lock cmpxchgl %ec= x,0x1c(%edx) > >=20 > > Somehow I think I solved this last time by activating 'INVARIANTS'... > > I'll try that now. >=20 > Let's paraphrase: >=20 > I think i solved this last time by activating 'INVARIANTS'... >=20 > Anyway, tried that and yes, it didn't crash in the last few hours, so I > guess it works. Without INVARIANTS, it crashed within seconds. >=20 > On the downside, my Gigabit performance dropped from 99 MB/sec to 80 > MB/sec because of INVARIANTS. The panic appears to be an instance of a known bug in 5.4 (and INVARIANTS will not fix it, but may just delay the inevitable by changing timings). See Doug White's recent emails which point to a patch you should test. Kris --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCxYuaWry0BWjoQKURApEDAJ0YmU9ZOekwqYZakNtElz1LYPT32wCfYPYJ Lpy2ECAZlZ0IgAT+DS5XiOs= =gIzy -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--