[8466] in linux-scsi channel archive
Re: inducing SCSI bus scan
daemon@ATHENA.MIT.EDU (Matthew Dharm)
Thu Mar 23 14:42:59 2000
Date: Thu, 23 Mar 2000 11:33:25 -0800 (PST)
From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Eric Youngdale <eric@andante.org>
Cc: "Ralston, Steve" <steve.ralston@lsil.com>,
"'linux-scsi'" <linux-scsi@vger.rutgers.edu>
In-Reply-To: <001101bf94f2$faa29a20$4d0310ac@fairfax.datafocus.com>
Message-ID: <Pine.LNX.4.10.10003231132060.32521-100000@ziggy.one-eyed-alien.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
It would be really nice if someone would bring this feature out of BETA
status. If it wasn't beta, I would have used it in my virtual HBA driver
instead of adding and removing entire virtual hosts.
Matt Dharm
On Thu, 23 Mar 2000, Eric Youngdale wrote:
> It is possible to manually do this through the /proc filesystem. In
> scsi.c there are comments which describe how this works:
>
> /*
> * Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
> * with "0 1 2 3" replaced by your "Host Channel Id Lun".
> * Consider this feature BETA.
> * CAUTION: This is not for hotplugging your peripherals. As
> * SCSI was not designed for this you could damage your
> * hardware !
> * However perhaps it is legal to switch on an
> * already connected device. It is perhaps not
> * guaranteed this device doesn't corrupt an ongoing data transfer.
> */
>
> -Eric
>
> ----- Original Message -----
> From: Ralston, Steve <steve.ralston@lsil.com>
> To: 'linux-scsi' <linux-scsi@vger.rutgers.edu>
> Sent: Thursday, March 23, 2000 11:57 AM
> Subject: inducing SCSI bus scan
>
>
> > Is there any way for a SCSI driver to induce the scsi
> > mid-layer into rescanning its bus(ses)?
> > (well, besides unloading a scsi driver module and
> > reloading it)
> >
> > Example: Someone powers up devices after boot
> > or scsi driver module is loaded.
> >
> > Thanks,
> > -SteveR
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> > the body of a message to majordomo@vger.rutgers.edu
> >
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.rutgers.edu
>
--
Matthew Dharm Home: mdharm@one-eyed-alien.net
Engineer, Qualcomm, Inc. Work: mdharm@qualcomm.com
G: Money isn't everything, A.J.
AJ: Who convinced you of that?
G: The Chief, at my last salary review.
-- Mike and Greg
User Friendly, 11/3/1998
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu