[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.-- Peter Jeremy -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 963 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20210306/19883d85/attachment.sig>
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
On 2021-Mar-06 10:39:02 -0800, Oleksandr Tymoshenko <gonzo at bluezbox.com> wrote:>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.diffYes, it does. Thank you very much. --- Peter Jeremy -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 963 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20210307/c5fef39b/attachment.sig>