Re: rescan scsi

Richard B. Johnson (root@analogic.com)
Fri, 20 Jun 1997 15:55:14 -0400 (EDT)


On Fri, 20 Jun 1997, Gerald Britton wrote:

> > Under Solaris/Linux/NetBSD/OpenBSD at the very least you can reprobe
> > individual devices or whole buses during runtime, no need for such
>
> is it possible to rescan the entire bus under Linux? i don't remember
> reading anything on doing this. the only interface for reprobing the scsi
> bus that i have heard about (or seen code in the kernel for) is the
> add/remove-single-device
>
> --
> Gerald Britton
> gbritton@nih.gov
>
>
Well yes. It seems that the add/remove-single-device hook is (can be) used
to re-scan the SCSI bus. Note that disconnecting, reconnecting to
a powered SCSI bus is risky. You can lose controllers and/or drives.
If one of the bus bits is being driven in one direction by one device
and in the other by another device (as can happen during a bus disturbance),
the chances are 100% that one of the interface chips will permanently
lose a bit. Luck will prevent this, but luck can't be counted upon.

Cheers,
DJ
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Analogic Corporation
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.42 on an i586 machine (66.15 BogoMips).
Warning : It's hard to stay on the trailing edge of technology.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-