From owner-freebsd-scsi Wed Nov 20 13:16:58 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1CD237B401 for ; Wed, 20 Nov 2002 13:16:57 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 2FD9043E8A for ; Wed, 20 Nov 2002 13:16:57 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 65023 invoked by uid 1000); 20 Nov 2002 21:16:58 -0000 Date: Wed, 20 Nov 2002 13:16:58 -0800 (PST) From: Nate Lawson To: Chuck Tuffli Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: SIM as loadable module? In-Reply-To: <20021120195226.GA35733@cre85086tuf.rose.agilent.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 20 Nov 2002, Chuck Tuffli wrote: > On Mon, Nov 18, 2002 at 10:16:06PM -0700, Kenneth D. Merry wrote: > > On Mon, Nov 18, 2002 at 23:47:13 -0500, Long, Scott wrote: > > > > One question is whether the card gets probed when you statically compile > > the driver into the kernel. > > I haven't tried this yet. Maybe the question I'm asking is does the > CAM automatically scan new buses or is a scan initiated by camcontrol > for loadable modules. It gets scanned on boot. If you load a module, it does not start a rescan automatically although the periph drivers are notified by an async callback. > > Another is, what happens when you rescan that bus? (camcontrol devlist -v > > should show which SCSI bus is allocated to your driver.) > > smallrocks# camcontrol devlist -v > scbus0 on tach0 bus 0: > < > at scbus0 target -1 lun -1 () > scbus1 on tach1 bus 0: > < > at scbus1 target -1 lun -1 () > scbus-1 on xpt0 bus 0: > < > at scbus-1 target -1 lun -1 (xpt0) This looks like it's attaching but the target id is invalid. Can you show your tach_attach routine where you set up the SIM and then register? -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message