From owner-freebsd-scsi Thu Jan 25 14:25:19 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA12485 for freebsd-scsi-outgoing; Thu, 25 Jan 1996 14:25:19 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA12475 for ; Thu, 25 Jan 1996 14:25:11 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA16533; Thu, 25 Jan 1996 23:24:49 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA19915; Thu, 25 Jan 1996 23:24:49 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id XAA15968; Thu, 25 Jan 1996 23:05:42 +0100 (MET) From: J Wunsch Message-Id: <199601252205.XAA15968@uriah.heep.sax.de> Subject: Re: in situ adding/removing devices To: kuku@gilberto.physik.rwth-aachen.de (Christoph P. Kukulies) Date: Thu, 25 Jan 1996 23:05:41 +0100 (MET) Cc: freebsd-scsi@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199601250834.JAA05115@gilberto.physik.rwth-aachen.de> from "Christoph P. Kukulies" at Jan 25, 96 09:34:42 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-scsi@FreeBSD.org Precedence: bulk As Christoph P. Kukulies wrote: > > Assumed you have two scsi controllers, or one controller and your > system disks at a different controller/bus, could FreeBSD > cope with changing/adding devices on the SCSI bus. Is there a > way to rescan the scsi-bus and assign the found devices > into the system? scsi -r Alas, it only seems to work for the aha and bt drivers, and for the latter, most likely only for the non-PCI versions. Since device probing is usually done at system initialization time, the probe code makes several fatal assumptions about the environment it's running in, for example it turns the adapter driver into polled mode. I haven't been able to successfully use it on the ahc driver at work (and i'm rather surprised that it works flawlessly on the aha and bt drivers at home :). Last time we've been discussing this here, the tenor was ``Yes, it needs to be changed.'' ;-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)