From nobody Tue Nov 26 14:58:09 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 4XyQg62zV0z5fZKV for ; Tue, 26 Nov 2024 14:58:10 +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 4XyQg55Srfz4Zrb for ; Tue, 26 Nov 2024 14:58:09 +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=1732633089; 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=6XQeubShi1neOMtXWr9r6v6DIAnJA4KqJnFSlY+ldaQ=; b=rds8bLi2jSbmExz4jL9+Ntlog5F3f4yfmOj1m1Y3cvhpEbUB9DG1yOzBhb30TS3hZKm5+P OUt1InQw/FZrWQcP1WSsjSCabdImaPA5OyqEbfG4LSn8TMMCb1rsOa9ndbSAIwXXQC+CNA uhEz0DbxmOS1kqCDFofNLJr+3v+HBQKxq9goCoq8eLaGDejuZDomaFSdqXtiLdYlh3+Dg3 1cHqGbI3K9pHNgn5OyRVlEbNTmzSqTpDC4xEINSCSKwPgf042UlPpmLPAY8QMooQF+syak BHntc9Yi93PZeHKvOLNdT7N8nOxokuGWher58BUfljhXrh4pGQ8hpxMXCvE01A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732633089; a=rsa-sha256; cv=none; b=Y/5AYdvo1QbilRBA6YPf8Oulf4+1Rue5m1OgoFlvry1Ev7aTuoWCsOb2J0h10WHKSxE3qk S//JuI8B/G79OcXsnMBQeFkVO28PGpgzvGaU3TGSBeXiHDR+FZN2hnaT3AmdshOsLhhvQJ QM4qK943sqyEuh4UPx83hRSoiaC+1SRaJ4Q3IGbQxpJ9/IKc2E29ky1zKe7JYOlri5awwi VXQUZtQVmNu3ENPIuYiuffoe+K6oKylrChKCe4Xibtv4Pxp7NLIW/IkuyoEnXY+I7rZ6GU jIKKpsyQvH5u3H/vJhu4MiBbY1u1qEWgk4WGa04vvzGr2SBZPY6hJKB8fwrr2g== 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 4XyQg54mcwzV7t for ; Tue, 26 Nov 2024 14:58:09 +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 4AQEw96V057615 for ; Tue, 26 Nov 2024 14:58:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AQEw9eW057614 for bugs@FreeBSD.org; Tue, 26 Nov 2024 14:58:09 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 271238] mpr (LSI SAS3816) driver not finding all devices in HP D6020 enclosures Date: Tue, 26 Nov 2024 14:58:09 +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.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: attachments.created 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: 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 #9 from Peter Eriksson --- Created attachment 255468 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255468&action= =3Dedit Add hw.mpr.encl_min_slots loader.conf setting to override detected num_slots Please find enclosed a patch to the mpr driver that adds a kernel tunable k= nob to enforce a minimum value for the detected enclosure "num_slots". Setting: hw.mpr.encl_min_slots=3D"40"=20 solves the issue with multiple D6020 enclosures connected to one controller= and makes it possible to use all 140 drives. (The D6020 seems to report 18 instead of 43 with is wrong. Other boxes also have strange values (a 24-drive SuperMicro storage enclosure seems to report 43, but that atleast doesn't prevent it from finding all drives). The mpr driver probably also should add some sanity checking and give more warnings if (like in my case) it allocates room for 18 drives and then trie= s to populate with 35... but that's for another day & patch). --=20 You are receiving this mail because: You are the assignee for the bug.=