public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Raphael Manfredi <Raphael_Manfredi@pobox.com>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6.30.5] Diagnosing an IDE lockup with SMART long tests
Date: Wed, 2 Sep 2009 08:07:43 +0200	[thread overview]
Message-ID: <20090902060743.GA15101@chram.org> (raw)
In-Reply-To: <4A9DF3E9.9090309@gmail.com>

Quoting Robert Hancock:
> It's most likely a bug in the IDE code somewhere, but realistically the 
> most effective course of action would likely be to switch from the old IDE 
> drivers and use libata instead. The IDE code doesn't receive that much 
> testing these days, and it's really hard to debug (as you've seen, the 
> debugging output is rather atrocious).

Sure, but we're talking a production machine here.  Moving to libata to
handle the IDE drives would involve many changes everywhere in the system
and cause instability.  For instance, /etc/fstab would need to refer to
/dev/sd*, /etc/mdadm.conf needs rewriting as well...  This is a complex move,
and there's no assurance that libata won't have bugs in its PATA handling.

Since the machine is otherwise stable, I'm rather aiming at a workaround.
Today, the workaround I have is to not run SMART long tests but it proved
dangerous.  Therefore, I'm looking for a kernel workaround to avoid the
lockups.

Why would the reading of the status register of the IDE interface cause a
lockup?  If I can prevent the lockup and resume work, I would not mind having
a few lost interrupts events now and then.

Raphael

  reply	other threads:[~2009-09-02  6:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-01 16:27 [2.6.30.5] Diagnosing an IDE lockup with SMART long tests Raphael Manfredi
2009-09-02  4:26 ` Robert Hancock
2009-09-02  6:07   ` Raphael Manfredi [this message]
2009-09-02 11:19   ` Raphael Manfredi
2009-09-02 11:51     ` Ondrej Zary
2009-09-02 11:59       ` Raphael Manfredi
2009-09-02 14:42     ` Robert Hancock
2009-09-02 14:52       ` Raphael Manfredi
2009-09-03  0:24         ` Robert Hancock
2009-09-04  5:35           ` Raphael Manfredi

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=20090902060743.GA15101@chram.org \
    --to=raphael_manfredi@pobox.com \
    --cc=hancockrwd@gmail.com \
    --cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox