[3130] in linux-scsi channel archive
Re: external SCSI device
daemon@ATHENA.MIT.EDU (Eric Youngdale)
Mon Jan 26 12:44:25 1998
Date: Sun, 25 Jan 1998 21:43:19 -0500 (EST)
From: Eric Youngdale <eric@andante.jic.com>
To: the master <master@gvi.net>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <199801181631.KAA25366@gvi.net>
It is possible to tell the kernel to rescan. The following
comment from scsi.c should explain it all:
/*
* 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
"The woods are lovely, dark and deep. But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."
On Sun, 18 Jan 1998, the master wrote:
>
> I have an external CD-ROM,
> external device has to be already turned on when linux is booting up
> for kernel to autodetect it so you can use it.
>
> I haven't heard of any way to tell the kernel to recheck for SCSI
> devices, I think that would be considered hotswapping SCSI devices
> and maybe somebody is working on that.
>
> >
> >
> > I have external magneto-optical device connected to
> > Adaptec-1530 (aha152x driver), but if I switch off it
> > at boot time. Kernel not see it.
> > What is to be done?
> >
> > --
> > Marat Khairullin 8-> mailto:xmm@ugai.kcn.ru
> >
>