[3091] in linux-scsi channel archive

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

Re: external SCSI device

daemon@ATHENA.MIT.EDU (Marcus Meissner)
Sun Jan 18 13:04:24 1998

From: Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
Date: 	Sun, 18 Jan 1998 18:56:16 +0100 (MET)
To: master@gvi.net
In-Reply-To: <199801181631.KAA25366@revue.linux-scsi-gvi.net>
Cc: linux-scsi@vger.rutgers.edu

In article <199801181631.KAA25366@revue.linux-scsi-gvi.net> you write:
>
>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?

Well, I even hotplugged a internal SCSI tapedrive. You just need to do:

echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
                                   ^ lun
				 ^ id
			       ^ channel
			     ^ host

(So, SCSI ID 6 at my single channel Adaptec 2940U would need:

echo "scsi add-single-device 0 0 6 0" >/proc/scsi/scsi

Ciao, Marcus

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