From owner-freebsd-bugs@freebsd.org Thu Feb 7 07:36:45 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F33C14C9A69 for ; Thu, 7 Feb 2019 07:36:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0095A739CC for ; Thu, 7 Feb 2019 07:36:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AEC6214C9A66; Thu, 7 Feb 2019 07:36:44 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9ADDF14C9A65 for ; Thu, 7 Feb 2019 07:36:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 303BC739C3 for ; Thu, 7 Feb 2019 07:36:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 584A66EC3 for ; Thu, 7 Feb 2019 07:36:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x177ahga091783 for ; Thu, 7 Feb 2019 07:36:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x177ahY1091782 for bugs@FreeBSD.org; Thu, 7 Feb 2019 07:36:43 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 229745] ahcich: CAM status: Command timeout Date: Thu, 07 Feb 2019 07:36:36 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: szczepan@szczepan.net 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2019 07:36:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229745 --- Comment #20 from sec --- (In reply to sec from comment #19) Ok, so I tried to downgrade pool to 11.1 - didn't helped. Then I also started to get those errors with only one drive connected (which was fine before). Also tried to boot on 12.0R, same issue. Weird thing is, that sometimes drives are OK, they resilver without any problems, then after some read/write, timeout starts to show up: In the end I tried something I think I've tried before. I've added those to /boot/loader.conf and power cycle: vfs.zfs.cache_flush_disable=3D1 kern.cam.ada.write_cache=3D0 And started to stress test - no errors. Then I commented out the "write_cache" - no errors. Commented out "cache_flush" - errors back again (I think I've tried that one already, and got errors, but this time looks fine, fingers crossed). So right know I'm running with cache_flush disabled - hope this will get ri= d of those errors until some proper fix is done. Errors I was getting was something like that: (ada2:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 b0 00 20 40 4c 00 00 0= 1 00 00 (ada2:ahcich2:0:0:0): CAM status: ATA Status Error (ada2:ahcich2:0:0:0): ATA status: 41 (DRDY ERR), error: 10 (IDNF ) (ada2:ahcich2:0:0:0): RES: 41 10 b0 00 20 00 4c 00 00 00 00 (ada2:ahcich2:0:0:0): Retrying command There were also READ and FLUSHCACHE48 errors - this depends on the load I w= as generating on the pool. If needed I can provide more debug output. --=20 You are receiving this mail because: You are the assignee for the bug.=