From owner-freebsd-stable@FreeBSD.ORG Mon Dec 13 11:54:42 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4F741065670 for ; Mon, 13 Dec 2010 11:54:42 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 591CF8FC14 for ; Mon, 13 Dec 2010 11:54:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id BC14A9052A; Mon, 13 Dec 2010 12:54:40 +0100 (CET) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rnDA7GM9zXqw; Mon, 13 Dec 2010 12:54:40 +0100 (CET) Received: from nb895.math (f054009026.adsl.alicedsl.de [78.54.9.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id 4629890095; Mon, 13 Dec 2010 12:54:40 +0100 (CET) Message-ID: <4D0609A9.3020008@janh.de> Date: Mon, 13 Dec 2010 12:55:21 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101210 Thunderbird/3.1.7 MIME-Version: 1.0 To: Kostik Belousov References: <4D02CA9E.1030704@janh.de> <4D02D736.7000103@sentex.net> <20101211160121.GL33073@deviant.kiev.zoral.com.ua> <4D040458.3030601@sentex.net> <20101211232253.GR33073@deviant.kiev.zoral.com.ua> <4D04195F.1080802@sentex.net> <20101212084327.GS33073@deviant.kiev.zoral.com.ua> <4D04DBA1.4070108@sentex.net> In-Reply-To: <4D04DBA1.4070108@sentex.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable-list freebsd Subject: Re: aesni(?) corrupts data on 8.2-BETA1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2010 11:54:42 -0000 On 12/12/2010 15:26, Mike Tancsa wrote: > On 12/12/2010 3:43 AM, Kostik Belousov wrote: >> Please try this patch on the latest HEAD or RELENG_8. >> > > I tried both on i386 and amd64 and all looks good! I did 1000 > iterations of > cryptotest -c -z -t 10 > > without issue! Thanks for the quick fix! I redid my testing on a (read-only attached) geli provider (now with XTS instead of CBC) taking checksums of all files: 8.2-BETA1 without patch without aesni loaded: all checksums ok. 8.2-BETA1 with patch without aesni loaded: all checksums ok. 8.2-BETA1 without patch with aesni loaded: 124 of 18209 failures. 8.2-BETA1 with patch with aesni loaded: all checksums ok. The patch seems to fix my geli problem on 8.2-BETA1 amd64, too. Thanks! Jan Henrik