Date: Wed, 26 Sep 2001 10:06:49 +0800 From: "derrenl" <derrenl@synology.com> To: "Jeff Fellin" <jkf@research.bell-labs.com>, <freebsd-scsi@FreeBSD.ORG>, <bucy@ece.cmu.edu> Subject: Re: /dev/targ.ctl: Message-ID: <002f01c1462f$e72d56c0$ae01a8c0@derrenltest> References: <200109252113.RAA08265@zydeco.research.bell-labs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <jkf@research.bell-labs.com> To: <freebsd-scsi@FreeBSD.ORG>; <bucy@ece.cmu.edu> 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" <bucy@ece.cmu.edu> > > > To: <freebsd-scsi@FreeBSD.ORG> > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002f01c1462f$e72d56c0$ae01a8c0>