Re: scsi: Devices offlined

From: Philippe Troin
Date: Tue Mar 20 2007 - 21:55:35 EST


Wakko Warner <wakko@xxxxxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/