From owner-freebsd-hackers Wed Feb 5 09:20:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA05397 for hackers-outgoing; Wed, 5 Feb 1997 09:20:28 -0800 (PST) Received: from hda.hda.com (ip57-max1-fitch.ziplink.net [199.232.245.57]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA05327 for ; Wed, 5 Feb 1997 09:20:23 -0800 (PST) Received: (from dufault@localhost) by hda.hda.com (8.6.12/8.6.12) id MAA01169; Wed, 5 Feb 1997 12:14:35 -0500 From: Peter Dufault Message-Id: <199702051714.MAA01169@hda.hda.com> Subject: Re: probing scsi bus after boot? In-Reply-To: from J Wunsch at "Feb 4, 97 10:58:53 pm" To: joerg_wunsch@uriah.heep.sax.de Date: Wed, 5 Feb 1997 12:14:34 -0500 (EST) Cc: freebsd-hackers@freebsd.org, jlk@pavilion.co.uk X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > As Josef Karthauser wrote: > > > Either I use rmt, but I've not found a way of rmt'ing as root on the > > remote site (please someone let me out of my misery.) > > ~root/.rhost > > It would be neat to see ssh support for this, though. > > > # scsi -f /dev/rst0 -p > > scsi: unable to open device /dev/rst0: Device not configured > > Chicken-and-egg problem. Don't use -p btw., use -r. But still, you > need at least one device that has been successfully probed on your > SCSI bus before, in order to hook the `rescan' ioctl into the kernel > (any device fits, so you could pick /dev/rsd0.ctl). > > NB: this used to hang your machine with various SCSI adapters in the > past, but recent 2.2 (and -current) systems seem to work well with it. Once you've compiled with ssc: > device ssc0 at scbus? #SCSI control device Make the scsi control device (minor number 49: > mknod c 49 0 /dev/scsi.ctl And apply a "probe all" to it: > scsi -f /dev/scsi.ctl -p Once in the past it would have reprobed all devices on your SCSI bus. I'm building a kernel to find out what it does today. -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936