From nobody Fri Mar 10 17:44:48 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 4PYD2m2v8kz3xlJN for ; Fri, 10 Mar 2023 17:44:48 +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 4PYD2m1qVtz44sH for ; Fri, 10 Mar 2023 17:44:48 +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=1678470288; 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=DWPbZChmZO2k0Av5BWk+VM7qfib/S+b3Mvg+vfGif5I=; b=sfMBR8bm6f8s4hPlP3hPBEXH6MZc1ac8kOQb3v8xTWnJ6wZLBE+/esmBMdkYCh+TSGSoF9 5KWN+1ecKXHBW/E1DxhTJPKPQrI/DNs6jsQfFsqiJ1OMHFwq2uPeGLVX9ja5YbaHBd8snM sPQqmyfa10sVOgwuT98wm14Yan/YbSNRpl+A9IINKJGLJ2Rtv8h9BkQQ/Kq9BKjdk4CbNk 1QPW1t+TfAw+Qi3eEoyZjOTYjMKtcbf23RAZk3sQLjSmxb3eVXtoUd6rWkS83CAyWkEyTB krhB8RAwkuQEprZnIqOiv/Kx4mjAZloabx5kOTtVz+qjrVmkWJLkpqC19DHPOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678470288; a=rsa-sha256; cv=none; b=rq4etF2KIjCW5F15BvHzjDgiKNZbg7vySFEea0AoTV4e2NVWRugCFyw9PnciCRzpGVWZmE ehmHTAHIneRsBKWb0iHWH81aTpRD8W1x6LEM+869TVYiPSEw+aOMr9htIGna7ZSUbkqVKq F8jPEuDL9ij3hiVve5qP7tIpMnm5Ze91iDeHavjWbv9C3SoKF+HEtR34exNBw6P63ynAk+ 58oTAZ/al0Yv2Os4ycFnNQJLi1MJF8yL7oePwN9eHORMgtywckTFf85phBZJn6j80pdrDg FusonDW/+6NuPF207coROMzgGAuFLNciwA1mBTHWN7dhCmlNkAw6aFqYz0/mkg== 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 4PYD2m0tNtzxp5 for ; Fri, 10 Mar 2023 17:44:48 +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 32AHimG9063468 for ; Fri, 10 Mar 2023 17:44:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32AHimIT063467 for bugs@FreeBSD.org; Fri, 10 Mar 2023 17:44:48 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 270093] sesutil fault all ... fails with EINVAL on inaccessible elements Date: Fri, 10 Mar 2023 17:44:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270093 Bug ID: 270093 Summary: sesutil fault all ... fails with EINVAL on inaccessible elements Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org Some SAS JBODs support zoning. This feature allows individual SAS targets = to be accessible by only some initiator ports. One application would be connecting two servers to the same JBOD, but they wouldn't be able to see e= ach other's disks. A zoned JBOD should also prohibit initiators from accessing SES elements corresponding to inaccessible SAS targets. It reports that by setting the element's status code to 0x8 (No Access Allowed). The bug is that when doing "sesutil (fault|locate) all ...", sesutil will attempt a ENCIOC_SETELMSTAT ioctl for every single element, even the inaccessible ones. The enclosure will reject the command, the kernel will return EINVAL, and sesutil will exit. --=20 You are receiving this mail because: You are the assignee for the bug.=