Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 1996 19:54:03 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: reprobing scsi
Message-ID:  <199601271854.TAA24006@uriah.heep.sax.de>
In-Reply-To: <199601271426.HAA08800@seagull.rtd.com> from "Don Yuniskis" at Jan 27, 96 07:26:27 am

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601271854.TAA24006>