From owner-freebsd-hackers Mon Feb 14 9:37:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from crufty.research.bell-labs.com (crufty.research.bell-labs.com [204.178.16.49]) by builder.freebsd.org (Postfix) with SMTP id DDAAE4C79 for ; Mon, 14 Feb 2000 09:37:47 -0800 (PST) Received: from grubby.research.bell-labs.com ([135.104.2.9]) by crufty; Mon Feb 14 12:19:07 EST 2000 Received: from aura.research.bell-labs.com ([135.104.46.10]) by grubby; Mon Feb 14 12:19:06 EST 2000 Received: (from ozden@localhost) by aura.research.bell-labs.com (8.9.1/8.9.1) id MAA18497 for freebsd-hackers@freebsd.org; Mon, 14 Feb 2000 12:19:02 -0500 (EST) Message-Id: <200002141719.MAA18497@aura.research.bell-labs.com> From: ozden@research.bell-labs.com (Banu Ozden) Date: Mon, 14 Feb 2000 12:19:02 -0500 X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: freebsd-hackers@freebsd.org Subject: scsi target mode Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG we're trying to figure out how to setup a scsi adapter to function as a target device, and would appreciate some help from anyone who knows how to do it. we've looked at the code (scsi_target.c, scsi_targ_bh.c) and man pages (man scsi), but we're still not clear on the following: a. settings on the controller card (e.g. scsi id, termination) b. freebsd configuration on the initiator and target PCs. (e.g. do we use scsi_pt.c, scsi_target.c, etc). here's a diagram depicting what we want to do. we're trying to setup a PC (PC2 below) with an adaptec controller to act as an emulated disk. PC 1 will access the disks on PC 2. ______________ ______________________________ | PC1 | scsi cable | PC2 scsi bus | | adaptec 2940 | ================= | adaptec 2940 ======== disk | | SCSI ID=7 | | SCSI ID=0 SCSI ID=5 | |______________| |______________________________| thanks wee teck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message