From: Anand Moon Subject: Re: Odroid HC1 cryptsetup:encrypt sata driver Date: Wed, 31 Jan 2018 11:21:58 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Krzysztof Kozlowski , Marek Szyprowski , linux-samsung-soc@vger.kernel.org, linux-crypto@vger.kernel.org, Bartlomiej Zolnierkiewicz To: Kamil Konieczny Return-path: Received: from mail-ot0-f176.google.com ([74.125.82.176]:43603 "EHLO mail-ot0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750983AbeAaFwT (ORCPT ); Wed, 31 Jan 2018 00:52:19 -0500 In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org List-ID: Hi Kamil, On 30 January 2018 at 21:02, Kamil Konieczny wrote: > Hi Anand, > > On 24.01.2018 14:04, Anand Moon wrote: >> Hi Kamil Konieczny, >> >> I am looking in setup of encrypted sata hard-disk on Odroid XU4/HC1 device. >> using following encryption method. >> >> aes-cbc-essiv:sha256 128 >> aes-cbc-essiv:sha256 256 >> >> Here is my defconfig I am using. https://pastebin.com/gF5T2stp >> >> Following crypt benchmark we use to test : https://pastebin.com/WiexsJA2 >> >> When I am trying to format the the hard drive I am getting kernel panic. >> I have tired different option like below. >> >> *Please guide me in how to fix this bug* >> [...] > > Sorry for late response, I was on holidays. Try latest kernel 4.15 > and turn off option: > > CONFIG_CRYPTO_DEV_EXYNOS_HASH=n > > in > > Cryptographic API: > Hardware crypto devices: > Support for Samsung Exynos HASH accelerator --> turn off > > You should also turn on option for software SHA256 (and maybe SHA1) > > This is last change in this driver, > so maybe there is some problem with concurrent access to hardware > by AES and HASH driver parts. > Thanks for your input, but I tried your suggestion on latest kernel. but the result is the same. How can I help trace this bug. please guide me. Best Regards -Anand > -- > Best regards, > Kamil Konieczny > Samsung R&D Institute Poland >