From owner-freebsd-scsi Tue Sep 25 13:21:27 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 42D8E37B415 for ; Tue, 25 Sep 2001 13:21:23 -0700 (PDT) Received: from wonky.feral.com (wonky.feral.com [192.67.166.7]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f8PKLHH51559; Tue, 25 Sep 2001 13:21:17 -0700 (PDT) (envelope-from mjacob@feral.com) Date: Tue, 25 Sep 2001 13:20:51 -0700 (PDT) From: Matthew Jacob Reply-To: To: "John S. Bucy" Cc: Subject: Re: /dev/targ.ctl: In-Reply-To: <20010925160527.B261@joy.pdl.cmu.edu> Message-ID: <20010925131917.E64084-100000@wonky.feral.com> 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 Hmm. Could be several things. Start tracing in targopen and let us know. On Tue, 25 Sep 2001, John S. Bucy wrote: > On Tue, Sep 25, 2001 at 12:57:42PM -0700, Matthew Jacob wrote: > > > > what arguments are you using with targ.ctl? how are you opening it? > > open("/dev/targ.ctl", O_RDWR) > (this is straight out of /usr/share/examples/scsi_target/scsi_target.c) > > > > john > > > > On Tue, 25 Sep 2001, John S. Bucy wrote: > > > > > On Tue, Sep 25, 2001 at 11:20:12AM +0800, derrenl wrote: > > > > It looks like the targ_ctrl device isn't created in kernel. > > > > If you have time, maybe you should trace kernel to find out if the > > > > targinit() is executed. > > > > > > It appears not to be. Do I need any other configuration other than > > > what I have (below) ? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message