panic: g_eli_key_hold: sc_ekeys_total=1

Fabian Keil freebsd-listen at fabiankeil.de
Sun Apr 24 13:38:52 UTC 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110424/c4c610fd/signature.pgp


More information about the freebsd-current mailing list