From nobody Thu Nov 28 14:45:24 2024 X-Original-To: stable@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 4XzfHT5yGMz5dpV3 for ; Thu, 28 Nov 2024 14:45:25 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XzfHT29gYz46Qy for ; Thu, 28 Nov 2024 14:45:25 +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=1732805125; 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: in-reply-to:in-reply-to:references:references; bh=SyYhpjpRUzv4CJX0vBvAmciPsR+Xa3KFhhD7JZ8R2zA=; b=xwtwFMTiZk0bLy0e2ii98UuobhChijsqe0xg3eYNK6xXHr2uMx3nL212zUC7fJir4W3xW2 BCgynnueSGqKA2RYdo3xIn/HdrM1iLAe8tWuPpZZ4ZSVALVjKKSHwuy704NDiQnMXC7gkB LzuM3XoRwePRf1HqBa66ibGwL5y2ASTR+n7iisMN5ouJDbegVSIGYjlPBVHkUyczoMfvnP 7Hn31OZ4zTz/njXNZ/9SC64bhdsyw/4acR2iMJfCC6u8dxndBmqXRyIV8Ozez5ghzBznL8 gf/BvyvhVf+YbfNrZzebBcVgglXNvxdEtkA/VdF9/qlZSYXRiQmBtdIUB2vAOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732805125; a=rsa-sha256; cv=none; b=rs3PYPG4MdjypDnf8LT3q9M2T/ISPh72OGvSX5QcswZnW5rXRDvBt0UcSOprk9yJqogmhm Yyy5bsszHo6nYcg21eA7aSWZI2/0s7OhNcsR3vxnGNc2YXXG1nDSFBAFxL+q61HTHGmavJ 6Wil0EHPHbs3dR2EuE/V/0FgQC3xcfk/gV6+hgLVQCLARaV20Mh72m5lYl9dMxdJEn9vQg 2JZTWkVgNtDz92ZhiMFmbnxyVRjHfzcviGBA8cKR3a+wduqxUEGtbY6gIKOMj2pZF1zNKd JAWhYb+MjCtWDiER8cLWI6zcC185lec1Ec1qgMytDHMLD+H833xJa/c48KSrpQ== 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 4XzfHT1mzGzkDC for ; Thu, 28 Nov 2024 14:45:25 +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 4ASEjP7m045839 for ; Thu, 28 Nov 2024 14:45:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4ASEjPLS045838 for stable@FreeBSD.org; Thu, 28 Nov 2024 14:45:25 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: stable@FreeBSD.org Subject: [Bug 271238] mpr (LSI SAS3816) driver not finding all devices in HP D6020 enclosures Date: Thu, 28 Nov 2024 14:45:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pen@lysator.liu.se X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271238 --- Comment #14 from Peter Eriksson --- (In reply to Rafe from comment #13) Yes, it's that mapping that fails. However I can't use "-1" since from the = man page: "device. This feature is not recommended if the topology includes multiple enclosures/expanders. If multiple enclosures/expanders are present in the topology, Phy numbers are repeated, causing all devices at these Phy numbers except the first device to fail enumeration." In our setup we have multiple expanders (one in each drawer) so the phy num= bers definitely repeat. (The Linux people seems to have dropped all this HBA/driver-specific mapping logic since kernel 2.6 and just identifies drives using their WWN and uses "udev" to create stable mappings in the kernel instead - that is probably a better way of doing it, but that's a major change :-) Btw, I'm not sure it is the D6020 enclosures that's really at fault. When I query the box via sg_ses / camcontrol smpphylist etc it gives valid results= and says 35 slots etc. The wrong (18 instead of 35) number of slots definitely comes from the SAS3= 816 HBA via an MPI message (MPI2_SAS_ENCL_DEVICE_STATUS_CHANGE) though, so it's= not something the mpr driver dreams up atleast :-) --=20 You are receiving this mail because: You are on the CC list for the bug.=