From: Robert Hancock <hancockrwd@gmail.com>
To: Tejun Heo <tj@kernel.org>
Cc: Mark Lord <liml@rtr.ca>, Jeff Garzik <jeff@garzik.org>,
Chuck Ebbert <cebbert@redhat.com>,
linux-ide@vger.kernel.org
Subject: Re: libata timeouts when stressing a Samsung HDD
Date: Sun, 01 Mar 2009 13:31:31 -0600 [thread overview]
Message-ID: <49AAE293.2050903@gmail.com> (raw)
In-Reply-To: <499E22FA.7030409@kernel.org>
Tejun Heo wrote:
> Hello,
>
> Robert Hancock wrote:
>>>> If I recall correctly, The reported shadow register contents are bogus
>>>> when a timeout occurs. So we don't actually know what the drive
>>>> state was.
>>>>
>>>> Or do we, Tejun?
>>> Yeah, it's bogus. Maybe we should just report zeros.
>> Didn't know that. Shouldn't we be able to do a qc_fill_rtf before error
>> handling in this case? That would make it easier to tell if we lost an
>> interrupt or if the drive is just taking too long..
>
> I think Alan already did it in the patches which added improved
> timeout handling callback. Hmmm... Can't find it. I thought it was
> in #upstream. Anyways, I'm slightly worried about reading status
> blindly after timeout mainly due to experiences I had early while
> developing libata EH. Some controllers were simply scary and very
> eager to lock up the whole machine. That said, it could be that I'm
> just overly paranoid. After all, with shared IRQ, we don't have
> control over when altstatus is read at least.
For some of these timeout issues I think it would make things a bit
easier to diagnose, certainly.. With some controllers there might be a
little bit of risk (nForce4 seems to be one of those twitchy ones,
whether in ADMA mode or not, at least for command errors, possibly not
for timeouts), however certainly for ones like AHCI which just store the
D2H register FIS in memory, there's really no reason not to read it out..
next prev parent reply other threads:[~2009-03-01 19:31 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 21:40 libata timeouts when stressing a Samsung HDD Chuck Ebbert
2009-02-11 1:30 ` Tejun Heo
2009-02-11 4:08 ` Mark Lord
2009-02-11 20:29 ` Chuck Ebbert
2009-02-11 22:03 ` Mark Lord
2009-02-11 22:11 ` Jeff Garzik
2009-02-11 22:29 ` Mark Lord
2009-02-11 22:54 ` Chuck Ebbert
2009-02-12 16:10 ` Mark Lord
2009-02-12 16:13 ` Mark Lord
2009-02-16 3:12 ` Tejun Heo
2009-02-16 21:30 ` Chuck Ebbert
2009-02-19 6:21 ` Tejun Heo
2009-02-19 16:41 ` Greg Freemyer
2009-02-20 0:33 ` Tejun Heo
2009-02-12 4:28 ` Robert Hancock
2009-02-19 15:27 ` Mark Lord
2009-02-20 0:32 ` Tejun Heo
2009-02-20 2:52 ` Robert Hancock
2009-02-20 3:26 ` Tejun Heo
2009-03-01 19:31 ` Robert Hancock [this message]
2009-03-01 20:28 ` Alan Cox
2009-02-11 20:24 ` Chuck Ebbert
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=49AAE293.2050903@gmail.com \
--to=hancockrwd@gmail.com \
--cc=cebbert@redhat.com \
--cc=jeff@garzik.org \
--cc=liml@rtr.ca \
--cc=linux-ide@vger.kernel.org \
--cc=tj@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).