From owner-freebsd-bugs@freebsd.org Fri Apr 2 16:01:57 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE13057B713 for ; Fri, 2 Apr 2021 16:01:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBlDP5Q8Yz3LFH for ; Fri, 2 Apr 2021 16:01:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B77ED57B5AE; Fri, 2 Apr 2021 16:01:57 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B739557B79B for ; Fri, 2 Apr 2021 16:01:57 +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 4FBlDP4bxkz3L6p for ; Fri, 2 Apr 2021 16:01:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 9144022A1B for ; Fri, 2 Apr 2021 16:01: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 132G1vYc044584 for ; Fri, 2 Apr 2021 16:01:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 132G1vJp044583 for bugs@FreeBSD.org; Fri, 2 Apr 2021 16:01: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: bugs@FreeBSD.org Subject: [Bug 224496] mpr and mps drivers seems to have issues with large seagate drives Date: Fri, 02 Apr 2021 16:01:57 +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: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd-ports@dan.me.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 16:01:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224496 Daniel Austin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-ports@dan.me.uk --- Comment #48 from Daniel Austin --- I have this same issue too... My setup is a LSI 9206-16e PCIe card (which is really just 2 x LSISAS2308 c= ards with a PCIe switch) and BSD 12+13. I have this connecting to a QNAP TL-D16= 00S 16-bay SATA chassis with 12 x 8TB Toshiba SATA (non-SMR) disks. I tried a workaround online (camcontrol tags daX -N 1) to disable NCQ per d= rive and this is fine *once the server is booted*... however, if i ever rebooted= , I had a massive scroll of CAM errors as the kernel was trying to import a ZFS pool before the camcontrol script had run... This even leads to ZFS reporti= ng too many errors and taking the pool offline (note: i'm not booting from this pool) I don't have the luxury of a firmware update as there hasn't been any updat= es to the SAS2308 in a long long time! I am running 20.00.07.00. I've also tried 3 different 9206-16e cards, so i'm happy it's not just a fa= ulty card. I also tried in 2 different servers with the same results so happy i= t's probably not a hardware issue at all. My final solution which is really a kludge but does fix the issue permanent= ly was to boot into a live ubuntu environment and use lsiutil 1.72 to disable = NCQ on the card itself. This is saved in the cards EEPROM. Now when I boot bsd, I get zero CAM errors from any disks, zfs pool imports straight away, and I can still max out the bandwidth to the drives - yay. I also have an LSI 9207-8i card in a different machine running the same firmware which has no issues at all even with NCQ enabled (but these are directly connected to the card via SATA cables with no enclosure as such), = so I do think this is just some kind of incompatibility between driver<-->card<-->enclosure of some kind. It would be lovely if lsiutil could be ported to bsd... I did look at it briefly but it's beyond my capabilities... the source code is online if any= one wanted to try. Hope that helps anyone else stumbling upon this PR and I appreciate it may = only fix some not all of the cases reported here so far... but some is better th= an none :-) --=20 You are receiving this mail because: You are the assignee for the bug.=