Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 20:13:51 +0100
From:      Marc "UBM" Bocklet <ubm@u-boot-man.de>
To:        freebsd-stable@freebsd.org
Subject:   problems with sata disks (taskqueue timeout)
Message-ID:  <20090119201351.ac77e1f9.ubm@u-boot-man.de>

next in thread | raw e-mail | index | archive | help

Hiho! :-)

Occasionally, especially when uploading a large number of files, the
(brand-new, tested) sata disks in my fileserver spit out some of these
errors:

-----------------------

Jan 19 19:51:14 hamstor kernel: ad10: WARNING - WRITE_DMA48 UDMA ICRC
error (retrying request) LBA=882778752
 
Jan 19 19:51:23 hamstor kernel:
ad10: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout -
completing request directly
 
Jan 19 19:51:27 hamstor kernel: ad10:
WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly

Jan 19 19:51:31 hamstor kernel: ad10: WARNING -
SETFEATURES ENABLE WCACHE taskqueue timeout - completing request
directly

Jan 19 19:51:35 hamstor kernel: ad10: WARNING - SET_MULTI
taskqueue timeout - completing request directly

Jan 19 19:51:35 hamstor
kernel: ad10: TIMEOUT - WRITE_DMA48 retrying (0 retries left)
LBA=882778752 

Jan 19 19:51:35 hamstor kernel: ad10: FAILURE -
WRITE_DMA48
status=ff<BUSY,READY,DMA_READY,DSC,DRQ,CORRECTABLE,INDEX,ERROR>
error=ff<ICRC,UNCORRECTABLE,MEDIA_CHANGED,NID_NOT_FOUND,MEDIA_CHANGE_REQEST,ABORTED,NO_MEDIA,ILLEGAL_LENGTH>
LBA=882778752

Jan 19 19:51:35 hamstor root: ZFS: vdev I/O failure,
zpool=gedaerm path=/dev/ad10 offset=451982655488 size=131072 error=5

Jan 19 19:51:41 hamstor kernel: ad10: FAILURE - SET_MULTI
status=51<READY,DSC,ERROR> error=4<ABORTED>

Jan 19 19:51:41 hamstor
kernel: ad10: TIMEOUT - WRITE_DMA48 retrying (1 retry left)
LBA=882779008

Jan 19 19:51:41 hamstor kernel: ad10: WARNING -
WRITE_DMA48 UDMA ICRC error (retrying request) LBA=882779008 Jan 19
19:51:50 hamstor kernel: ad10: WARNING - SETFEATURES SET TRANSFER MODE
taskqueue timeout - completing request directly

Jan 19 19:51:54 hamstor
kernel: ad10: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout
- completing request directly 

Jan 19 19:51:58 hamstor kernel: ad10:
WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing
request directly
 
Jan 19 19:52:02 hamstor kernel: ad10: WARNING -
SET_MULTI taskqueue timeout - completing request directly Jan 19
19:52:02 hamstor kernel: ad10: FAILURE - WRITE_DMA48 timed out
LBA=882779008

Jan 19 19:52:02 hamstor root: ZFS: vdev I/O failure,
zpool=gedaerm path=/dev/ad10 offset=451982786560 size=131072 error=5

-----------------------

I've fiddled with the cables, which seemed to help, but I've been
unable to completely eliminate the errors. The disks are two Western
Digital MyBooks Home Edition (1 TB per disk), connected to a Promise TX
4 SATA Controller:

atapci0@pci0:1:6:0:  class=0x018000 card=0x3d17105a chip=0x3d17105a
rev=0x02 hdr=0x00 vendor     = 'Promise Technology Inc'
    device     = 'PDC40718-GP SATA 300 TX4 Controller'
    class      = mass storage

They're connected via 50cm esata cables.

I've googled on the net and found some vague hints about problems with
the Promise TX4, but nothing concrete.

What I've found is

http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting

basically telling me "these things happen, deal with it" :-)

The problem is, I cannot produce these problems reliably, only thing I
notice is that they *seem* to happen more often if a lot of large files
are copied in succession.

Can anybody tell me if upgrading to 7.2 oder -current will help?

I'm currently running 

7.0-STABLE-200804 FreeBSD 7.0-STABLE-200804 #0: Wed Dec 10 15:29:03 CET
2008   ***@host:/usr/obj/usr/src/sys/GENERIC  amd64

Next step I'll try is upgrading to RELENG_7 to see if that helps.


Greetings,
Marc











Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090119201351.ac77e1f9.ubm>