All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: "Sumanth J.V" <sumanth@cse.unl.edu>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-ide@vger.kernel.org
Subject: Re: Fw: Spurious completions during NCQ
Date: Sat, 15 Sep 2007 19:57:13 -0400	[thread overview]
Message-ID: <46EC7159.6000904@garzik.org> (raw)
In-Reply-To: <20070915005751.353d0c69.akpm@linux-foundation.org>

Andrew Morton wrote:
> 
> Begin forwarded message:
> 
> Date: Fri, 07 Sep 2007 12:57:14 -0500
> From: "Sumanth J.V" <sumanth@cse.unl.edu>
> To: linux-kernel@vger.kernel.org
> Subject: Spurious completions during NCQ
> 
> 
> I keep seeing this message a few times a day on my box.
> 
> ata1.00: exception Emask 0x2 SAct 0x18 SErr 0x0 action 0x2 frozen
> ata1.00: (spurious completions during NCQ issue=0x0 SAct=0x18 
> FIS=004040a1:00000004)
> ata1.00: cmd 60/08:18:bf:04:df/00:00:23:00:00/40 tag 3 cdb 0x0 data 4096 in
>          res 40/00:24:c7:04:df/00:00:23:00:00/40 Emask 0x2 (HSM violation)
> ata1.00: cmd 60/78:20:c7:04:df/00:00:23:00:00/40 tag 4 cdb 0x0 data 61440 in
>          res 40/00:24:c7:04:df/00:00:23:00:00/40 Emask 0x2 (HSM violation)
> ata1: soft resetting port
> ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> ata1.00: configured for UDMA/133
> ata1: EH complete
> sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't 
> support DPO or FUA
> 
> 
> 
> Can I assume that my data integrity is not compromised? Any idea what is 
> happening to the pending writes during the soft reset? How can I verify 
> that all the pending writes were committed?
> 
> I have attached the output of my dmesg, lspci, sdparm and mdadm. Do let 
> me know if you need any other info?


If the error handler can detect the condition (it did), then there is no 
data integrity problem.  We just "down-shift".

	Jeff



  reply	other threads:[~2007-09-15 23:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-15  7:57 Fw: Spurious completions during NCQ Andrew Morton
2007-09-15 23:57 ` Jeff Garzik [this message]
2007-09-16 12:47   ` Tejun Heo
2007-09-17 13:18     ` Sumanth J.V
  -- strict thread matches above, loose matches on Subject: below --
2007-10-19 23:46 Andrew Morton

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=46EC7159.6000904@garzik.org \
    --to=jeff@garzik.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=sumanth@cse.unl.edu \
    /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.