geli broken in 13.0-BETA4 and later on armv8

Oleksandr Tymoshenko gonzo at bluezbox.com
Sat Mar 6 18:39:11 UTC 2021


Peter Jeremy via freebsd-current (freebsd-current at freebsd.org) wrote:
> [Adding arm@ and making it clearer that this is armv8-only]
> 
> On 2021-Mar-06 20:26:19 +1100, Peter Jeremy <peter at server.rulingia.com> wrote:
> >On 2021-Mar-06 19:18:37 +1100, Peter Jeremy via freebsd-stable <freebsd-stable at freebsd.org> wrote:
> >>Somewhere between 13.0-ALPHA2 (c256201-g02611ef8ee9) and 13.0-BETA4
> >>(releng/13.0-n244592-e32bc253629), geli (at least on my RockPro64 -
> >>RK3399, arm64) has changed so that a geli-encrypted partition (using
> >>AES-XTS 128) that was readable on 13.0-ALPHA2 becomes garbage on
> >>13.0-BETA4.
> >
> >I've confirmed that the problem is f76393a6305b - reverting that
> >commit fixes the problem in releng/13.0.
> >
> >I've further verified that the bug is still present in main (14.x)
> >at 028616d0dd69.

Could you test this patch and let me know if it fixes the issue?

https://people.freebsd.org/~gonzo/patches/armv8crypto-xts-fix.diff

Thanks

-- 
gonzo


More information about the freebsd-stable mailing list