From: Jeff Garzik <jgarzik@pobox.com>
To: Landry Breuil <landry@rhaalovely.net>
Cc: linux-ide@vger.kernel.org
Subject: Re: sata_via: write errors on SATA drive connected to VT6421
Date: Tue, 03 Feb 2009 13:33:18 -0500 [thread overview]
Message-ID: <49888DEE.5050606@pobox.com> (raw)
In-Reply-To: <20090203181923.GO19493@dawn.rhaalovely.net>
Landry Breuil wrote:
> On Tue, Feb 03, 2009 at 10:59:10AM -0500, Jeff Garzik wrote:
>> Landry Breuil wrote:
>>> Hi,
>>>
>>> i encounter a very similar problem as reported in
>>> http://marc.info/?l=linux-kernel&m=118764381013943&w=2, but with a SATA
>>> disk. Trying to transfer 250Gb (mostly small files) from a SATA disk
>>> (ata1/sda) to another (ata2/sdb), both plugged on the VT6421 card, after
>>> some dozens of seconds the controler bails out and degrades write performance
>>> (UDMA133->UDMA100->UDMA33...)
>>>
>>> kernel: ata2.00: limiting speed to UDMA/33:PIO4
>>> kernel: ata2.00: exception Emask 0x12 SAct 0x0 SErr 0x1400500 action 0x2 frozen
>>> kernel: ata2: SError: { UnrecovData Proto Handshk TrStaTrns }
>>> kernel: ata2.00: cmd 35/00:00:07:c6:f4/00:04:07:00:00/e0 tag 0 dma 524288 out
>>> kernel: res 40/00:b0:27:1d:dc/84:00:07:00:00/e0 Emask 0x16 (ATA bus error)
>> Like Robert noted, this is the hardware complaining that it has found a
>> hardware error.
>>
>> "SErr" stands for SATA SError register value. That is a value read
>> directly from hardware, which indicates one or more problems. Here is
>> some more info:
>> http://ata.wiki.kernel.org/index.php/Libata_error_messages#SATA_SError_expansion
>>
>> When libata sees a bunch of hardware problems, it tries the only things
>> it can do to attempt progress in that situation: reset the hardware,
>> and slow down data transfer in an attempt to avoid errors again.
>
> Okay, that makes sense. I swapped disks on the controller, and the
> errors still pointed at the same disk. Will try with another disk..
> the weird thing is that transferring files at a slow pace (from a
> usb2 disk) shows no failure...
That is surprisingly normal, actually. Flaky hardware can often behave
100% normally, until you stress it.
Jeff
prev parent reply other threads:[~2009-02-03 18:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-03 13:30 sata_via: write errors on SATA drive connected to VT6421 Landry Breuil
2009-02-03 14:38 ` Robert Hancock
2009-02-03 15:59 ` Jeff Garzik
2009-02-03 18:19 ` Landry Breuil
2009-02-03 18:33 ` Jeff Garzik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49888DEE.5050606@pobox.com \
--to=jgarzik@pobox.com \
--cc=landry@rhaalovely.net \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.