From owner-freebsd-scsi Wed Jan 24 18:43:56 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id 21A4237B6A1 for ; Wed, 24 Jan 2001 18:43:39 -0800 (PST) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.0/8.9.3) with ESMTP id f0P2hAs05296; Wed, 24 Jan 2001 19:43:12 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-Id: <200101250243.f0P2hAs05296@aslan.scsiguy.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: "Derren L." Cc: "Iain Templeton" , "cheen" , freebsd-scsi@FreeBSD.ORG Subject: Re: More target mode observations In-Reply-To: Your message of "Sun, 21 Jan 2001 14:45:41 +0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Jan 2001 19:43:10 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>Following up to myself with a bit more info, I've been tied up with things, but I'll try to look into this tomorrow. Target mode has worked, but I must have broken something recently. I'm sure it won't take me long to figure out what. >>The other thing is that I only get bus reset intermittantly, which >>worries me. By this I mean that I can do a camcontrol reset on one >>machine, and the other machine doesn't always pick it up (I don't get >>he "Somebody reset bus %d" message). This is actually a feature. The bus reset interrupt is disabled when a reset is first detected. It is only re-enabled once a reset will again effect state. That is, the interrupt will be re-enabled just before the first "select-out" as an initiator, and just after a "select-in" as a target. This prevents poorly implemented devices (usually initiators) from causing interrupt storms should they hold the reset line for long periods of time (several ms usually). If your system is doing real-time processing, having your interrupt handler called all the time to service no-op bus resets makes it difficult to meet your real-time constraints. 8-) -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message