Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2011 15:38:45 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        freebsd-current@freebsd.org
Cc:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject:   Re: panic: g_eli_key_hold: sc_ekeys_total=1
Message-ID:  <20110424153845.4d355498@fabiankeil.de>
In-Reply-To: <20110424111203.2fe56510@fabiankeil.de>
References:  <20110422170401.4847857d@fabiankeil.de> <20110424111203.2fe56510@fabiankeil.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/O2Xnp2yQadtxc1RlBGcvd+I
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
> > With sources from today my system panics at boot time
> > after attaching the swap device:
> >=20
> > GEOM_ELI: Device ada0s1b.eli created.
> > GEOM_ELI: Encryption: AES-XTS 256
> > GEOM_ELI:     Crypto: software
> > panic: g_eli_key_hold: sc_ekeys_total=3D1
> > cpuid =3D 0
> > KDB: enter: panic
> > Uptime: 2m16s
> > Physical memory: 1974 MB
> > Dumping 213 MB: 198 182 166 150 134 118 102 86 70 54 38 22 6

> > Before the panic, the geli provider (AES-CBC 128) for the ZFS pool
> > is attached without issues. Attaching geli providers located on
> > USB disks doesn't seem to cause issues either, and I haven't
> > been able to reproduce the panic by manually running:
> >=20
> > /sbin/geli onetime -l 256 /dev/ada0s1b
> > swapon /dev/ada0s1b.eli
>=20
> Which of course isn't the sector size normally
> used for the swap device.
>=20
> The panic can be reproduced with:
> /sbin/geli onetime -l 256 -s 4096 /dev/ada0s1b

Somehow
http://lists.freebsd.org/pipermail/freebsd-current/2011-April/024199.html
and
http://lists.freebsd.org/pipermail/freebsd-current/2011-April/024210.html
haven't reached me.

fk@r500 ~ $diskinfo -v /dev/ada0s1b
/dev/ada0s1b
        512             # sectorsize
        2147483648      # mediasize in bytes (2.0G)
        4194304         # mediasize in sectors
        0               # stripesize
        1073782272      # stripeoffset
        4161            # Cylinders according to firmware.
        16              # Heads according to firmware.
        63              # Sectors according to firmware.
        090509FB2F32LLEY6D8A    # Disk ident.

It is indeed fixed in r220984. Thanks, Pawel.

Fabian

--Sig_/O2Xnp2yQadtxc1RlBGcvd+I
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk20J+wACgkQBYqIVf93VJ3JUgCgyp3DbOBQlnCHuRjpGkfBVWmb
0KEAniC4vuuWpAEsZ3l/jEJQ4DpjRO+h
=r4IW
-----END PGP SIGNATURE-----

--Sig_/O2Xnp2yQadtxc1RlBGcvd+I--



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