Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 13:16:58 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Chuck Tuffli <chuck_tuffli@agilent.com>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: SIM as loadable module?
Message-ID:  <Pine.BSF.4.21.0211201231010.64851-100000@root.org>
In-Reply-To: <20021120195226.GA35733@cre85086tuf.rose.agilent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0211201231010.64851-100000>