From nobody Thu Nov 28 14:45:24 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 4XzfHT2hxcz5dpTs 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 4XzfHT0Yzhz46M7 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=5SuOOw2Ab7zvhryzIs3KyInRm+45wtkKKkLjkw6do7M=; b=a8YVvgyNkwZRhvXZDkE0JIjOI8pcbHt+Ezqc1pN6fPKtpHSidrryWcKn9023FrDE93Jj6e UeuzHa0rbgPXQgG3cMWByMxiXgA1W3mx5t0kF819e4VVYh22xy8B83Y/JTUoxN+iz4rrTV Pgd7/7XyoTfCUlF0Ciisp2gmjMfqXGJcbhTby2eUhaWR2Qhv0NAnHFpUQdCGy970E/7We3 amawTRC7d6f6a6Q8cpJBEYQltfvhD+Lnx5mVSht5JR+vzfFqbJyTTLf8qtb/Vg/6zuPL32 6czP1tR46n6kaLCrGrhkNQ5i7schfdk12Ry3RjV9LW1dEiNlI3uu3nqbUbFjHQ== 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=tqsJJq3vKslup5CoC24OVTSUQZDWQLH43iwDLOSaDK2rMoGwR/inuPO+JqB6k4uOrshkfm T/vuv9YTxrcPAmT8+lk+xwMrkisR1KoMLlpHNljbQkRVOnUqei+TQcMLe/3npyriCOKMX3 +H1V39diTL8huxOhgyRigWw8oGYcz4IqkW2lAD1Z0O044cBoo5qeqYmP1Rmurt5b4WGAux fBhY/Xr48Z8ahyUwbtbKkJcgdu7PHNxVXeoptfRnttnZHSbf0H99Q68OCaZnRrDGfYxS9Y acIwsO3iTRlQQ396nUOO5AEzMOGXoSIWFoT1KTVFAe1EqgfpBHL5S36itPNCLQ== 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 4XzfHS5TvxzjtF for ; Thu, 28 Nov 2024 14:45:24 +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 4ASEjOcU045830 for ; Thu, 28 Nov 2024 14:45:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4ASEjOs4045829 for bugs@FreeBSD.org; Thu, 28 Nov 2024 14:45:24 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: Thu, 28 Nov 2024 14:45:24 +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: 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 #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 the assignee for the bug.=