Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2015 17:42:33 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: geli panics my system after suspend-resume: g_eli_orphan_spoil_assert() called for cd0.eli
Message-ID:  <20150701154233.GA1456@garage.freebsd.pl>
In-Reply-To: <20150629013011.GN50491@over-yonder.net>
References:  <CAAVO5%2BLR9MfHvt0tR5G4FyXKRt_hzkR3ZKUxvEA8Z%2BjWuEFq3g@mail.gmail.com> <20150613224602.GB1733@over-yonder.net> <CAAVO5%2BJTeZBqLZmd5t_riNmChgH8YH76DurJ_TUumFfgnVvpZg@mail.gmail.com> <20150615060128.GC1733@over-yonder.net> <20150629013011.GN50491@over-yonder.net>

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

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 28, 2015 at 08:30:11PM -0500, Matthew D. Fuller wrote:
> On Mon, Jun 15, 2015 at 01:01:28AM -0500 I heard the voice of
> Matthew D. Fuller, and lo! it spake thus:
> >=20
> > But presumably geli should treat that spoil event the same as an
> > orpah, which at least avoids the panic and does the least wrong
> > thing in the circumstances.  Since the events DO occur (the code
> > suggests the original thought was that they couldn't), we might as
> > well deal with them as gracefully as possible.
>=20
> Patch stuck in bugzilla at
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201185>; to not get
> lost.

Hi Matthew.

The spoil event happens when provider is open for writting for the first
time (its open-for-write counter goes from 0 to >0). Since GELI opens
its providers always exclusively there can be no write opens, thus the
spoil event is unexpected.

To see what exactly is happening I'd need to see the console output from
before that happens with kern.geom.debugflags set to 5.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://mobter.com

--bg08WKrSYDhXBjb5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJVlAppAAoJEJVLhSuxKFt1lR8QAKQN7uxuB4VTmtLr2h9yyqM7
lcJdJri2PHKCkrlfKpymVYcHf/uYXR3XDvXQ4znJ/tpWjloIJoTo9kLN/6WkzyxD
sCPBLPIhzJB/uXoMjo2mLSJsX6Xshl5w1P18nkdnyqUMtaexPBq2QcYbkDYQjNbs
P3BogzxaTwUyco8ah01BKiZOzgW4KH7zmeWT/Bc7XrfEiuSm5oZpq3qO5+/8AQxo
Z3qo5rye/CXvuNFQX1k3L3yqYo0+yzQ9ssJv/mjE9wclg8x9ZnIVPhtxSza1aHR8
Z/VeEnoNw1+AWhBWGQPpiVrl+lhCg67Sn9iHCV9HnFEJhC4XF6c0GTIX3nQnqLBE
0cFDiMGOPcymuVNo2v7/nJ5+wgcOVE6PMy9sXDcg30SQvg9Bfq9AkGrwYK5SoyFW
fNEVYs/NpXLmHUVOMMp8oQNhOvMLnUxbLobGgIQD3gbt3k+WnZFm+WugTVKWtMU4
PL2rJLETtw75tRoZDkJDI+pB4hrK4cv0SAYXW2JQXMKFF62g52B5HRHuIWg/oEYn
cyb2EZ+1GpzCJo0040L2RFLKIVJ9lkV7wkRKFbmjauaMAoYKzvJfmJ5FlfcYbDox
UIVtov7VQ7y+0A5yJR5Il1dgrDZDjQxx4oRafBk11iAKop+rhUE1RAbw6aL4lNsM
gGWZ40Ga8zhxXfvopBKt
=9qRB
-----END PGP SIGNATURE-----

--bg08WKrSYDhXBjb5--



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