From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 16:31:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E0B516A4D1 for ; Mon, 29 Dec 2003 16:31:26 -0800 (PST) Received: from web21105.mail.yahoo.com (web21105.mail.yahoo.com [216.136.227.107]) by mx1.FreeBSD.org (Postfix) with SMTP id E0F0143D1D for ; Mon, 29 Dec 2003 16:31:22 -0800 (PST) (envelope-from materribile@yahoo.com) Message-ID: <20031230003120.39934.qmail@web21105.mail.yahoo.com> Received: from [64.19.133.100] by web21105.mail.yahoo.com via HTTP; Mon, 29 Dec 2003 16:31:20 PST Date: Mon, 29 Dec 2003 16:31:20 -0800 (PST) From: Mark Terribile To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Target-mode drivers (/dev/targ) under 5.2 for ISP driver: no /dev/targ0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 00:31:26 -0000 Hi, I'm trying to bring up the target-mode interface on a QLogic 2300 FC card. I have Matt Jacob's latest version of the driver, I have these lines in my config file for the kernel: options ISP_TARGET_MODE device isp # Qlogic family device ispfw # Qlogic firmware The card does come up. The console messages include: isp0: port 0xde00-0xdeff mem 0xfe9fd0000-0xfe9dfff irq 9 at device 6.0 on pci 1 (My apologies, but the quickest way to get this into the email is to copy it by hand, so I may have an error in there.) The opt_isp.h file is generated; it contains #define ISP_TARGET_MODE 1 At present, the FC card is unconnected. I do have a second SCSI card -- an Adaptec 29160 Ultra 160 -- which is ending up at 0xdd00-0xddff and 0xfe9fc000-0xfe9fcfff . It's running fine, so far as I can tell. With the SCSI devices, I have device scbus # ... [excuse me, I'm not typing the comments here] device ch # ... device da # ... device sa # ... device cd # ... device targ # ... device targbh # ... device pass # ... device ses # ... camcontrol devlist -v produces the following: scbus0 on ahc0 bus0: at scbus0 target 6 lun 0 (sa0, pass0) < > at scbus0 target -1 lun -1 () scbus1 on isp0 bus0: < > at scbus1 target -1 lun -1 (targbh0) scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) What I do not have is /dev/targ0, /dev/targ1, etc. They are simply not being created. This is 5.2, so they should just be there, no? I will be grateful for any help you can give me in finding out why, and getting them started. Mark Terribile materribile@yahoo.com __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/