From owner-freebsd-scsi@FreeBSD.ORG Tue Aug 12 17:07:33 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD8DE37B401 for ; Tue, 12 Aug 2003 17:07:33 -0700 (PDT) Received: from msgbas2x.cos.agilent.com (msgbas1tx.cos.agilent.com [192.25.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAC8D43F75 for ; Tue, 12 Aug 2003 17:07:32 -0700 (PDT) (envelope-from ctuffli@cre85086tuf.rose.agilent.com) Received: from relcos2.cos.agilent.com (relcos2.cos.agilent.com [130.29.152.237]) by msgbas2x.cos.agilent.com (Postfix) with ESMTP id 7BE681082 for ; Tue, 12 Aug 2003 18:07:32 -0600 (MDT) Received: from rtl.rose.agilent.com (rtl.rose.agilent.com [130.30.179.189]) by relcos2.cos.agilent.com (Postfix) with ESMTP id 21A6F18 for ; Tue, 12 Aug 2003 18:07:32 -0600 (MDT) Received: from cre85086tuf.rose.agilent.com (cre85086tuf.rose.agilent.com [130.30.174.150])ESMTP id RAA02721 for ; Tue, 12 Aug 2003 17:07:31 -0700 (PDT) Received: by cre85086tuf.rose.agilent.com (Postfix, from userid 1001) id 4179E19DF95; Tue, 12 Aug 2003 17:06:21 -0700 (PDT) Date: Tue, 12 Aug 2003 17:06:21 -0700 From: Chuck Tuffli To: freebsd-scsi@freebsd.org Message-ID: <20030813000620.GA2564@cre85086tuf.rose.agilent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: problem running scsi_target X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 00:07:34 -0000 Hi - I started playing with scsi_target and have run into a problem getting it up and running. When I run fluffy# scsi_target -d 0:1:0 ./test_file scsi_target: aio support tested ok scsi_target: TARGIOCENABLE: Device not configured scsi_target: cleanup called fluffy# dmesg |grep -i isp isp0: port 0x3000-0x30ff mem 0xfc204000-0xfc204fff irq 11 at device 1.0 on pci3 isp0: port logout of iid 0 (noperiph:isp0:0:1:0): enable lun CCB rejected, status 0x39 It seems like there is some machine configuration step I missed, but I'm not sure what it was. Any ideas? The OS is 4.8 release with the following config # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) # SCSI target emulator device targ # Blackhole driver device targbh options CAMDEBUG options VFS_AIO # QLogic support device isp device ispfw options ISP_TARGET_MODE=1 -- Chuck Tuffli Agilent Technologies, Storage and Networking