Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2023 00:23:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272904] ccr: geli reads fail with EINVAL on 13.2-RELEASE
Message-ID:  <bug-272904-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272904

            Bug ID: 272904
           Summary: ccr: geli reads fail with EINVAL on 13.2-RELEASE
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

Using the ccr driver to accelerate geli devices does not work in 13.2-RELEA=
SE.=20
The geli device will be created ok, and "geli list" will show "Crypto:
hardware".  Writes will work, but any read will fail with EINVAL.  Notably,
this bug does NOT affect 14.0-CURRENT (built today), but I can't guess which
commit fixes it.

OS: FreeBSD 14.0-CURRENT amd64
Chelsio card: T6225-SO-CR Unifed Wire Ethernet Controller (2 cards installe=
d)
dev.t6nex.0.vpd_version: 131
dev.t6nex.0.scfg_version: 33562624
dev.t6nex.0.bs_version: 255.255.255.255
dev.t6nex.0.er_version: 2.0.0.8
dev.t6nex.0.md_version: t6d-2.13.0.3
dev.t6nex.0.hw_revision: 0
dev.t6nex.0.firmware_version: 1.27.3.0
dev.t6nex.0.tp_version: 0.1.23.2
dev.t6nex.1: all version strings same as for dev.t6nex.0

STEPS TO REPRODUCE
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1) Install T6225-SO-CR card
2) kldload cxgbe and ccr
3) mdconfig -a -t swap -s 16m
4) geli onetime /dev/md0
5) xxd /dev/md0.eli | head

Alternatively, instead of steps 3-5, do
3) cd /usr/tests/sys/geli/class/eli
4) kyua test

9 test cases fail, all of them the moment that they try to read anything.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272904-227>