kern/152647: Use of geli hmac/sha512 yields GEOM_ELI "bytes corrupted at offset" error

Stefan Krüger stadtkind2 at gmx.de
Tue Jan 11 11:10:08 UTC 2011


The following reply was made to PR kern/152647; it has been noted by GNATS.

From: Stefan =?iso-8859-1?Q?Kr=FCger?= <stadtkind2 at gmx.de>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: kern/152647: Use of geli hmac/sha512 yields GEOM_ELI "bytes
 corrupted at offset" error
Date: Tue, 11 Jan 2011 11:36:20 +0100

 The problem still exists on 8.2-RC1.
 
 FreeBSD beastie.home.lan 8.2-RC1 FreeBSD 8.2-RC1 #0: Thu Dec 23 15:32:35 UTC 2010     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 Steps to reproduce the issue:
 
 # swapoff -a
 # geli load
 # geli onetime -a HMAC/SHA1 -e AES-CBC -s 4096 -d /dev/ad0s1b
 GEOM_ELI: Device ad0s1b.eli created.
 GEOM_ELI: Encryption: AES-CBC 128
 GEOM_ELI:  Integrity: HMAC/SHA1
 GEOM_ELI:     Crypto: software
 GEOM_ELI: ad0s1b.eli: 4096 bytes corrupted at offset 954429440.
 GEOM_ELI: ad0s1b.eli: 8192 bytes corrupted at offset 65536.
 GEOM_ELI: ad0s1b.eli: 8192 bytes corrupted at offset 8192.
 GEOM_ELI: ad0s1b.eli: 8192 bytes corrupted at offset 0.
 GEOM_ELI: ad0s1b.eli: 8192 bytes corrupted at offset 262144.
 GEOM_ELI: ad0s1b.eli: 8192 bytes corrupted at offset 65536.
 GEOM_ELI: ad0s1b.eli: 8192 bytes corrupted at offset 8192.
 GEOM_ELI: ad0s1b.eli: 8192 bytes corrupted at offset 0.
 GEOM_ELI: ad0s1b.eli: 8192 bytes corrupted at offset 262144.
 GEOM_ELI: ad0s1b.eli: 4096 bytes corrupted at offset 32768.
 GEOM_ELI: ad0s1b.eli: 4096 bytes corrupted at offset 0.
 GEOM_ELI: ad0s1b.eli: 4096 bytes corrupted at offset 8192.
 GEOM_ELI: ad0s1b.eli: 4096 bytes corrupted at offset 65536.
 GEOM_ELI: ad0s1b.eli: 4096 bytes corrupted at offset 0.
 # 
 
 This happens with any data integrity verification algorithm.
 
 Also, newfs'ing a HMAC/* geli partition is not possible.
 
 HTH


More information about the freebsd-bugs mailing list