From nobody Wed Jan 24 15:10:32 2024 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 4TKnT45v5fz589r1 for ; Wed, 24 Jan 2024 15:10:32 +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 4TKnT44r04z4l7l for ; Wed, 24 Jan 2024 15:10:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706109032; 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=D2L4eA7sfDKA+TD0wvrsX91QCJlSY0eTUfFdddqh1g4=; b=LXjtK+79uQsJMZW6E538zZIXZLUAeUDDGQ3Q+ARh+97OG5PNk5GoQKeOKGE8UQr2uVpKxt cR/UtpJ6bZ/yVQUDPaXOsKW+CWglqy7YOXrxVr2gpfOMmpVCi7fKyrsJgJ4AGiRk7UzqnM dAo3qaZkZTd0+JRnuj90gNbgAL41xr4qt/9aFUVpxzZRL5oo3UwayRQINqXO4tEgtJBZgQ yjEYueDjoFrrAVHW/GSTZtVo5Ef+boWgSZBLvgIVg/94sTdsg6hUmzvq7tsy7xLkMBHYzB xBTybQUT8QyO6mGpBysK/c0v4adsLy2oqNGnHsCZjWXhiAbkhp+Uqnp5THKZBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706109032; a=rsa-sha256; cv=none; b=v7yyj4oy34xD2Ohjn5Ak06jjpF+TNIdbvFZr1dM7SbW1HYowzdW7OmVF2z96PYPi6Gtey/ Jd2wxXXs9E7zTiOLjsRh+TJ+4NeOeFMPdJ2w4XnZ9yf8BFGDo06P2RT3SsQm9Kfun1VrSA fYhpJxwIczJRydDQMNBXgZz3O+VGBQnqmHImlePGu8aNLx1s9bbEi+zsEwXlRDVOgdbksD a8ZBKPk1J5+2rs7lP7P3D6qPjeI6OqsRXLKx21GYFbAgk4F8vHBPOXgRTCWGFL8nziP5Io btv8um8ckKNxJnf+yHlfpPKJVKBeF7IgXriFuJNi7JPMqcyQs32dOdxovsUz3Q== 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 4TKnT43cJDzJrf for ; Wed, 24 Jan 2024 15:10:32 +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 40OFAWAU050288 for ; Wed, 24 Jan 2024 15:10:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40OFAWjt050259 for bugs@FreeBSD.org; Wed, 24 Jan 2024 15:10:32 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 276587] ccp(4) causes 'sysctl -a' to hang when reading OID 'kern.geom.conftxt' Date: Wed, 24 Jan 2024 15:10:32 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@kumba.dev 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=3D276587 Bug ID: 276587 Summary: ccp(4) causes 'sysctl -a' to hang when reading OID 'kern.geom.conftxt' Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: freebsd@kumba.dev The ccp(4) driver appears to work on my NAS machine's Ryzen 5 2200G a bit better under 14.0-RELEASE, in that GELI can create encrypted swap w/o hangi= ng and as far as I can tell, that swap seems to work. However, attempting to = dump all sysctl values w/ 'sysctl -a' will cause sysctl to do a hard hang when it gets to OID 'kern.geom.conftxt'. The process becomes unresponsive and cann= ot be exited w/ ctrl+c, or killed by any signals, including SIGKILL. It goes = into the D+ state and only a reboot can clear it. Sample output from truss showing the hang-up on 'kern.geom.conftxt': > 42815: 0.000007549 write(1,"\n",1) =3D 1 (0x1) > 42815: 0.000007590 __sysctl("sysctl.next",5,0x45a51ae7830,0x45a51ae7828,0= x0,0) =3D 0 (0x0) > 42815: 0.000010670 __sysctl("sysctl.name { 1.2147483316.2147483313 }",5,0= x45a51ae6f70,0x45a51ae6af0,0x0,0) =3D 0 (0x0) > 42815: 0.000008760 __sysctl("sysctl.oidfmt kern.geom.conftxt",5,0x45a51ae= 73e0,0x45a51ae6af8,0x0,0) =3D 0 (0x0) > ^C^C Some dmesg/pciconf info, in case it helps: dmesg: > # dmesg | grep ccp > ccp0: mem 0xfc700000-0xfc7fffff,0xfc884000-0xfc885fff irq 54= at device 0.2 on pci10 > [26] GEOM_ELI: Device da0p2.eli created. > [26] GEOM_ELI: Encryption: AES-XTS 256 > [26] GEOM_ELI: Crypto: hardware pciconf -lvcV ccp0@pci0:10:0:2: class=3D0x108000 rev=3D0x00 hdr=3D0x00 vendor=3D0x1= 022 device=3D0x15df subvendor=3D0x1043 subdevice=3D0x876b vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'Family 17h (Models 10h-1fh) Platform Security Processor' class =3D encrypt/decrypt cap 09[48] =3D vendor (length 8) cap 01[50] =3D powerspec 3 supports D0 D3 current D0 cap 10[64] =3D PCI-Express 2 endpoint max data 256(256) RO NS max read 512 link x16(x16) speed 8.0(8.0) ASPM disabled(L0s/L1) cap 05[a0] =3D MSI supports 2 messages, 64 bit cap 11[c0] =3D MSI-X supports 2 messages, enabled Table in map 0x24[0x0], PBA in map 0x24[0x1000] ecap 000b[100] =3D Vendor [1] ID 0001 Rev 1 Length 16 --=20 You are receiving this mail because: You are the assignee for the bug.=