From nobody Sun May 7 18:29:08 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 4QDtHH3KzYz49Knd for ; Sun, 7 May 2023 18:29:15 +0000 (UTC) (envelope-from SRS0=o+HB=A4=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QDtHG0S7Rz4GVn for ; Sun, 7 May 2023 18:29:13 +0000 (UTC) (envelope-from SRS0=o+HB=A4=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of "SRS0=o+HB=A4=quip.cz=000.fbsd@elsa.codelab.cz" has no SPF policy when checking 94.124.105.4) smtp.mailfrom="SRS0=o+HB=A4=quip.cz=000.fbsd@elsa.codelab.cz"; dmarc=none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id F328BD789A for ; Sun, 7 May 2023 20:29:09 +0200 (CEST) Received: from [192.168.145.50] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id EDECED788A for ; Sun, 7 May 2023 20:29:08 +0200 (CEST) Message-ID: <0ff15452-ea25-d72e-58ae-6ed526b2615c@quip.cz> Date: Sun, 7 May 2023 20:29:08 +0200 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: etcupdate created empty files = system unbootable To: stable@freebsd.org References: <312ae63f-4fab-e194-c603-a85fd11f6edd@quip.cz> <0db3bbf1-9e98-d721-c734-fdfe2483cbf0@quip.cz> <95169DC0-5DB6-41D1-8B04-5A450094529F@FreeBSD.org> <19399711-4a71-7025-7ceb-8dd481ec0038@quip.cz> <7afb4128-3eef-f2d9-07c0-035a237cba45@quip.cz> <004e8a85-7bc1-6b33-8a42-70d7b43f9497@quip.cz> Content-Language: cs-Cestina From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <004e8a85-7bc1-6b33-8a42-70d7b43f9497@quip.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-1.58 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.78)[-0.781]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=o@elsa.codelab.cz]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[quip.cz]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[stable@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TAGGED_FROM(0.00)[HB=A4=quip.cz=000.fbsd]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=o@elsa.codelab.cz] X-Rspamd-Queue-Id: 4QDtHG0S7Rz4GVn X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N On 06/05/2023 09:33, Miroslav Lachman wrote: [..] > As you can see, cp failed, but etcupdate continued without any sign of > error. > cp failed because I did installkernel & installworld without rebooting. > I have never run into a problem like this in the past, but I understand > the reason - running the new 13.2 binary "cp" on an older 12.3 kernel is > not supported. > > > However, there is a bug in etcupdate which causes it to continue > silently instead of stopping when the first copy fails. > > This function needs to check the return status of cp and not blindly > return 0 even if the copy failed. In other words, the function > install_new() does not do what the comment says. This needs to be fixed. PR 271287 with attached patch https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271287 Kind regards Miroslav Lachman From nobody Mon May 8 14:30:42 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 4QFNxZ2zJHz4B033 for ; Mon, 8 May 2023 14:30:42 +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 4QFNxZ1yzFz3Dks for ; Mon, 8 May 2023 14:30:42 +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=1683556242; 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=Of8ssydBxmxnvuL+jNSUMx01BvRa5esM0kDySPO9zxc=; b=pCmdwI+bFWcOsSgZO6ULi2WxBcClUl5ePevt1EKtuiGh8HfbdTsZD/zgYfLewlCNnLosQa fbKtLPBdn35YEmeBo7JgHDGDqLonNb3HXO72h+nkA6f5fvw0kNG9PhXaic1lekPCNtUCrI LrVBwnm8yqieTHWRzwziyD8qM+eSR1zLLaZFToZQa9H9OwdUdg8vZUZrN6ySvf7/qcobgW Ke40RMBN97a5G00aGs1neCBHP+Xmmpjj39UjX7E5zp4AQJXOjs/aeCSLIOjBmu0iqrVvQ+ ogn9R61L5PwHxvQL9VTQP5YHWjceP9wWhKxRjpuNqZV/PATFYeaq1LmG2yxwZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683556242; a=rsa-sha256; cv=none; b=LKGfCI44UzktuTFvYkJhhNG0jL3HyDbZ/V5PTHwkyXGh0uuZs01Koj2w8SWxzFIxnfkK5O 4lOxrZJx89cqdTCJIQ5UBHnc7tJMQbOODiXZnb1jK0TWP64wAr35H6gah4CusKX4SwHF7n SaoUi2GorFMGGlg+2IPVz8R17puZYBWnEz0PSkdeZxteQP78KHV7Y/QEh8/3zsAfGKaPEi SXMULvM5LEiUshGiYg3IwrTr3wC/sYLugMx+T2oj2PPbk6BJlFjDsmO9C2o1myGx/lAnoZ 6IG/8eO3INrfkBC70gjWauwtP5efrtqy8cfqisCq3E976HQE2peF729NybENiw== 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 4QFNxZ0ytXz140y for ; Mon, 8 May 2023 14:30:42 +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 348EUgjH001199 for ; Mon, 8 May 2023 14:30:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 348EUgSF001198 for stable@FreeBSD.org; Mon, 8 May 2023 14:30:42 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 14:30:42 +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 #21 from Marek Zarychta --- (In reply to Peter Eriksson from comment #17) Peter, could you please test the patch which is the review again and give s= ome feedback there? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon May 8 15:28:30 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 4QFQDH4qzrz4B2gX for ; Mon, 8 May 2023 15:28:31 +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 4QFQDH3fwJz3L8f for ; Mon, 8 May 2023 15:28:31 +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=1683559711; 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=Ch8I9x0Whfz+F+tep9ct3XfrpTcY2MHYW9taeCilWwY=; b=vEo2wSpKw/KQyF4oSpSzdSLOhaRhxT9MdvKLBNrAxxHgUKSKVjoEUijE8gGzOcIqhz2cQU fZzmUHXuNHZuizsfh482+qv2Dt+egnqh3OWtyPUB4Syc12gZTnPH/KTht3fB+GjZNBkQ5Y C0kQvlSt4PpDzXm1i+w/O7fU8ie6NpDNbOSpk7dJ6AwGIaaVpij8OsRIOhhlwiV+Z3CXpW v9ij/DbeR+y2K3Fv00gCfoHGA+MgRAATUsgdO38hdavHsbuNxFVBeNSZy7WWhexIRXZ/3y hUkizllkqEx5EIWtJcXpfeev8EUJSRi/WGp3iaAP5iget9GnBnHt84gorYHNNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683559711; a=rsa-sha256; cv=none; b=QAQ3/zGRVsGS4iiphjNz0hWJMGIqJahb3EvhFyBMXzIGTgD+Nsz8hMa98vS44vHCusctS0 XMraD9xfpEWmNsVKc5WbnpNlTiCSb5m5Om0ZZStVe/PYhopHAcopG8/oS5qRmeXwM68+qT 7kzcFJQFSVObKTvTbA1OzqgVlh2we7DKH6CWUdh+ia4EBb+9T0Ii9Wr4Svs8DOej0b/iKt Qm3NuRLSDyCWpLRP5gAJTQPi9GmGsULeTnUPRVz/Xpz4P01BzVUqY5o8yR3jBDNNrfh7LH 2Hvyu//Mn/Dw7ScYLW+av+GtaPeD+W7EK6nXDKVMJcYVLJuyRNkfBND+Z//ovA== 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 4QFQDH1GgLz15Zl for ; Mon, 8 May 2023 15:28:31 +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 348FSVQf086904 for ; Mon, 8 May 2023 15:28:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 348FSVWg086903 for stable@FreeBSD.org; Mon, 8 May 2023 15:28:31 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 15:28:30 +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: pen@lysator.liu.se 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 #22 from Peter Eriksson --- Yes, I'll try to test it later today. I'll get back with some results. - Peter --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon May 8 19:14:21 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 4QFWDt6qx3z4BGQ1 for ; Mon, 8 May 2023 19:14:22 +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 4QFWDt5g9qz42X7 for ; Mon, 8 May 2023 19:14:22 +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=1683573262; 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=oElSpnpkImYfgamCWWzSjlVubKZJHOyqCKGpEfO42oY=; b=qUmngeYaCqbGXDnG7YnPAGaH9UIahN2vUh5zVYjUEa/Uv4LtGHxafRNaYYfvhaGiFfrE8X nkFQqsoh55G+efz0tlJXeSnHCSIkgGC2XWJ2QhSfazYif4bTDiZWbF/tP1+5Rc7NgDfDEm wUHsRRmuaok+ghf6EHTBA5fbd/PtFImnAHrBkvtODglf3JTZ3yN4a4930OtZerukavNzRh CeXlRPwMFprZ09aJKNuBCMDGasiMQGERhigUg8ndXkmL5SYgbZmijVgV4m0FCtIoYIcJAl fCEX7dLzJDFB3xmXHFFpiLZk2ChbHO4X1CqWuPS1YaSiQ5+VvQKX5muQ4Es+GQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683573262; a=rsa-sha256; cv=none; b=GYVew/Hy9QM1HIblmd0NGtd5UmUvMCWBmcX/l1jIRFkcDDm3ITwHeWig9ZMOhlsWzrKG1K ctelgB27+hovFloGs9h6feP5+3rBTytRSOcjpKTy2wBh3ZpLgdPg6pzAx7kG1fAN09bVAq u4cxeRKVrLqIpWp1gY/PmZ4gZIcaTcoW6X9U5slrVtkgTpuIQIiwaexcw1Fy8bIk2tQB3D aquVz+GAUta9OBwKxjO/3LGoWmL9vsrr7JcrevvQHPkUO88KMGNXtmyYRQFW00v5j22nNF jPVY+KgQCg2k1IlLEuwOysdW+fOu2Rwi9VHrL7u/sDXRz/xJFQMXG3vZQ0MokQ== 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 4QFWDt497Dz1C3y for ; Mon, 8 May 2023 19:14:22 +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 348JEM37030695 for ; Mon, 8 May 2023 19:14:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 348JEMhm030694 for stable@FreeBSD.org; Mon, 8 May 2023 19:14:22 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 19:14:21 +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: pen@lysator.liu.se 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 #23 from Peter Eriksson --- First test on a server with two HP H241 HBA cards with just 5 disks (in two boxes) running FreeBSD 12.4 with the full ciss.c from Fabricator - works fi= ne.=20 Next I'll test it on another server with 140 disks on two H241 controllers = (70 in each enclosure). root@balur00:/boot # sysctl hw.ciss hw.ciss.force_interrupt: 0 hw.ciss.force_transport: 0 hw.ciss.nop_message_heartbeat: 0 hw.ciss.expose_hidden_physical: 0 hw.ciss.verbose: 2 hw.ciss.base_transfer_speed: 135168 hw.ciss.initiator_id: -1 root@balur00:/boot # egrep ciss /var/run/dmesg.boot=20 ciss0: port 0x3000-0x30ff mem 0x95400000-0x954fffff,0x95500000-0x955003ff at device 0.0 numa-domain 0 on = pci5 ciss0: PERFORMANT Transport ciss0: Using 1 MSIX interrupt ciss0: using 1024 of 1024 available commands ciss0: 0 logical drives configured ciss0: firmware 7.00 ciss0: 1 SCSI channels ciss0: 0 FC channels ciss0: 0 enclosures ciss0: 0 expanders ciss0: maximum blocks: 65535 ciss0: controller clock: 18343 ciss0: 256 MB controller memory ciss0: signature 'CISS' ciss0: valence 3 ciss0: supported I/O methods 0x7f000147 ciss0: active I/O method 0x5 ciss0: 4G page base 0x00000000 ciss0: interrupt coalesce delay 0us ciss0: interrupt coalesce count 16 ciss0: max outstanding commands 1024 ciss0: bus types 0x200000 ciss0: server name 'CZ3729EX3D' ciss0: heartbeat 0xb7 ciss0: max logical volumes supported: 64 ciss0: max physical drives supported: 384 ciss0: max physical drives per logical volume: 128 ciss0: JBOD Support is Available ciss0: JBOD Mode is Enabled ciss0: 0 physical devices ciss0: max physical target id: 0 ciss0: 0 logical drives ciss1: port 0x2000-0x20ff mem 0x95200000-0x952fffff,0x95300000-0x953003ff at device 0.0 numa-domain 0 on pci11 ciss1: PERFORMANT Transport ciss1: Using 1 MSIX interrupt ciss1: using 1024 of 1024 available commands ciss1: 0 logical drives configured ciss1: firmware 7.00 ciss1: 1 SCSI channels ciss1: 0 FC channels ciss1: 2 enclosures ciss1: 2 expanders ciss1: maximum blocks: 65535 ciss1: controller clock: 18486 ciss1: 256 MB controller memory ciss1: signature 'CISS' ciss1: valence 3 ciss1: supported I/O methods 0x7f000147 ciss1: active I/O method 0x5 ciss1: 4G page base 0x00000000 ciss1: interrupt coalesce delay 0us ciss1: interrupt coalesce count 16 ciss1: max outstanding commands 1024 ciss1: bus types 0x200000 ciss1: server name 'CZ3729EX3D' ciss1: heartbeat 0xb9 ciss1: max logical volumes supported: 64 ciss1: max physical drives supported: 384 ciss1: max physical drives per logical volume: 128 ciss1: JBOD Support is Available ciss1: JBOD Mode is Enabled ciss1: 7 physical devices ciss1: max physical target id: 120 ciss1: 0 logical drives Root mount waiting for:ses0 at ciss1 bus 33 scbus3 target 119 lun 0 ses1 at ciss1 bus 33 scbus3 target 120 lun 0 da2 at ciss1 bus 32 scbus2 target 83 lun 0 da3 at ciss1 bus 32 scbus2 target 84 lun 0 da4 at ciss1 bus 32 scbus2 target 85 lun 0 da1 at ciss1 bus 32 scbus2 target 50 lun 0 uhub3: da0 at ciss1 bus 32 scbus2 target 49 lun 0 root@balur00:/boot # cciss_vol_status -V /dev/ciss1 Controller: Smart HBA H241 Board ID: 0x21c8103c Logical drives: 0 Running firmware: 7.00 ROM firmware: 7.00 Physical drives: 5 connector 1E box 1 bay 34 HP MB010000JWAYK=20= =20=20=20=20=20=20 7PH8MXKG HPD5 OK connector 1E box 1 bay 35 HP MB010000JWAYK=20= =20=20=20=20=20=20 7PH4AJ9G HPD5 OK connector 2E box 1 bay 33 HP MB010000JWAYK=20= =20=20=20=20=20=20 7PH816MG HPD5 OK connector 2E box 1 bay 34 HP MB010000JWAYK=20= =20=20=20=20=20=20 7PH8G5PG HPD5 OK connector 2E box 1 bay 35 HP MB010000JWAYK=20= =20=20=20=20=20=20 7PGTUTHG HPD5 OK /dev/ciss1: (Smart HBA H241) Enclosure D6020 (S/N: 7CE714P009) on Bus 2, Physical Port 1E status: OK. /dev/ciss1: (Smart HBA H241) Enclosure D6020 (S/N: 7CE714P009) on Bus 3, Physical Port 2E status: OK. /dev/ciss1(Smart HBA H241:0): Non-Volatile Cache status: Cache configured: No root@balur00:/boot # sesutil -u /dev/ses0 show ses0: ; ID: 5001438030884b80 Desc Dev Model Ident Size/Status {"Name":"Drive bay"} - - - = Not Installed {"Name":"DriveBay1"} - - - = Not Installed {"Name":"DriveBay2"} - - - = Not Installed {"Name":"DriveBay3"} - - - = Not Installed {"Name":"DriveBay4"} - - - = Not Installed {"Name":"DriveBay5"} - - - = Not Installed {"Name":"DriveBay6"} - - - = Not Installed {"Name":"DriveBay7"} - - - = Not Installed {"Name":"DriveBay8"} - - - = Not Installed {"Name":"DriveBay9"} - - - = Not Installed {"Name":"DriveBay10"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay11"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay12"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay13"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay14"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay15"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay16"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay17"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay18"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay19"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay20"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay21"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay22"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay23"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay24"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay25"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay26"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay27"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay28"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay29"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay30"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay31"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay32"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay33"} da2 HP MB010000JWAYK 7PH816MG=20=20= =20=20=20=20=20=20=20=20=20=20 10T {"Name":"DriveBay34"} da3 HP MB010000JWAYK 7PH8G5PG=20=20= =20=20=20=20=20=20=20=20=20=20 10T {"Name":"DriveBay35"} da4 HP MB010000JWAYK 7PGTUTHG=20=20= =20=20=20=20=20=20=20=20=20=20 10T Temperatures: {"Name":"Temperature sensor"} : 42 C, {"Name":"LocalIoModule-Sensor[0]"} : 31 C, {"Name":"LocalIoModule-Sensor[1= ]"}=20 : 38 C, {"Name":"LocalExpander-CpuSensor[0]"} : 42 C, {"Name":"PowerSupply[3]-InletSensor[0]"}: 28 C, {"Name":"PowerSupply[3]-Sensor[0]"} : 32 C, {"Name":"PowerSupply[4]-InletSensor[0]"}: 27 C, {"Name":"PowerSupply[4]-Sensor[0]"} : 31 C, {"Name":"Backplane-Sensor[0]"} = : 25 C, {"Name":"Backplane-Sensor[1]"} : 23 C, {"Name":"Backplane-Sensor[2]"= } : 24 C, {"Name":"Backplane-Sensor[3]"} : 27 C, {"Name":"Backplane-Sensor[4]"= } : 24 C, {"Name":"Backplane-Sensor[5]"} : 23 C, {"Name":"DisplayBoard-Sensor[= 0]"} : 25 C root@balur00:/boot # sesutil -u /dev/ses1 show ses1: ; ID: 5001438030894600 Desc Dev Model Ident Size/Status {"Name":"Drive bay"} - - - = Not Installed {"Name":"DriveBay1"} - - - = Not Installed {"Name":"DriveBay2"} - - - = Not Installed {"Name":"DriveBay3"} - - - = Not Installed {"Name":"DriveBay4"} - - - = Not Installed {"Name":"DriveBay5"} - - - = Not Installed {"Name":"DriveBay6"} - - - = Not Installed {"Name":"DriveBay7"} - - - = Not Installed {"Name":"DriveBay8"} - - - = Not Installed {"Name":"DriveBay9"} - - - = Not Installed {"Name":"DriveBay10"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay11"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay12"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay13"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay14"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay15"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay16"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay17"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay18"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay19"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay20"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay21"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay22"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay23"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay24"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay25"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay26"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay27"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay28"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay29"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay30"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay31"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay32"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay33"} - - -=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 Not Installed {"Name":"DriveBay34"} da0 HP MB010000JWAYK 7PH8MXKG=20=20= =20=20=20=20=20=20=20=20=20=20 10T {"Name":"DriveBay35"} da1 HP MB010000JWAYK 7PH4AJ9G=20=20= =20=20=20=20=20=20=20=20=20=20 10T Temperatures: {"Name":"Temperature sensor"} : 43 C, {"Name":"LocalIoModule-Sensor[0]"} : 34 C, {"Name":"LocalIoModule-Sensor[1= ]"}=20 : 39 C, {"Name":"LocalExpander-CpuSensor[0]"} : 43 C, {"Name":"PowerSupply[1]-InletSensor[0]"}: 32 C, {"Name":"PowerSupply[1]-Sensor[0]"} : 43 C, {"Name":"PowerSupply[2]-InletSensor[0]"}: 33 C, {"Name":"PowerSupply[2]-Sensor[0]"} : 38 C, {"Name":"Backplane-Sensor[0]"} = : 20 C, {"Name":"Backplane-Sensor[1]"} : 20 C, {"Name":"Backplane-Sensor[2]"= } : 22 C, {"Name":"Backplane-Sensor[3]"} : 23 C, {"Name":"Backplane-Sensor[4]"= } : 21 C, {"Name":"Backplane-Sensor[5]"} : 20 C, {"Name":"DisplayBoard-Sensor[= 0]"} : 18 C --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon May 8 19:50:57 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 4QFX364BR8z4BJCl for ; Mon, 8 May 2023 19:50:58 +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 4QFX361rN9z46k2 for ; Mon, 8 May 2023 19:50:58 +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=1683575458; 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=m8SlizUMlQjMuxIgEGRYTfsdHRpXE6ZxpG5IYXStzJc=; b=UJXpLCRFS5tF11vArSP1Rmi4f+tUI7X6kwQKp3zYRYL+RmLKVQTq592tdW8z3HgH3+xYLC 8ifCbJGcmYRj0xbfv4hED5/6Y9Ssk1TF+TmuxHYudjzEL5X9p0Mcihrf5U9PmnjmRd5EC6 tLlv1eWczCcD/s4hIEPSrHn7yjyY2z+zTzHTwKuVlc53hF3L/ZdeH0tCREzbqfYfWw+Ffy yyto58NkIGGsqwd26iMXPaFJfsrXIbqlbA1DiQY70nH3N78d9Yn74Kd7ykw2yvNGUxTYsu lBTafU0xs76qw/AZKBpVOivPNtO5+7yAmAUNmeBY/1tzcKQ8j/KJcjE5ZRNJ+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683575458; a=rsa-sha256; cv=none; b=n7eETshPw6g01BgeVHdatHHzebZ/rk1FYaQUzdphYszkf23jh6dfAVvWMDOzAcrlo+UzzC tNZkK0/aIWRlolBOOmqIh8wAMx2MHK2sAGu9glytRU/EQnUjeitXJ1d+ffWfQjNCigsjLk QR8JyVNWvlRhD4HLPwCwjEmvhBuHjG6TjL1RPXV2QUmLgYblcLFVQZAp/LV3scVCB+R5xu 00eNOmNMMImWCG3L69tM5lJWeky+/NvdssybekKhy4L7RedGdQnhCaghbl++LsRwKOmc0K RvdKScr0dSBwtrsUvMcuzfLxxJOZS+KHj3mEQ6FiKca+ZI2nV3Fvo2eGCIxScA== 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 4QFX3574DVz1CpN for ; Mon, 8 May 2023 19:50:57 +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 348JovuQ078693 for ; Mon, 8 May 2023 19:50:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 348JovOR078692 for stable@FreeBSD.org; Mon, 8 May 2023 19:50:57 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 19:50:57 +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: pen@lysator.liu.se 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 #24 from Peter Eriksson --- Result on the bigger server:=20 Booted, but then I got a long list of CAM errors ending with a "ADAPTER HEARTBEAT FAILED". ... (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da123:ciss2:32:63:0): READ(6). CDB: 08 00 01 40 08 00=20 (da123:ciss2:32:63:0): CAM status: CCB request completed with an error (da123:ciss2:32:63:0): Retrying command, 3 more tries remain (da123:ciss2:32:63:0): READ(10). CDB: 28 00 00 00 03 00 00 01 00 00=20 (da123:ciss2:32:63:0): CAM status: CCB request completed with an error (da123:ciss2:32:63:0): Retrying command, 2 more tries remain (da123:ciss2:32:63:0): READ(6). CDB: 08 00 01 38 08 00=20 (da123:ciss2:32:63:0): CAM status: CCB request completed with an error (da123:ciss2:32:63:0): Retrying command, 3 more tries remain (da123:ciss2:32:63:0): READ(6). CDB: 08 00 01 30 08 00=20 (da123:ciss2:32:63:0): CAM status: CCB request completed with an error (da123:ciss2:32:63:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 01 ce 8c 30 28 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 01 ce 8c 31 28 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 01 ce 8c 32 28 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 01 ce 8c 33 28 00 00 0= 0 38 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain ciss2: ADAPTER HEARTBEAT FAILED (I could login and see all disks with "camcontrol delvist" but it started displaying these errors when zfs was importing the pools.=20 The da116 and da123 diskar are probably bad but it would be nice if the ciss controller would handle bad drives a bit better in general. I had to replace the HP H241 controller with an LSI SAS3816 controller on my other "big" HP server since that H241/ciss controller would go into a loop = and just spew out retry errors every day or so. The LSI controller handles the = bad drives better... --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon May 8 20:00:33 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 4QFXGB5dWvz4BJRy for ; Mon, 8 May 2023 20:00:34 +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 4QFXGB4LkKz48jF for ; Mon, 8 May 2023 20:00:34 +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=1683576034; 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=1K80jgK5P72DftovFvLlh3x1ZkO7zskOuGIJc7yGPW4=; b=XX/nY6uH/VbtYipPKeTL3kxoxRoEuBfpPi4N3dmNp1BekAhOaAlNeLFn/CBrSGMcfy0Vs/ ctVcCGO2qYU9y8BfTm7d937oJtV7sHQ6It2GvMyLD5e8Z423hqRvWfnUJf+xdbTcIMa+Hh 3MuMB/ws+2hMsSfjUAlYPq0dV4c44Crpq/yvqRI62eRxWDzgVmrlqIQ5L4Z24qTVmlKVC0 VuddpKr7IbrERHFKWgrtpE92yU3ttGqNAPpqo3EbVmSK9+GhAGNWJZ5bHGxvrZBhQ8OhqF Du6DIUhqBp2nsfgC+mlOyZYkACjszKxS3IADw1MyJ8T92sFHnt1+ZL9RcnfTjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683576034; a=rsa-sha256; cv=none; b=ULqfEFbuCcId57L4gVoQ5agwgzLRuOuGBMaT5O6Ht63b7Rh6fBcg93C9IqUYYv2pUX6sig nSzg4wLw6lQgIgh02cL5LyQMjCJr/qm0NTUIzzjicCarjzprue9XKLKj1CZhkHM5XCs9gU 2LPd7Y3XBWfaaIg9zsoxu9RBSUi7QYhIqzOsvbdvDLzjLgpysWjH7bK+fruqwG1JvdkH4B XbdxW+FQhEwU8WHZqWknnjc6AzH4zmgo1ztnJuVTClSw0sH5Km5u9Vng7BouaUMdhhegxW Dk96nhIT/1Cy7bBOhnKmOj2VZji4L4AmSxR0E0jjLvsQb2Nd9BSDvVwDS61g6w== 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 4QFXGB30xJz1D5N for ; Mon, 8 May 2023 20:00:34 +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 348K0YR1098125 for ; Mon, 8 May 2023 20:00:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 348K0YK2098123 for stable@FreeBSD.org; Mon, 8 May 2023 20:00:34 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 20:00:33 +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: pen@lysator.liu.se 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 #25 from Peter Eriksson --- Rebooted and tried with hw.ciss.nop_message_heartbeat=3D1, then logged in v= ia ssh and ran an "sesutil show" (before zfs had started importing pools), then it panic:ed with: login: (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 48 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error ciss2: *** Hot-plug drive removed, Port=3D2E Box=3D1 Bay=3D6 SN=3D = 5PGTSWYC (da116:ciss2:32:56:0): Retrying command, 3 more tries remain ciss2: *** Physical drive failure, Port=3D2E Box=3D1 Bay=3D6 reason=3D0x14 (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 05 74 ff ff 00 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 50 b0 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 03 00 00 01 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 05 74 ff fd 00 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 40 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 38 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 28 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 30 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 20 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 05 74 ff ff 00 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: SCSI Status Error (da116:ciss2:32:56:0): SCSI status: Check Condition (da116:ciss2:32:56:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da116:ciss2:32:56:0): Error 6, Unretryable error (da116:ciss2:32:56:0): Invalidating pack (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 03 00 00 01 00 00=20 (da116:ciss2:32:56:0): CAM status: SCSI Status Error (da116:ciss2:32:56:0): SCSI status: Check Condition (da116:ciss2:32:56:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da116:ciss2:32:56:0): Error 6, Unretryable error (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 05 74 ff fd 00 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: SCSI Status Error (da116:ciss2:32:56:0): SCSI status: Check Condition (da116:ciss2:32:56:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da116:ciss2:32:56:0): Error 6, Unretryable error (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. da116 at ciss2 bus 32 scbus7 target 56 lun 0 da116: s/n 5PGTSWYC detached May 8 21:56:32 balur03 ZFS[4858]: vdev probe failure, zpool=3D$FILUR02 path=3D$/dev/diskid/DISK-5PGTSWYC (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 20 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 48 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 28 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 30 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 38 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 40 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 50 00 00 b0 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x180 fault code =3D supervisor read data, page not present (da116:ciss2:32:56:0): Periph destroyed instruction pointer =3D 0x20:0xffffffff8256e51d stack pointer =3D 0x28:0xfffffe058a1d59d0 frame pointer =3D 0x28:0xfffffe058a1d5a40 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 45 (solthread 0xfffffff) trap number =3D 12 panic: page fault cpuid =3D 3 time =3D 1683575795 KDB: stack backtrace: #0 0xffffffff80c325f5 at kdb_backtrace+0x65 #1 0xffffffff80be89c8 at vpanic+0x178 #2 0xffffffff80be8843 at panic+0x43 #3 0xffffffff8110408f at trap_fatal+0x38f #4 0xffffffff811040df at trap_pfault+0x4f #5 0xffffffff810dbd58 at calltrap+0x8 #6 0xffffffff8256e49a at vdev_dtl_reassess+0x5a #7 0xffffffff8256e49a at vdev_dtl_reassess+0x5a #8 0xffffffff825639e2 at spa_vdev_state_exit+0x42 #9 0xffffffff8255d04f at spa_async_thread_vd+0x17f #10 0xffffffff80ba969e at fork_exit+0x7e #11 0xffffffff810dcd8e at fork_trampoline+0xe System is going down. Uptime: 4m40s I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannh=C3=A4user Gate. All those moments will be lost in time, like tears in rain. Time to die. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon May 8 20:48:31 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 4QFYKY2SGrz4BMHP for ; Mon, 8 May 2023 20:48:33 +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 4QFYKY0sPgz4HSQ for ; Mon, 8 May 2023 20:48:33 +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=1683578913; 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=ODuzMLJbK2pjq24WcYuI+0W0RvSMEWCd3DsVntboNkM=; b=SBXqfetwhs6HPKiQJf8ExvrkcPBZEQVrkxN3me0dhnc4smjvgXbc8gKx49WVP3MFqEMjk1 0TXbU5oI9DKJ8RjoDvihC5kmtg/J6kO58HAu7v/UZdEt58EahSHk/v57puoZXE8uCk7+df /fpZb+JvlmBxLBYdIF8hg3Vevsw+cbshW0ZoJhx6XSF0KpGneYYTV3ElUole04CfFw0/ke MOJQ1Ht8ZOFgGlSjeuFa72YJjKoAswHf9ZoXZyakW5x3KOEmG6aAQArA3vyNafEjWWu+Rc qepHXqpMGFdyfLN75UxsD4LHC79Gc6JfRIhczoEr/4+vQqfgopFAd7AJqoNfpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683578913; a=rsa-sha256; cv=none; b=xiIFJEeQJUvJV8tsCAIKjQclKV0foZNksJP6pDpTSIqPPy5Aql0sA847pIN8vQlCOPaHTT BXmICPWyH6q5SpH8f8q42YvktQ2mfauoC0g9UEd4dUa9ZplxxxdMaLYozX6NuAhyDMpdW6 GWFxl3HRuTwrqkH4go8QDEXu75UvzPbcRZ4D635JngrEPDoC4LsbFArwVivGSg1Gf3OY68 TSIlM7OILpIqdAivpJEsNMD5cKUBzgmOabZt1a+5bZeplNA9OmDcGIRR9IfO3GawYPu0Pu N8hikdENwXxQfSeROwcBoWJzD3RixhMDm3GWDU4c462RllrIjyLidLp5kFtgGg== 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 4QFYKX66pBz1Dl4 for ; Mon, 8 May 2023 20:48:32 +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 348KmWD3073811 for ; Mon, 8 May 2023 20:48:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 348KmWGn073810 for stable@FreeBSD.org; Mon, 8 May 2023 20:48:32 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 20:48:31 +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: pen@lysator.liu.se 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 #26 from Peter Eriksson --- On the third attempt I just let it keep trying, no "sesutil show". And then= it eventually printed: .... (da116:ciss2:32:56:0): SCSI status: Check Condition (da116:ciss2:32:56:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da116:ciss2:32:56:0): Error 6, Unretryable error da116 at ciss2 bus 32 scbus7 target 56 lun 0 da116: s/n 5PGTSWYC detached May 8 22:19:40 balur03 ZFS[22519]: vdev probe failure, zpool=3D$FILUR02 path=3D$/dev/diskid/DISK-5PGTSWYC (da116:ciss2:32:56:0): Periph destroyed (da123:ciss2:32:63:0): WRITE(16). CDB: 8a 00 00 00 00 03 1b 00 39 58 00 00 = 01 00 00 00=20 (da123:ciss2:32:63:0): CAM status: CCB request completed with an error (da123:ciss2:32:63:0): Retrying command, 3 more tries remain (da123:ciss2:32:63:0): WRITE(16). CDB: 8a 00 00 00 00 03 1b 00 38 58 00 00 = 01 00 00 00=20 (da123:ciss2:32:63:0): CAM status: CCB request completed with an error (da123:ciss2:32:63:0): Retrying command, 3 more tries remain (da123:ciss2:32:63:0): WRITE(16). CDB: 8a 00 00 00 00 03 1b 00 37 58 00 00 = 01 00 00 00=20 (da123:ciss2:32:63:0): CAM status: CCB request completed with an error (da123:ciss2:32:63:0): Retrying command, 3 more tries remain (da123:ciss2:32:63:0): WRITE(16). CDB: 8a 00 00 00 00 03 1b 00 39 58 00 00 = 01 00 00 00=20 (da123:ciss2:32:63:0): CAM status: SCSI Status Error (da123:ciss2:32:63:0): SCSI status: Check Condition (da123:ciss2:32:63:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da123:ciss2:32:63:0): Command Specific Info: 0x2060000 (da123:ciss2:32:63:0): Error 6, Unretryable error (da123:ciss2:32:63:0): Invalidating pack (da123:ciss2:32:63:0): WRITE(16). CDB: 8a 00 00 00 00 03 1b 00 38 58 00 00 = 01 00 00 00=20 (da123:ciss2:32:63:0): CAM status: SCSI Status Error (da123:ciss2:32:63:0): SCSI status: Check Condition (da123:ciss2:32:63:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da123:ciss2:32:63:0): Command Specific Info: 0x2060000 (da123:ciss2:32:63:0): Error 6, Unretryable error (da123:ciss2:32:63:0): WRITE(16). CDB: 8a 00 00 00 00 03 1b 00 37 58 00 00 = 01 00 00 00=20 (da123:ciss2:32:63:0): CAM status: SCSI Status Error (da123:ciss2:32:63:0): SCSI status: Check Condition (da123:ciss2:32:63:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da123:ciss2:32:63:0): Command Specific Info: 0x2060000 (da123:ciss2:32:63:0): Error 6, Unretryable error da123 at ciss2 bus 32 scbus7 target 63 lun 0 da123: s/n 5PGU79TE detached May 8 22:26:52 balur03 ZFS[38178]: vdev probe failure, zpool=3D$FILUR07 path=3D$/dev/diskid/DISK-5PGU79TE (da123:ciss2:32:63:0): Periph destroyed And then zfs started mounting the filesystems. root@balur03# df -h | wc -l 169281 It'll be interesting to see if it survives :-) The fact that the "sesutil" command seemed to trigger a panic might indicat= e a problem somewhere though, but I'm not sure it's in the ciss driver. --=20 You are receiving this mail because: You are on the CC list for the bug.= 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.= From nobody Tue May 9 06:22:43 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 4QFp4616Tpz49mM9 for ; Tue, 9 May 2023 06:22:46 +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 4QFp456yCVz3l6t for ; Tue, 9 May 2023 06:22:45 +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=1683613366; 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=F2swhGarho+T3YRAYdYgIwJr4o0mWvSuF+VMB5fFzeE=; b=QhhYEHtcL4sGDDHZMiJm9OBnUiJM5piFhRNiMtV1EDlxUzK1efpFxPHJm94qO/pBRbrIL2 OP4kqplIcMa4+d/Zg1r608UqHExLU/aFExRVgyEpeqL31mmjz8bdwZ7U2GSouoUuLKQRcL lpp49njK0abLHUELPIaX9xMmKnL7L5iTB5oOb46Wf0k/ABASLDjhWtAjxjkst0SeuTXwlQ zrThziuzzeUH1Ci4Q6nTOzSyMsgep6mKo77NGCgkmPl6bYHhvReDV38AxkQm7ecVp076MQ sITybSUaDPQsE7fSpQkCwhwtofWaSl9X4XKPM6g1rAOJ+ZN4eEKhS6CWIQcFFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683613366; a=rsa-sha256; cv=none; b=UBblGoCoJdrLR43xvS+I95t6d9MeG7zvk36DFff9x/jD/+5S8dCTC0HC85znRvMnMfqFL4 r/NeD6Nc4rUhVYM8lAMpyOE/QhgyBtbzI0gFHNsTmIgv+rDGTbvPdfzYFMhKA7GCwmSPXX Dvj1a4truphY2NsKk3On6PL5CliovUmgX0MCeOBobqlwqORldv1xxJZIMtFjyS8fQenubX aLa99Odj8DRBArk+Sbon3JRwfgKhWQ7zrpx8pMmkDoo02n+fQjAAQAI95YxDArCOWRu68m i6GbFbUBkUKvwKmg4zqwxPnZ8YdOLqZ98zW75edliaUAK4vpEIppNK5I5TZhJg== 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 4QFp455tqFzHSC for ; Tue, 9 May 2023 06:22:45 +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 3496Mj9A055658 for ; Tue, 9 May 2023 06:22:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3496Mj5w055657 for stable@FreeBSD.org; Tue, 9 May 2023 06:22:45 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: Tue, 09 May 2023 06:22:43 +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: pen@lysator.liu.se 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 #28 from Peter Eriksson --- Actually, with hw.ciss.nop_message_heartbeat=3D"0" my first test ended with=20 ciss2: ADAPTER HEARTBEAT FAILED and then things deadlocked. With: hw.ciss.nop_message_heartbeat=3D"1" and if I didn't provoke it with the "sesutil show" then all disks got detec= ted correctly and it failed the two dead ones after a while and all zfs filesys= tems got mounted. The server has now been running for 10 hours without problems. (Going to remove the problem disks later today) hw.ciss.verbose =3D "1" hw.ciss.nop_message_heartbeat =3D "1" hw.ciss.base_transfer_speed =3D "1200000" - Peter --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue May 9 06:23:07 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 4QFp4W47t9z49mJs for ; Tue, 9 May 2023 06:23:07 +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 4QFp4W2Dtdz3mFW for ; Tue, 9 May 2023 06:23:07 +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=1683613387; 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=SHXBGT0tt1LbcLbdJdTxNb/WN8Ow/ONyEK/3aWthON0=; b=L/IdPet01jRO253nGC3KSwkAx6b5pEnbi5coTYCWpqyHUvKinllhJYiM0jCSVOQxkCFA1d 9bLXQPq+JiHfZzUoj5l4SwO78MKKvxdh9XLV2ZBTwlkqgeDXT4GkdDZshDhkdLUx6TqLC2 n1TcdDb4eIrnJIBKM8y/vL2sVpWAqjEVs2jxwK//UaNrBSK82KiYug5NfXlGR+9ss1ttNa 8H4sUSBiQEfBeCONof/ZsQqzD8Lu5utnJJxfyfoaVKEpjYZ0rMrTgGEmfn2hPrOhKt6Jgv Qy20ClUc0XhJkVomi9KbRHvbMkhaUPfBWD9DfBI0xMiudsnA0EjifSvcp2PKpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683613387; a=rsa-sha256; cv=none; b=J6r6TMIC9Fv3klJFc/fT2TNT5nd6FQtuzkA25FLBqkq3sqhzTkjRenhc4+0mppNr0bIryV 2tZo6K14UTArFOATR6yx/u77Aewp3GS9ZM5JIU6xNkHitOQTdGqQ2hR2BheJfDEqQl/Vtt hWeAgXv/uWtahzhQhljD0CIkCSsXp5kr279xC7r+aGRmZ6RzBKaggSeZMDspzRcNo3sarT joRXXwSwsALXSTExuy3s4ZXWTqwG0gc6I1eK+tj1pKRV6pOIy38Vh28nIYVWDfWoakQHpt 1jEhbo+tKS6Y0e8LQmv4p1vQk0b9UXDzRD+4gmyDDoNI1KKZIcIi89g6eK3cZQ== 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 4QFp4W1M0MzHSD for ; Tue, 9 May 2023 06:23:07 +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 3496N7GZ055933 for ; Tue, 9 May 2023 06:23:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3496N76f055932 for stable@FreeBSD.org; Tue, 9 May 2023 06:23:07 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: Tue, 09 May 2023 06:23:07 +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.4-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pen@lysator.liu.se X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version 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 Peter Eriksson changed: What |Removed |Added ---------------------------------------------------------------------------- Version|12.1-RELEASE |12.4-RELEASE --=20 You are receiving this mail because: You are on the CC list for the bug.=