Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 12:58:47 -0500
From:      "James R. Van Artsdalen" <james-freebsd-current@jrv.org>
To:        freebsd-current@freebsd.org
Subject:   ata FLUSHCACHE timeout errors?
Message-ID:  <49E4CED7.2040206@jrv.org>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E4CED7.2040206>