All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Lord <liml@rtr.ca>
To: Tejun Heo <tj@kernel.org>
Cc: "Bruno Prémont" <bonbons@linux-vserver.org>,
	"Linux Kernel" <linux-kernel@vger.kernel.org>,
	linux-ide@vger.kernel.org, "Jeff Garzik" <jgarzik@pobox.com>
Subject: Re: XFS shutting down due to IO timeout on SATA disk (pata_via for CX700)
Date: Mon, 15 Sep 2008 16:30:51 -0400	[thread overview]
Message-ID: <48CEC5FB.4040503@rtr.ca> (raw)
In-Reply-To: <48CE22E5.9090403@kernel.org>

Tejun Heo wrote:
> Bruno Prémont wrote:
>> Since some time one of my systems "freezes" after limited uptime (a
>> few hours), usually during package compilation process.  This seems
>> to happen only with recent kernel versions (2.6.27-rc*), don't
>> remember if it also happened with 2.6.26 (though I'm pretty sure it
>> did not happen with early 2.6.2x series) Unfortunately this always
>> shutdowns the root filesystem rendering system unusable.
>>
>> The kernel output below was generated by 2.6.27-rc5-git9, same
>> symptoms happened with other -rc releases of 2.6.27 though I
>> couldn't look at dmesg because it happens to / and I only enabled
>> networked syslog pretty recently on that box in order to find out
>> what happens.
...
>> Kernel error output related to XFS shutdown:
>> [ 9352.420180] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
>> [ 9352.420247] ata1.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
>> [ 9352.420261]          res 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
..

Bruno, please also post the output from these commands:

   hdparm --Istdout /dev/sda
   smartctl -data -a /dev/sda

Thanks.

> Timeout on FLUSH_EXT.  That's a bad sign.  Patch to retry FLUSH is
> pending but at any rate FLUSH failure is often accompanied by loss of
> data and XFS is doing the right thing of giving up on it.
..

Tejun, are we *sure* that's really a timeout?
The status shows 0x40 "drive ready" there, aka. "command complete". 

I have a client who is also seeing this exact scenario on 750GB drives,
using a patched SLES10 kernel (2.6.16 + libata from 2.6.18 or so).

Smartctl output is clean (no logged errors), and the drives themselves
are fine after a reboot -- necessary since libata/scsi kicked the drive out
of the RAID array.

Something strange is going on here.

????

  parent reply	other threads:[~2008-09-15 20:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 17:35 XFS shutting down due to IO timeout on SATA disk (pata_via for CX700) Bruno Prémont
2008-09-15  8:55 ` Tejun Heo
2008-09-15 17:02   ` Bruno Prémont
2008-09-15 20:43     ` Tejun Heo
2008-09-16  8:21       ` Bruno Prémont
2008-09-16 17:35         ` Tejun Heo
2008-09-21 19:51           ` Bruno Prémont
2008-09-16 15:07       ` Grant Grundler
2008-09-15 20:30   ` Mark Lord [this message]
2008-09-15 20:37     ` Tejun Heo
2008-09-16  3:49       ` Mark Lord

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=48CEC5FB.4040503@rtr.ca \
    --to=liml@rtr.ca \
    --cc=bonbons@linux-vserver.org \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.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 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.