From owner-freebsd-current@FreeBSD.ORG Wed Oct 26 17:48:53 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83648106566C for ; Wed, 26 Oct 2011 17:48:53 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.7]) by mx1.freebsd.org (Postfix) with ESMTP id 14CE58FC12 for ; Wed, 26 Oct 2011 17:48:52 +0000 (UTC) Received: from [78.34.144.218] (helo=fabiankeil.de) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1RJ7as-00086F-Mc for freebsd-current@freebsd.org; Wed, 26 Oct 2011 19:48:50 +0200 Date: Wed, 26 Oct 2011 19:45:17 +0200 From: Fabian Keil To: freebsd-current@freebsd.org Message-ID: <20111026194517.1d20472a@fabiankeil.de> In-Reply-To: <20111019230915.041aa981@fabiankeil.de> References: <20110927220015.375ac343@fabiankeil.de> <20111019230915.041aa981@fabiankeil.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/z3sbf5bJWAHfeVhd+7lMDg+"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Subject: Re: Fatal trap 12: page fault while in kernel mode -- Stopped at atomic_subtract_int+0x4 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, 26 Oct 2011 17:48:53 -0000 --Sig_/z3sbf5bJWAHfeVhd+7lMDg+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Fabian Keil wrote: > Fabian Keil wrote: >=20 > > I pretty reproducible get the following (handtranscribed) panic > > when sending an zfs snapshot to geli provider based on an USB > > stick that disappears (due to a bug, or because it's unplugged):=20 > >=20 > > Fatal trap 12: page fault while in kernel mode > > cpuid =3D 0: apic id =3D 00 > > fault virtual address =3D 0x288 > > fault code =3D supervisor write data, page not present > > instruction pointer =3D 0x20:0xffffffff808e2984 > > stack pointer =3D 0x28:0xffffff800023fba0 > > frame pointer =3D 0x28:0xffffff800023fbb0 > > code segment =3D base 0x0, limit 0xfffff, type 0x1b > > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > > current process =3D 13 (g_up) > > [ thread pid 13 tid 100010 ] > > Stopped at atomic_subtract_int+0x4: lock subl %esi,(%rdi) > Here's another one, again with recent HEAD. >=20 > This time the USB stick disappeared while the pool was > being scrubbed and dumping actually worked. The stick > seems to reproducibly disappear after scrubbing it for > a while and the panic seems to be reproducible as well. >=20 > The stack trace looks a bit different, but I'm not sure if > this is because it's a slightly different situation or because > of changes in HEAD. They are different and can be reproduced independently. I filed PRs for them: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D162010 http://www.freebsd.org/cgi/query-pr.cgi?pr=3D162036 Fabian --Sig_/z3sbf5bJWAHfeVhd+7lMDg+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk6oRzIACgkQBYqIVf93VJ0V8ACfZsjtLSPiDd6kapKu/cCp1AH/ lqUAoJHA43DCK7aieEDwao9PTbzDzE+n =sSNJ -----END PGP SIGNATURE----- --Sig_/z3sbf5bJWAHfeVhd+7lMDg+--