From: Tejun Heo <tj@kernel.org>
To: Utku Somer <utku@zeitin.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: utku's sata freeze and hard reset problem
Date: Wed, 20 May 2009 22:30:53 +0900 [thread overview]
Message-ID: <4A14060D.5020709@kernel.org> (raw)
In-Reply-To: <4A140409.6040108@zeitin.com>
Utku Somer wrote:
> Tejun Heo wrote:
>> Tiemouts without any link layer problem reported. Hmmm.... Does it
>> help if you disable NCQ with the following command?
>>
>> # echo 1 > /sys/block/sdX/device/queue_depth
>>
>> Thanks
> I had the same idea after I read around the mailing list. (But I was
> ignorant
> on the way, I actually tried to echo 0 into queue_depth first. Good
> thing it doesn't
> let me.) Anyway, it has been running without the errors for more than 12
> hours
> now. I also tried by increasing the disk load, which increases the
> chances of the problem
> occurring. It has not happened yet.
>
> So yes, disabling NCQ stops the problem from occurring.
>
> Any ideas?
Timeouts w/ NCQ seem to be one of the most subtle failure modes. It
can be caused by several different issues - firmware bug, power
problem or link layer problem. Is there a firmware update available
for your drive? If there's one, please save the output of "hdparm -I"
before going forward with firmware update.
Thanks.
--
tejun
prev parent reply other threads:[~2009-05-20 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-18 0:58 utku's sata freeze and hard reset problem Utku Somer
2009-05-19 7:41 ` Tejun Heo
2009-05-20 13:22 ` Utku Somer
2009-05-20 13:30 ` Tejun Heo [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=4A14060D.5020709@kernel.org \
--to=tj@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=utku@zeitin.com \
/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).