From nobody Thu Aug 3 00:23:56 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RGV2j09mpz4dCYx for ; Thu, 3 Aug 2023 00:23:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RGV2N6jqRz3vWN for ; Thu, 3 Aug 2023 00:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691022237; a=rsa-sha256; cv=none; b=u5TBkrhcUciG9OYP4oQ2tkBs+eTsLklWHTNbVywpKK1fX3euc+QBz9xjKUNJL04aQiY4JG Bq3+Zzk4Lh8ADXyVnM4TCynFMZDF2VEPfdo4k2WYc/t2hlCjYFtnTg8sJsXOi+VdCZX6a1 jEn3vNEaknqMuGZpa8SYzTvoN1e58o/w0m64jCQc9cOJPqfNmdiAqUtz9/9E/KHuJ0jGK2 CxY7ZG2bbJyYzCkQRAy9V6GYgucZIqOS5WfX1AH87ocu6yxQfORBUNvLUKQi9fBOzAsUaT mfCoymZePxOTzkr4GQ+/InBurona6OZhORP4u/5Ycy0yuOgJsYafIzDpJOOv8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691022237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fdKRNA2hIaAfv9xuTbkRPGHsQcJ9iPFPYfiRvFpvvIA=; b=qeE+5DlaUdJiQceQvhIiZhr/hjWAbThNST8S3uIcM3mK2g/rndB43jqVaJwR9dX4bJPCm9 1hAgcVTjsWAuvsoX+EqtwhKEDml/jNuZ3Uep+b2jT8oK1pMfjOFBLgfmMbVHokGeZkb8Ah r3iTZjrB2gUrT4ih3IgGW720NDnvNyLibAcvNx4I+pEdPI0/sYdKuGZTRwk8QEryN3X9/c 0m9nA8RJ7BNZrvuKGV+r43v+F/GPLlwnzM/qZf5TSRDbIS7GkvU2kAAv52r2qLp9mptl+P WzNtwDZqPDEt2tzN5wocSnesiI4JtF2Sd8QsUnPAZvOjJTC1SIt2sAZv56Xh6w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RGV2N53YRzgHQ for ; Thu, 3 Aug 2023 00:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3730NuZS067809 for ; Thu, 3 Aug 2023 00:23:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3730NuTt067808 for bugs@FreeBSD.org; Thu, 3 Aug 2023 00:23:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272904] ccr: geli reads fail with EINVAL on 13.2-RELEASE Date: Thu, 03 Aug 2023 00:23:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 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.=