From owner-freebsd-scsi Thu Mar 21 2:55:44 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from hotmail.com (f11.pav2.hotmail.com [64.4.37.11]) by hub.freebsd.org (Postfix) with ESMTP id E6F4D37B41A for ; Thu, 21 Mar 2002 02:55:41 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 21 Mar 2002 02:55:41 -0800 Received: from 203.197.145.68 by pv2fd.pav2.hotmail.msn.com with HTTP; Thu, 21 Mar 2002 10:55:41 GMT X-Originating-IP: [203.197.145.68] From: "Parthiban M" To: freebsd-scsi@FreeBSD.ORG Cc: priya@npd.hcltech.com, pamanick@npd.hcltech.com Date: Thu, 21 Mar 2002 16:25:41 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Mar 2002 10:55:41.0871 (UTC) FILETIME=[F19BDBF0:01C1D0C6] 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 Hi all, I have tried userland SCSI target mode emulator. And whenever I'm invoking scsi_target program, it throws error message saying "Device not configured". I recompiled the kernel with "targ" devices option. During device probing, the xpt_transport layer is successfully invoking targinit routine. I had created the device file "/dev/targ.ctl c 65 0" through mknod. I am using the FreeBSD kernel debugging environment"remote gdb". I tried many instances of opening the targ.ctl device through the userland program. The open call seems to fail. On debugging, in some cases makedev (in targinit) fails while in others it succeeds. Am I missing something ? Parthi _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message