From owner-freebsd-scsi Mon Jul 5 18:12:25 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from caspian.plutotech.com (caspian.plutotech.com [206.168.67.80]) by hub.freebsd.org (Postfix) with ESMTP id 6B07315373 for ; Mon, 5 Jul 1999 18:12:04 -0700 (PDT) (envelope-from gibbs@caspian.plutotech.com) Received: from caspian.plutotech.com (localhost [127.0.0.1]) by caspian.plutotech.com (8.9.3/8.9.1) with ESMTP id TAA00431; Mon, 5 Jul 1999 19:12:05 -0600 (MDT) (envelope-from gibbs@caspian.plutotech.com) Message-Id: <199907060112.TAA00431@caspian.plutotech.com> X-Mailer: exmh version 2.0.2 2/24/98 To: mjacob@feral.com Cc: "Justin T. Gibbs" , "Kenneth D. Merry" , scsi@freebsd.org Subject: Re: just so you all know how really whacky it can get... In-reply-to: Your message of "Fri, 02 Jul 1999 18:39:18 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Jul 1999 19:12:05 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >I've added Fabric support and also added/tested for SCCLUN.... > >While doing a rescan on a SCCLUN enabled (16 bit luns) through a switch... >this sort of leads me to believe that we need some more flags so that an >HBA can inform CAM that an exhaustive search isn't needed- or at least I >need to try and implement the REPORT LUNS command... at some point it >rebooted (I didn't yet catch why).... really pretty amusing: Take a look at the CAM3 spec's 'bind' interface and how it defines the path inquiry data. I'd like to move in this direction (CAM paths become bind handles or some-such), but it looks like, based on the recent working group meeting, that the bind stuff will be simplified a bit. There was a proposal for forcing SIMs to present a 'static' address to the XPT across LIP events even if the device's loop id changed. Unfortunately I don't know enough about fiber channel to critique the spec or the proposal. The other problem that you are running into is that we currently don't have a kernel thread dedicated to performing rescan operations and we attempt to scan all possible targets in parallel. I thought that I had the necessary tests in there to error out cleanly, but I guess that isn't the case. As soon as I catch a breath here, I'd like to move forward on CAM2->CAM3 transition issues as well as give the XPT it's own thread so that we can keep the parallel probe framework, and gracefully run even with limited memory resources. REPORT LUNS and how to deal with SCSI3 devices in general certainly needs to be addressed before 4.0 as well. If you have ideas in this area, please pass them on. I should be back working on CAM heavily in about two weeks time. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message