linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Marc MERLIN <marc@merlins.org>
Cc: linux-ide@vger.kernel.org
Subject: Re: PMP SMART error recovery and failure code decoding help
Date: Mon, 17 Jan 2011 18:12:09 +0100	[thread overview]
Message-ID: <20110117171209.GH27123@htj.dyndns.org> (raw)
In-Reply-To: <20110117164340.GD27342@merlins.org>

Hello,

On Mon, Jan 17, 2011 at 08:43:40AM -0800, Marc MERLIN wrote:
> > It could be that the drives need to spin up to answer the smart
> > command and the timeout on the smart commands is a bit too short for
> > that to happen.  Forcing a disk access before issuing the smart
> > command could work around the problem.
>  
> Right, although the idea is of course to keep the drives spun down :)
> I haven't been able to find which SMART call is causing those errors yet.
> Does cmd b0/d8:00:00:4f:c2/00:00:00:00:00/00 translate to anything useful?

That's SMART ENABLE OPERATIONS.  It turns on SMART.

> > > That said, is it normal/expected for the PMP code to do a full bus reset
> > > because of a SMART command that couldn't go through?
> > 
> > Yeah, after a timeout, the driver doesn't know what state the
> > controller / PMP / devices are in, so it's kind of forced to do full
> > reset.
> 
> Fair enough. I guess it's one of the downsides of PMP.

The device would still be reset even if it's attached directly.  The
only different is that everything under PMP is reset together instead
of individual ones.

Thanks.

-- 
tejun

  reply	other threads:[~2011-01-17 17:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-16 16:39 PMP SMART error recovery and failure code decoding help Marc MERLIN
2011-01-17 13:26 ` Tejun Heo
2011-01-17 16:43   ` Marc MERLIN
2011-01-17 17:12     ` Tejun Heo [this message]
2011-01-17 17:29       ` Marc MERLIN
2011-06-29 17:14         ` Marc MERLIN

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=20110117171209.GH27123@htj.dyndns.org \
    --to=tj@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=marc@merlins.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).