Re: kern/152647: Use of geli hmac/sha512 yields GEOM_ELI "bytes
The following reply was made to PR kern/152647; it has been noted by GNATS.
From: Stefan =?iso-8859-1?Q?Kr=FCger?= <stadtkind2@gmx.de>
To: bug-followup@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@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
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 2 之 4 篇):