Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 1997 07:41:12 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        asami@cs.berkeley.edu (Satoshi Asami)
Cc:        scsi@FreeBSD.ORG
Subject:   Re: bus resets (was "NOT READY")
Message-ID:  <199708281141.HAA07328@hda.hda.com>
In-Reply-To: <199708280800.BAA01645@silvia.HIP.Berkeley.EDU> from Satoshi Asami at "Aug 28, 97 01:00:02 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> The previous suggestion was way too hard for me.  Let me try another
> approach.  Is there some way to tell the driver to issue a reset to a
> specified bus?  That should force restarts of all the drives, right?
> 
> Of course, if there is some way to issue a start unit command to a
> specific target, that is great too.

Several adapters support SCSI_RESET to reset a specific target;
you can get at it through "scsi_reset_target(sc_link)".
You can start a unit with "scsi_start_unit(sc_link, flags)".
In all cases you will then have to hope the system goes into the retry
forever logic based on the "device in the process of coming ready".

Peter

-- 
Peter Dufault (dufault@hda.com)   Realtime development, Machine control,
HD Associates, Inc.               Safety critical systems, Agency approval



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