[8463] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: inducing SCSI bus scan

daemon@ATHENA.MIT.EDU (Eric Youngdale)
Thu Mar 23 13:27:27 2000

Message-ID: <001101bf94f2$faa29a20$4d0310ac@fairfax.datafocus.com>
From: "Eric Youngdale" <eric@andante.org>
To: "Ralston, Steve" <steve.ralston@lsil.com>,
	"'linux-scsi'" <linux-scsi@vger.rutgers.edu>
Date:	Thu, 23 Mar 2000 13:09:49 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

    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

home help back first fref pref prev next nref lref last post