geli panics my system after suspend-resume: g_eli_orphan_spoil_assert() called for cd0.eli

Matthew D. Fuller fullermd at over-yonder.net
Wed Jul 1 19:30:35 UTC 2015


On Wed, Jul 01, 2015 at 05:42:33PM +0200 I heard the voice of
Pawel Jakub Dawidek, and lo! it spake thus:
> 
> 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.

Well, from OP
(https://lists.freebsd.org/pipermail/freebsd-current/2015-June/056193.html)
it's coming from a CD media change event.  The BT linked from the mail
shows.

panic() at panic+0x43/frame 0xfffffe011ba81b00
g_eli_orphan_spoil_assert() at g_eli_orphan_spoil_assert+0x1f/frame 0xfffffe011ba81b10
g_spoil_event() at g_spoil_event+0x72/frame 0xfffffe011ba81b40
g_media_changed_event() at g_media_changed_event+0x68/frame 0xfffffe011ba81b70
g_run_events() at g_run_events+0x1a7/frame 0xfffffe011ba81bb0


> 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.

'd have to talk to José for that; added him back to CC.


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.


More information about the freebsd-geom mailing list