linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Linda Walsh <lkml@tlinx.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, linux-ide@vger.kernel.org
Subject: Re: Promise 300-TX 4-channel SATA disk going dead under load 2.6.24-7
Date: Wed, 20 Aug 2008 16:39:04 +0900	[thread overview]
Message-ID: <48ABCA18.6060800@kernel.org> (raw)
In-Reply-To: <20080814115005.1495a0b1@lxorguk.ukuu.org.uk>

Alan Cox wrote:
>> 13 10:12:20 kern: res ff/ff:ff:ff:ff:ff/ff:ff:ff:ff:ff/ff Emask 0x12 
>> (ATA bus error)
> 
> Splat
> 
>> 13 10:12:20 kern: ata4.00: exception Emask 0x10 SAct 0x0 SErr 0x19 0002 
>> action 0xa frozen
>> 13 10:12:20 kern: ata4.00: hotplug_status 0x4
>> 13 10:12:20 kern: ata4: SError: { RecovComm PHYRdyChg 10B8B Dispar }
> 
> SATA link dies
> 
>> 13 10:13:25 kern: ata4: limiting SATA link speed to 1.5 Gbps
> 
> We try 1.5GBit
> 
>> 13 10:14:30 kern: ata4: SError: { RecovComm PHYRdyChg 10B8B Dispar DevExch }
>> 13 10:14:37 kern: ata4: port is slow to respond, please be patient 
>> (Status 0xff)
> 
> First guess would be a dud drive but it could be power or cabling or
> firmware or ...
> 
> In all the sane cases I would have expected it to recover, particularly
> if it was cabling.

Hmm... this could be either the drive or the controller.  After that
happens, can you please plug the power line off the drive, wait a few
tens of secs and plug in again and see whether the drive comes back?
Even if the drive was serving root fs, you should still be able to see
whether libata can converse with the device.  Just don't unplug and
replug while libata is still trying to recover the device.  Unwritten
data in the disk buffer will be lost when you unplug the power and
libata would think it was just transmission glitch and the fs will just
continue as if nothing happened which could result in massive filesystem
corruption.

-- 
tejun

  reply	other threads:[~2008-08-20  7:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-13 22:27 Promise 300-TX 4-channel SATA disk going dead under load 2.6.24-7 Linda Walsh
2008-08-14 10:50 ` Alan Cox
2008-08-20  7:39   ` Tejun Heo [this message]
2008-08-28  1:46     ` Linda Walsh
2008-08-28  7:03       ` Tejun Heo
2008-08-28 12:36         ` Thomas Renninger
2008-08-29 10:20           ` Tejun Heo
2008-08-29 11:39             ` Thomas Renninger
2008-08-29 12:02               ` Tejun Heo
2008-08-29 13:11                 ` Thomas Renninger
2008-08-29 13:18                   ` Tejun Heo
2008-08-29 13:31                     ` Thomas Renninger

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=48ABCA18.6060800@kernel.org \
    --to=tj@kernel.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-ide@vger.kernel.org \
    --cc=lkml@tlinx.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).