From owner-freebsd-stable@FreeBSD.ORG Mon Apr 23 15:55:53 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F24C16A401 for ; Mon, 23 Apr 2007 15:55:53 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id F0DC513C44C for ; Mon, 23 Apr 2007 15:55:52 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 315D31A4DC3; Mon, 23 Apr 2007 08:56:15 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 519AA5132C; Mon, 23 Apr 2007 11:55:52 -0400 (EDT) Date: Mon, 23 Apr 2007 11:55:52 -0400 From: Kris Kennaway To: Kai Message-ID: <20070423155552.GB1006@xor.obsecurity.org> References: <20070411105332.GC7847@xs4all.nl> <20070419123329.GA10189@xs4all.nl> <20070423153547.GD20155@xs4all.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <20070423153547.GD20155@xs4all.nl> User-Agent: Mutt/1.4.2.2i Cc: stable@freebsd.org Subject: Re: Fatal trap 12: page fault while in kernel mode 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: Mon, 23 Apr 2007 15:55:53 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 23, 2007 at 05:35:47PM +0200, Kai wrote: > On Thu, Apr 19, 2007 at 02:33:29PM +0200, Kai wrote: > > On Wed, Apr 11, 2007 at 12:53:32PM +0200, Kai wrote: > > >=20 > > > Hello all, > > >=20 > > > We're running into regular panics on our webserver after upgrading > > > from 4.x to 6.2-stable: > >=20 >=20 > Hi all, >=20 > To continue this story, a colleague wrote a small program in C that launc= hes > 40 threads to randomly append and write to 10 files on an NFS mounted > filesystem.=20 >=20 > If I keep removing the files on one of the other machines in a while loop, > the first system panics: >=20 > Fatal trap 12: page fault while in kernel mode > cpuid =3D 1; apic id =3D 01 > fault virtual address =3D 0x34 > fault code =3D supervisor read, page not present > instruction pointer =3D 0x20:0xc06bdefa > stack pointer =3D 0x28:0xeb9f69b8 > frame pointer =3D 0x28:0xeb9f69c4 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 73626 (nfscrash) > trap number =3D 12 > panic: page fault > cpuid =3D 1 > Uptime: 3h2m14s >=20 > Sounds like a nice denial of service problem. I can hand the program to > developers on request. Please send it to me. Panics are always much easier to get fixed if they come with a test case that developer can use to reproduce it. Kris --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGLNcIWry0BWjoQKURAkD+AKDu5NG+iAB8NxPfYyYGqB76SvhxVQCffMa/ 8TLB5wrCMJusQNw3R+QqFHU= =3k9X -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--