All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: linux-ide@vger.kernel.org
Subject: reenabling disabled ata links from the command line
Date: Sun, 13 Jun 2010 11:06:00 +0200	[thread overview]
Message-ID: <20100613090600.GA31086@basil.fritz.box> (raw)

Hi,

I recently found myself in a situation where I had to recover some data
from a SATA disk with broken sata connector.

In the end I had to reboot quite often to get the sata hardware/driver
to retry to reconnect a link when I fixed the connector in a slightly
different angle.

On the first connect the hardware detected it by itself,
but the problem was that once it lost the link the ata interface
was disabled and only a reset could fix that, I think(?)

So I was wondering is there a way to reenable a link that has been
disabled to try again?

I presume a module reload would do it, but that's not practical when your
root fs is on another SATA port.

Should something like this be implemented?

Thanks,
-Andi


             reply	other threads:[~2010-06-13  9:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-13  9:06 Andi Kleen [this message]
2010-06-14  7:36 ` reenabling disabled ata links from the command line Tejun Heo

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=20100613090600.GA31086@basil.fritz.box \
    --to=andi@firstfloor.org \
    --cc=linux-ide@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 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.