From owner-freebsd-current@FreeBSD.ORG Tue Apr 14 17:59:02 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4A3C106566C for ; Tue, 14 Apr 2009 17:59:02 +0000 (UTC) (envelope-from james-freebsd-current@jrv.org) Received: from mail.jrv.org (adsl-70-243-84-13.dsl.austtx.swbell.net [70.243.84.13]) by mx1.freebsd.org (Postfix) with ESMTP id 6ACBC8FC12 for ; Tue, 14 Apr 2009 17:59:01 +0000 (UTC) (envelope-from james-freebsd-current@jrv.org) Received: from kremvax.housenet.jrv (kremvax.housenet.jrv [192.168.3.124]) by mail.jrv.org (8.14.3/8.14.3) with ESMTP id n3EHwlaX093544 for ; Tue, 14 Apr 2009 12:58:47 -0500 (CDT) (envelope-from james-freebsd-current@jrv.org) Authentication-Results: mail.jrv.org; domainkeys=pass (testing) header.from=james-freebsd-current@jrv.org DomainKey-Signature: a=rsa-sha1; s=enigma; d=jrv.org; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: content-type:content-transfer-encoding; b=R42nzeUb0T6k5t3LL3gSWEifBFbwRl7+musBEH2htQbM9NamayYC05v4I4IPM3yEq 89mt8iwTPwKQdBjtokvz38xkAYSSIW8jb/4lABp8b2mJBrGoNe/smAtRL7U/Kt2YDWp d4kS5bZ7FlwDoFBS+Zup+UBCDenqnQGjUuJr1ak= Message-ID: <49E4CED7.2040206@jrv.org> Date: Tue, 14 Apr 2009 12:58:47 -0500 From: "James R. Van Artsdalen" User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ata FLUSHCACHE timeout errors? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2009 17:59:03 -0000 FreeBSD bigback.housenet.jrv 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r190917: Sat Apr 11 19:48:25 CDT 2009 james@bigback.housenet.jrv:/usr/obj/usr/src/sys/GENERIC amd64 I am getting many FLUSHCACHE timeout errors during "zfs recv" operations. kernel: ata3: reiniting channel .. kernel: ata3: channel HW reset time=0ms kernel: ata3: SATA connect time=0ms status=00000113 kernel: ata3: siiprb_issue_cmd time=504ms status=00050000 kernel: ata3: SIGNATURE=00000101 kernel: ata3: siiprb_reset devices=00000001 kernel: ata3: reinit done .. kernel: ad6: TIMEOUT - FLUSHCACHE48 retrying (1 retry left) The "disk" is a SATA hardware RAID with 256 MB of write-back cache. Looking at the ATA code is appears that the timeout for a FLUSHCACHE operation is five seconds (unless the disk is known to be spun down). Five seconds seems much too short in any case - I think the ATA spec allows the device to take 30 seconds. Has anyone seen this or looked into ATA timeouts?