Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2015 00:53:12 +0200
From:      =?UTF-8?B?Sm9zw6kgR2FyY8OtYSBKdWFuaW5v?= <jjuanino@gmail.com>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        Pawel Jakub Dawidek <pjd@freebsd.org>, freebsd-geom@freebsd.org
Subject:   Re: geli panics my system after suspend-resume: g_eli_orphan_spoil_assert() called for cd0.eli
Message-ID:  <CAAVO5%2BK4LjjdMStpeOCDu9NH_u%2BJT48=%2BgKVycocGuuPqfUNoA@mail.gmail.com>
In-Reply-To: <20150701193027.GT50491@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> <20150701154233.GA1456@garage.freebsd.pl> <20150701193027.GT50491@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1 July 2015 at 21:30, Matthew D. Fuller <fullermd@over-yonder.net> wrote=
:
> 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.htm=
l)
> 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 0xfff=
ffe011ba81b10
> g_spoil_event() at g_spoil_event+0x72/frame 0xfffffe011ba81b40
> g_media_changed_event() at g_media_changed_event+0x68/frame 0xfffffe011ba=
81b70
> 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=C3=A9 for that; added him back to CC.

Hi, thanks for your support!

You can see the console output here, after setting
kern.geom.debugflags=3D5 in /boot/loader.conf:

http://picpaste.com/panic_geli.jpg

Previously, I ran:

# geli attach -r /dev/cd0
# mount /dev/cd0.eli /cdrom

### close the laptop lid and waits a few seconds. The system suspends.
### open the laptop again. The system resumes. Wait a few seconds: the
system panics.

Best regards



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAVO5%2BK4LjjdMStpeOCDu9NH_u%2BJT48=%2BgKVycocGuuPqfUNoA>