From nobody Sun Aug 31 19:01:59 2025 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 4cFLw81klGz66NT9 for ; Sun, 31 Aug 2025 19:02:00 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cFLw80RLWz3cTY for ; Sun, 31 Aug 2025 19:02:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756666920; 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=0tYTWt0gZCguvPwwfxDk0RwFp7EzzZF62+CqOUrDOYs=; b=H1P0Ax6gNps4UPrYVSJPHgq4Gpn6jCuPtgtHvus5dkUMDj877hkk+ydaOsiWUnTlcZB4OQ R3eQVRA2O7ndImXzgIVurVetORXw75j3qkARuUWY7OJavjjSk+HeXAlQquF54I4rJeiypd oMx0xDLQpU+yjFbDPJ62KQhFuRdembPmoIhnUDD9A1jD+yEVvfEdUxFpYLcTPGDq9iRZYB albubSxnyRfsLHn/KhB7lMKdBkv329bJl51bHrzQCun5ie7l4kKnxB+MK7l1nR7y15aGjz Kq0BZfN4540JzXea4mWfuQEOx1AtCnmSlLA2L5aYwd0/guP99SeZzthRYgw5TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756666920; 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=0tYTWt0gZCguvPwwfxDk0RwFp7EzzZF62+CqOUrDOYs=; b=gdSz74LWPsJEDu2mwPPOgVU5qrgU2TrvvHybjxbLK+0DHDVbb56lPyfBKBWLBdXVxgBof3 Ztai9JdIgUZ/hAj6apSzBS7fIeQ/lQMoKiTLb1fI26FbpXQZ9UZyVdMP/lc2aQviKbJvrL CDPTgDmiqHEb/9jlikydTode3yayuIpf2WscWg1zvIgtCAuRHgZ7JUy6nzaK4JFqYsDKKi 3/x97Iuf4d2t0OrmSjP8ge/K3GwgwNzBzhBE++igh0FLkFSgMD06rZuFYfOOrxF4y6bIYb /UKP/b/hkisO5k2VY7GGYqgWBtZ0ScfzKzuNX1gO9TYV2ggRqI5+1dcBjhYPrQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756666920; a=rsa-sha256; cv=none; b=V1UXQ+8rUNFGII5fzjkUllaiu61Qgr7aZLV0Go2V8sreCsGnUBejLU1Lx/lQ6TQfJxFAXv bN0RVF+uWdE7oQ5EKtPKcm5uVDniQlNIJpLxQThmJh8KMuWcHm0oUT++fG1SxhGf84oyLX fbvp3VfnF7cufNY2eWj8jofGQE/4kP0jnpZcIQSkf8p0wYRCsOeRWYI+ovafuR+PWlJIpq D9O3BtpXoj+Q3/1TOxOn+rDGj+LKlQQ24CuNX1cC+CrOXqxImjuVFMh0z8s66VbYbqe2Tr blukjTanhZ4lGgaFnD4L2s8AnGZvmvla/EP6xZUsffo4h3P6wwplh3aXDKi7Zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cFLw76vG7z9C5 for ; Sun, 31 Aug 2025 19:01:59 +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 57VJ1x9Y034763 for ; Sun, 31 Aug 2025 19:01:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57VJ1xG1034762 for stable@FreeBSD.org; Sun, 31 Aug 2025 19:01:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla 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: Sun, 31 Aug 2025 19:01:59 +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.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 #18 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D004ce88ad1efd42a1d7d5692849b4aa69= 06178fc commit 004ce88ad1efd42a1d7d5692849b4aa6906178fc Author: Peter Eriksson AuthorDate: 2025-08-31 18:58:56 +0000 Commit: Warner Losh CommitDate: 2025-08-31 19:01:09 +0000 mpr: Add workaround for too few slots being automatically scanned This patch adds a /boot/loader.conf setting that makes it possibly to override the detected number of slots in storage enclosures. Some (yes I'm looking at you HPE D6020!) reports less available slots that there actually are (the D6020 seems to report 18 but actually has 35 per drawer). This causes the mpr driver to have problems detecting/managing all drives in a multienclosure setting. For the D6020 this occurs when connecting two or more fully equipped (140 drives) enclosures to one controller... This problem can be "fixed" by adding the following to /boot/loader.conf and rebooting: hw.mpr.encl_min_slots=3D"35" Note: I (Warner) don't have this hardware to see if there's some way to fix the detection, so I'm committing this as a stop-gap. It's a no-op if no tunable is set. PR: 271238 Reivewed by: imp sys/dev/mpr/mpr.c | 10 ++++++++++ sys/dev/mpr/mpr_mapping.c | 18 ++++++++++++++++++ sys/dev/mpr/mprvar.h | 1 + 3 files changed, 29 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=