From owner-freebsd-hackers Sat Jan 27 11:22:21 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA27000 for hackers-outgoing; Sat, 27 Jan 1996 11:22:21 -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 LAA26991 for ; Sat, 27 Jan 1996 11:22:14 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id UAA26384 for ; Sat, 27 Jan 1996 20:22:10 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id UAA03164 for freebsd-hackers@freebsd.org; Sat, 27 Jan 1996 20:22:10 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id TAA24006 for freebsd-hackers@freebsd.org; Sat, 27 Jan 1996 19:54:04 +0100 (MET) From: J Wunsch Message-Id: <199601271854.TAA24006@uriah.heep.sax.de> Subject: Re: reprobing scsi To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Sat, 27 Jan 1996 19:54:03 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199601271426.HAA08800@seagull.rtd.com> from "Don Yuniskis" at Jan 27, 96 07:26:27 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-hackers@freebsd.org Precedence: bulk As Don Yuniskis wrote: > > > > Is there a way to force a reprobe of the SCSI bus? > > > > scsi -f /dev/rstx -r > > Been there. Done that. ("not configured") Any other suggestions? > ;-) Chicken-and-egg problem. You need at least one valid SCSI device in order to get a hook into the SCSI drivers in order to reprobe an (even another) SCSI target. So if your disk was probed successfully, and you wanna reprobe the tape at target ID 4, use: scsi -f /dev/rsd0.ctl -r -t 4 Note that all this may work, or it may alternatively completely hang your machine, depending on the SCSI adapter you're using. The SCSI reprobe code makes some incorrect assumptions and believes it would always be running at boot time... There's no easy way out. Known to work: aha, bt, i think also ncr. Known to hang: ahc. -- 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. ;-)