Hi Kamil, On 30 January 2018 at 21:02, Kamil Konieczny <k.konieczny@xxxxxxxxxxxxxxxxxxx> 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 >