2016. február 19., péntek 15:56:53 UTC+1 időpontban [email protected] a következőt írta: > 2016. február 17., szerda 18:16:09 UTC+1 időpontban [email protected] a > következőt írta: > > Hi > > > > I have a Cubieboard2 device, is Allwinner A20 SOC, running and Armbian 5.00 > > with kernel 4.4.1. > > > > As in the latest version the sun4i-ss module is added, i tried the hardware > > crypto acceleration with my 2 TB LUKS encrypted HDD, with 256bit > > AES-CBC-PLAIN64 encryption. > > > > It was fast, but i noticed that when playing videos from that HDD, there > > are random errors coming from somewhere. As the same happened when > > streaming the video on DLNA, and SAMBA, i did some tests. > > > > As the HDD is also used for a backup storage, i compared the original files > > with the backup on the encrypted HDD, and the most of the bigger files were > > different. > > > > So i've unloaded sun4i-ss module with "rmmod sun4i_ss" and everything > > become OK, no video errors, the backup and the original files are identical. > > > > So there is something wrong with this module, as i see only the decryption > > side is faulty, the encryption seems to be OK. > > > > Any suggestions? > > af_alg_test aes check writes only "info:" lines, but never errors. > > I never compiled kernel, just using apt-get upgrade, so until the next > armbian release with 4.4.2 kernel i can't try. > > BTW i've forgot something: the errors with decryption only happens with big > files (hundreds of mbytes), but not with small few kbyte files. Which file > decrpyted wrongly and which is OK seems to always the same. > > The errors are in ~10-~40 byte blocks, usually look like this: a block of > errors, then few mbytes are perfect, then again a block with errors, again > perfect, then error block again ...
There was a dev, compiled kernel for the device, so i could install and try 4.4.2 kernel, but the result is the same, the problem is still there :( -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
