Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2011 19:45:17 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        freebsd-current@freebsd.org
Subject:   Re: Fatal trap 12: page fault while in kernel mode -- Stopped at atomic_subtract_int+0x4
Message-ID:  <20111026194517.1d20472a@fabiankeil.de>
In-Reply-To: <20111019230915.041aa981@fabiankeil.de>
References:  <20110927220015.375ac343@fabiankeil.de> <20111019230915.041aa981@fabiankeil.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/z3sbf5bJWAHfeVhd+7lMDg+
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Fabian Keil <freebsd-listen@fabiankeil.de> wrote:

> Fabian Keil <freebsd-listen@fabiankeil.de> 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+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111026194517.1d20472a>