From nobody Mon May 8 21:54:17 2023 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 4QFZnQ0sZtz49BQY for ; Mon, 8 May 2023 21:54:18 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QFZnP6Pm9z4NkH for ; Mon, 8 May 2023 21:54:17 +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=1683582857; 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=9QL5t5l17GS6kVoeOO9X5EvZ1eSL8cJxfOQRhgwRgSU=; b=M5N7iKid9pobka99BcpwGRp2L10HdeDk1WXBx1D10up8MzwPbk5FER1SsMWFsQ0ltn3qDk ZcC8G8CIZ8SKW90nKJIQlD2jEZ0bNK1VL1O+ED8cOugz3B2hqIngJkp6P1yXc+UGSH25Sb P5Vnr09CNM9IJeJwlHBQEbWsSoZxj6YEQ6SLlUxWHif985lb6G4JyR/o/3CIgDdJj7djrV /uzlxMeTq/0oqb1t/01DB9rFjbR9FWaSuu+XVJ+YJWB9h1q6VVqaIaHxMTvjSVHpEN8Rnp S8/Lf2ZteQSYKXPsm3FbYggSYMqY7YlunR+78C9jGns9YCfVPLCpfSYnolsFAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683582857; a=rsa-sha256; cv=none; b=O0GF/ZJr/4Qo7ZP3TDjSjYmyyckiYaEQLYQBmveinsfbTuval4o+RKqr7Pnsmd3HMxi5Wn rBm0VaeyiiMm3Zi841yptM2VoFfFUONS90PCdXn+FHtOMu4V9Szi3Lz+1Imh7MTZNgP15L gQlvN/c1FIus9JaOz8Y7aXTV/5KGq5NIRLnV5OC6RayRQMltNBNp1WKMqt1bkVzBaQptY7 VZqgEU3xwGaCUBcYDCDu+41PZx71h9UIu/uQICz+KNXC7y15BgZg+o/FpPqs9GWJ2BaoSa 8DQh/2/FglC4DVO9X6Z2gtuJXx5/ZtYNlQpF5KfYHdjdUeCkQgDwJ38oup0bnQ== 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 4QFZnP5SK9z1GgT for ; Mon, 8 May 2023 21:54:17 +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 348LsHmx076679 for ; Mon, 8 May 2023 21:54:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 348LsHe4076678 for stable@FreeBSD.org; Mon, 8 May 2023 21:54:17 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 246279] ciss device driver not allowing more than 48 drives to be detected by the CAM layer Date: Mon, 08 May 2023 21:54:17 +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: 12.1-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: Open 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: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246279 --- Comment #27 from Marek Zarychta --- Thanks for taking an effort to test it again Peter. Without the patch you authored, the tests would end sooner with no panic and 40 instead of 140 dr= ives seen. That's a large setup and the solution is not ideal, but looks like a = step forward.=20 In the meantime I plied a bit with ciss(4) settings, and found out that set= ting hw.ciss.nop_message_heartbeat=3D"1" on which you complained in comment 25 b= reaks things also for me regardless of the application of the patch from D25155. = On the other hand, I am finding quite a useful new sysctl knob "hw.ciss.verbos= e" introduced by your patch for operations like drive replacement:=20 [7372] ciss0: *** Hot-plug drive removed, Port=3D1I Box=3D1 Bay=3D3 SN=3D= =20=20=20=20=20=20=20=20=20=20=20 PLXXXXX [7372] ciss0: *** Physical drive failure, Port=3D1I Box=3D1 Bay=3D3 [7372] ciss0: *** State change, logical drive 2, new state=3DFAILED [7372] ciss0: logical drive 2 (da2) changed status OK->failed, spare status= 0x0 [7372] da2 at ciss0 bus 0 scbus0 target 2 lun 0 [7372] (da2:ciss0:0:2:0): Periph destroyed [7444] ciss0: *** Hot-plug drive inserted, Port=3D1I Box=3D1 Bay=3D3 SN=3D= =20=20=20=20=20=20=20=20=20=20=20 PLXXXXX [7444] ciss0: *** Media exchanged detected, logical drive 2 [7444] ciss0: logical drive 2 () media exchanged, ready to go online [7444] ciss0: *** State change, logical drive 2, new state=3DOK [7444] ciss0: logical drive (b0t2): RAID 0, 139776MB online [7444] ciss0: logical drive 2 () changed status failed->OK, spare status 0x0 [7444] ciss0: logical drive (b0t2): RAID 0, 139776MB online [7444] da2 at ciss0 bus 0 scbus0 target 2 lun 0 Anyway, the patch proposed in review D25155 fixes a couple of things, was tested in JBOD and RAID mode and seems to not introduce any regression. --=20 You are receiving this mail because: You are on the CC list for the bug.=