public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Philippe Troin <phil@fifi.org>
To: Wakko Warner <wakko@animx.eu.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: scsi: Devices offlined
Date: 20 Mar 2007 18:43:12 -0700	[thread overview]
Message-ID: <87ircv5q33.fsf@tantale.fifi.org> (raw)
In-Reply-To: <20070321004830.GA4901@animx.eu.org>

Wakko Warner <wakko@animx.eu.org> writes:

> [84797.683873] sr 1:0:13:0: scsi: Device offlined - not ready after error recovery
> 
> Is there anyway to make the kernel "online" a device that has done this? 
> I've had this happen on various devices (mostly on usb where I can
> unplug/replug), but this time, it's on a scsi controller and the driver is
> not a module.
> 
> If it's possible to do this w/o rebooting, I'd like to know for when I have
> this happen in the future.

Have you tried:

  echo remove-single-device BUS ID LUN > /proc/scsi
  echo add-single-device BUS ID LUN > /proc/scsi

?

Phil.

  reply	other threads:[~2007-03-21  1:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21  0:48 scsi: Devices offlined Wakko Warner
2007-03-21  1:43 ` Philippe Troin [this message]
2007-03-21  2:15   ` Wakko Warner

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=87ircv5q33.fsf@tantale.fifi.org \
    --to=phil@fifi.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wakko@animx.eu.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