[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150511204330.GJ11388@htj.duckdns.org>
Date: Mon, 11 May 2015 16:43:30 -0400
From: Tejun Heo <tj@...nel.org>
To: Matthew Garrett <matthew.garrett@...eos.com>
Cc: Matthew Garrett <mjg59@...eos.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-ide@...r.kernel.org, kristen@...ux.intel.com,
sgunderson@...foot.com
Subject: Re: [PATCH 2/3] libata: Add firmware_default LPM policy
Hello, Matthew.
On Mon, May 11, 2015 at 01:34:40PM -0700, Matthew Garrett wrote:
> On Mon, May 11, 2015 at 1:28 PM, Tejun Heo <tj@...nel.org> wrote:
>
> > CommWake isn't the problem here. SError is being dumped just for
> > information. The disk is reporting failure on a write command which
> > is diagnosed as "device error" and thus the link is not reset. It's
> > really the device actively reporting command failure.
>
> Ok, that makes sense. Is there any practical way for us to identify
> why the device might be doing that? It seems to be limited to the LPM
> case, but this is (theoretically) in the same configuration that the
> firmware programmed, so it's a little surprising.
Modern ATA spec do implement extended error reporting and Hannes
recently (not mainline yet) added support for it and the kernel will
print out sense codes if the device reports it ("NCQ Autosense
xx/xx/xx"). Another vector could be SMART error log which is
accessible through smartctl, but it's quite possible that the ABRT bit
is the only thing the device is exposing at all.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists