linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Lord <liml@rtr.ca>
To: Tomas Lund <tlund@nxs.se>
Cc: linux-ide@vger.kernel.org
Subject: Re: Need help understanding SATA error message.
Date: Fri, 28 Mar 2008 11:59:14 -0400	[thread overview]
Message-ID: <47ED15D2.3080403@rtr.ca> (raw)
In-Reply-To: <47ED136F.9010501@rtr.ca>

Mark Lord wrote:
> Tomas Lund wrote:
>> Hello,
>>
>> I have a SuperMicro X7SBi with ICH9R SATA running 64bit linux 
>> 2.6.24.4. I have 4 1TB disks connected to the motherboard, and one of 
>> the disks is logging an error message. Everything is brand new, and 
>> hooked up just a few weeks ago.
> ..
>> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>> ata2.00: irq_stat 0x40000001
>> ata2.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
>>          res 51/04:00:0a:24:f9/00:00:00:00:00/a9 Emask 0x1 (device error)
>> ata2.00: status: { DRDY ERR }
>> ata2.00: error: { ABRT }
> ..
>>   Commands leading to the command that caused the error were:
>>   CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
>>   -- -- -- -- -- -- -- --  ----------------  --------------------
>>   ea 00 00 00 00 00 00 08      03:56:15.157  FLUSH CACHE EXIT
>>   61 08 00 3f 59 70 74 08      03:56:15.157  [RESERVED FOR SERIAL ATA]
>>   ea 00 00 00 00 00 00 08      03:56:15.157  FLUSH CACHE EXIT
>>   ea 00 00 00 00 00 00 08      03:56:00.377  FLUSH CACHE EXIT
>>   61 08 00 3f 59 70 74 08      03:56:00.377  [RESERVED FOR SERIAL ATA]
> ..
> 
> The SMART log shows that 0xea was a "FLUSH CACHE EXT" (not "EXIT", duh..)
> command, which is what libata issues when it wants to ensure that all
> cached data has been written to the drive.
> 
> This particular drive is reporting that it doesn't understand the command.
..

Duh..  actually, we were just discussing this very error in another thread.
The drive is really telling us that it hit an unrecoverable WRITE error
at sector 0a:24:f9 on the drive.  Bad sector.

There are patches queued up for 2.6.26 to automatically resume the cache
flush after the failed sector, but you'll still lose data at that sector.

Time for a low-level reformat, if the manufacturer has a utility for that.
Otherwise, RMA it.

Cheers

  reply	other threads:[~2008-03-28 15:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28  7:04 Need help understanding SATA error message Tomas Lund
2008-03-28 13:40 ` Jeff Garzik
2008-03-28 14:28   ` Tomas Lund
2008-03-28 15:49 ` Mark Lord
2008-03-28 15:59   ` Mark Lord [this message]
2008-03-28 22:21     ` Tomas Lund
2008-03-29  3:50       ` Mark Lord
2008-03-30 15:01         ` Tomas Lund
2008-03-31  0:59           ` Tejun Heo
2008-03-31 14:53             ` Mark Lord
2008-04-01  0:26               ` Tejun Heo
2008-04-01  2:01                 ` Mark Lord
2008-04-01  7:11                   ` Tomas Lund
2008-04-01 12:05                     ` Mark Lord
2008-04-01 16:15                       ` Tejun Heo
2008-04-02  5:17                         ` Tomas Lund
2008-04-03 10:39                           ` Tomas Lund
2008-04-11  6:16                             ` Tejun Heo
2008-03-29  3:54       ` Mark Lord
2008-03-29 10:39         ` Tomas Lund

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=47ED15D2.3080403@rtr.ca \
    --to=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    --cc=tlund@nxs.se \
    /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).