From owner-freebsd-scsi Thu Aug 28 05:28:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA25159 for freebsd-scsi-outgoing; Thu, 28 Aug 1997 05:28:25 -0700 (PDT) Received: from hda.hda.com (hda-bicnet.bicnet.net [208.220.66.37]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA25154 for ; Thu, 28 Aug 1997 05:28:22 -0700 (PDT) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id HAA07328; Thu, 28 Aug 1997 07:41:13 -0400 (EDT) From: Peter Dufault Message-Id: <199708281141.HAA07328@hda.hda.com> Subject: Re: bus resets (was "NOT READY") In-Reply-To: <199708280800.BAA01645@silvia.HIP.Berkeley.EDU> from Satoshi Asami at "Aug 28, 97 01:00:02 am" To: asami@cs.berkeley.edu (Satoshi Asami) Date: Thu, 28 Aug 1997 07:41:12 -0400 (EDT) Cc: scsi@FreeBSD.ORG 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-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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