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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Fabian Keil <freebsd-listen@fabiankeil.de> wrote:

> Fabian Keil <freebsd-listen@fabiankeil.de> wrote:
> 
> > 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): 
> > 
> > Fatal trap 12: page fault while in kernel mode
> > cpuid = 0: apic id = 00
> > fault virtual address = 0x288
> > fault code	      = supervisor write data, page not present
> > instruction pointer   = 0x20:0xffffffff808e2984
> > stack pointer         = 0x28:0xffffff800023fba0
> > frame pointer         = 0x28:0xffffff800023fbb0
> > code segment          = base 0x0, limit 0xfffff, type 0x1b
> >                       = DPL 0, pres 1, long 1, def32 0, gran 1
> > processor eflags      = interrupt enabled, resume, IOPL = 0
> > current process       = 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.
> 
> 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.
> 
> 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=162010
http://www.freebsd.org/cgi/query-pr.cgi?pr=162036

Fabian

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk6oRzIACgkQBYqIVf93VJ0V8ACfZsjtLSPiDd6kapKu/cCp1AH/
lqUAoJHA43DCK7aieEDwao9PTbzDzE+n
=sSNJ
-----END PGP SIGNATURE-----
help

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