From owner-freebsd-scsi Tue Sep 25 19:10:14 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from synology.com (dns1.synology.com [202.173.37.131]) by hub.freebsd.org (Postfix) with ESMTP id A27CD37B40E for ; Tue, 25 Sep 2001 19:10:07 -0700 (PDT) Received: from derrenltest ([192.168.1.174]) by synology.com (8.9.3/8.9.3) with SMTP id KAA05302; Wed, 26 Sep 2001 10:11:57 +0800 Message-ID: <002f01c1462f$e72d56c0$ae01a8c0@derrenltest> Reply-To: "derrenl" From: "derrenl" To: "Jeff Fellin" , , References: <200109252113.RAA08265@zydeco.research.bell-labs.com> Subject: Re: /dev/targ.ctl: Date: Wed, 26 Sep 2001 10:06:49 +0800 Organization: Synology MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 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 hmmm.. Jeff is right. The name of target device should be "targ", just like Jeff said. And don't forget to rename the blackhole device from scsi_target_bh to targbh. The target driver won't work without targbh device. BTW, all I said above are based on FreeBSD 4.1.. Derren Lu ----- Original Message ----- From: "Jeff Fellin" To: ; Sent: Wednesday, September 26, 2001 5:13 AM Subject: Re: /dev/targ.ctl: > > > John, > I believe the correct name for the target driver is targ, and not scsi_target > > Try changing that in your kernel. > > Jeff Fellin > > > 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) ? > > > > > > thanks > > john > > > > > > > > > ----- Original Message ----- > > > From: "John S. Bucy" > > > To: > > > Sent: Tuesday, September 25, 2001 5:05 AM > > > Subject: /dev/targ.ctl: Device not configured > > > > > > > > > > > > > > # ls -l /dev/targ.ctl > > > > crw------- 1 root wheel 65, 0xffff00ff Sep 24 20:59 /dev/targ.ctl > > > > > > > > > > > > open("/dev/targ.ctl", O_RDWR) > > > > > > > > results in /dev/targ.ctl: Device not configured > > > > > > > > I have: > > > > > > > > device ahc > > > > options AHC_TMODE_ENABLE=0x3 > > > > > > > > device scbus > > > > device da > > > > device sa > > > > device cd > > > > device pass > > > > > > > > device scsi_target > > > > device scsi_target_bh > > > > > > > > > > > > > > > > any ideas? > > > > > > > > thanks > > > > john > > > > > > > > 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 > > > > 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