Re: panic: g_eli_key_hold: sc_ekeys_total=1

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
Date: Sun, 24 Apr 2011 15:38:45 +0200
Fabian Keil <freebsd-listen_at_fabiankeil.de> wrote:

> Fabian Keil <freebsd-listen_at_fabiankeil.de> wrote:
> 
> > With sources from today my system panics at boot time
> > after attaching the swap device:
> > 
> > GEOM_ELI: Device ada0s1b.eli created.
> > GEOM_ELI: Encryption: AES-XTS 256
> > GEOM_ELI:     Crypto: software
> > panic: g_eli_key_hold: sc_ekeys_total=1
> > cpuid = 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:
> > 
> > /sbin/geli onetime -l 256 /dev/ada0s1b
> > swapon /dev/ada0s1b.eli
> 
> Which of course isn't the sector size normally
> used for the swap device.
> 
> 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_at_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

Received on Sun Apr 24 2011 - 11:38:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC