From nobody Sun Aug 31 19:01:59 2025 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 4cFLw74xfWz66N9F for ; Sun, 31 Aug 2025 19:01:59 +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 4cFLw74TYFz3cpG for ; Sun, 31 Aug 2025 19:01:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756666919; 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=rdFkqCv5ikpvY5inssdNqmyMCWnkE4Qms336lAead8o=; b=xoJ/VLlRib1xsHRk9saVH2x/OQS4pOXjEPXd1IYfzJ6FZ+gG6p+wSFPmqxYdyr+5MToKDI 3Ae9bbvJsMmwP5lIfa0xd2IThGPGy9z8PFuSdSCbY1EYxL0IckADL1n5V7kXcK9k98qSq0 Bq8Y+7uoSKb8ZDnWPCINLo1Hs0qN09/xNEZpVJUV3TKpQN5zPij3QRnZ3Cd41DGaZns6QU FMwDwR8DqsG4j1DIzabrmGumow17zsvRmKhas3o7rDj88P3t3qFKHjc4VnrsewJXgqAxG7 O/QY2mKNAaQ17pbJHc+/TmRXsAkpCepjARAGhOuoJsYfJWKVCcpL8+7RAWbvGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756666919; 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=rdFkqCv5ikpvY5inssdNqmyMCWnkE4Qms336lAead8o=; b=iSUTiY2cxcEzXERRdhYAsz9QV1vDpeYaDdQGRTRoGorv6fm5HiHhq2efg6NlWHkYVHPP/x DVvbSWdBshIparkfuaSQ08UrRvV6z8P01PIUdVwhIYYVuoP4lPOvN99473VOPoqgucEXXF wNwoyMa7JyqvNhSQHIu+vnivtTlLPB8BnBNx6rCPkm0iAWFcSgU7KY8e77sFP83wNWGZs5 lQbM9HUpn5aezfe2dfZvU9pO2cOU4D6vDF1/9KzScSmPS58SF+7qcRHoWSijR3itvPakY8 FtQiMlCGiP7ad1I8OV4eriTq8Zws1oPtH1WBUCchIUhbSBo4ZBVG4mGE/Uu/XA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756666919; a=rsa-sha256; cv=none; b=VDPTh2hj00KUhHWS5aWU4F86EQJ9iQQuephM4lrUW4ETuAcyLppuwecDuD6zrE1vy+ES2B reyidi8b5VwRSSXCRmmEXahMOPpzY7F26YdwOz+2q4pNFTF+EFkctnpwTo0GA2orxtKp27 LjxQRzBUV5dzfds6OME/Qs6dbpNFPTpn8V9TfRGY7j7UINUnEai5aa+yWVyYIq1H155/L4 SzHU6NNJt6hyMqcLQ3URGahAYdPD+DheSUBOTs7st9kd4miY/DvUVyAgnYAoTxxKcBR/xS 95PtWlthc2keoNpO4KLtJ+LKQnBXEZN3BDiknggpMnzMBl4pz3tZHVpgHNOtoA== 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 4cFLw73l1cz9ND 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 57VJ1xh6034753 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 57VJ1xd0034752 for bugs@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: bugs@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: AssignedTo 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: 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=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 the assignee for the bug.=