From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 24 08:02:42 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org 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 2EAEE16A41F for ; Wed, 24 Aug 2005 08:02:42 +0000 (GMT) (envelope-from demizu@nissho-ele.co.jp) Received: from [202.214.79.38] (u10slave.nissho-ele.co.jp [202.214.79.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C76C43D45 for ; Wed, 24 Aug 2005 08:02:38 +0000 (GMT) (envelope-from demizu@nissho-ele.co.jp) Received: from u10slave.nissho-ele.co.jp by [202.214.79.38] via smtpd (for mx1.freebsd.org [216.136.204.125]) with ESMTP; Wed, 24 Aug 2005 17:02:38 +0900 Received: from ceasar.nissho-ele.co.jp (ceasar.nissho-ele.co.jp [10.10.3.151]) by u10slave (8.12.2+Sun/3.7W03042815) with ESMTP id j7O82bZn018134 for ; Wed, 24 Aug 2005 17:02:37 +0900 (JST) Received: from ceasar.nissho-ele.co.jp by ceasar.nissho-ele.co.jp via smtpd (for u10slave.nissho-ele.co.jp [192.168.2.38]) with ESMTP; Wed, 24 Aug 2005 17:02:37 +0900 Received: from dl380lx.nissho-ele.co.jp (dl380lx.nissho-ele.co.jp [10.10.1.103]) by ceasar.nissho-ele.co.jp (8.12.9/3.7W01041118) with ESMTP id j7O82bLv027294 for ; Wed, 24 Aug 2005 17:02:37 +0900 (JST) Received: by dl380lx.nissho-ele.co.jp (Postfix, from userid 0) id 301763EE1; Wed, 24 Aug 2005 17:02:37 +0900 (JST) Received: from e220r2nd.nissho-ele.co.jp [10.10.1.102] by dl380lx.nissho-ele.co.jp with SMTP id TAA19583; Wed, 24 Aug 2005 17:02:37 +0900 Received: from tauros.nissho-ele.co.jp (localhost [127.0.0.1]) by e220r2nd.nissho-ele.co.jp (8.11.6/3.7W02112210) with ESMTP id j7O82UP23867 for ; Wed, 24 Aug 2005 17:02:36 +0900 (JST) X-Authentication-Warning: e220r2nd.nissho-ele.co.jp: iscan owned process doing -bs Received: from demizu1 ([10.10.151.53]) by tauros.nissho-ele.co.jp (8.13.0/3.7W04102117) with SMTP id j7O82Ttj020349 for ; Wed, 24 Aug 2005 17:02:30 +0900 (JST) Message-ID: <011f01c5a882$2cdaf890$35970a0a@nisshoele.co.jp> From: "Miki Demizu" To: Date: Wed, 24 Aug 2005 17:02:30 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Subject: scsi_target with Adaptec HBA X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 08:02:42 -0000 I tried scsi_target in the /usr/share/examples/scsi_target, according to this site. http://www.root.org/~nate/freebsd/README.targ Environment: FreeBSD Release 5.4. HBA is Adaptec AIC7890, only one card. I found following messages when execute the scsi_target and hanged. kernel config : device scbus device da # SCSI target emulator device targ # Blackhole target driver device targbh options CAMDEBUG # Enable asynch IO (or just do "kldload aio") options VFS_AIO options AHC_TMODE_ENABLE=0x8 ./scsi_target -d 0:3:0 test_file scsi_target: volime_size : 512 bytes x 40960 sectors scsi_target: aio support tested ok scsi_target: TARGIOCENABLE: Operation not supported. scsi_target: cleanup called Followings messages are from target device driver or kernel. #controller dose not support target mode Fatal trap 12: page fault while in kernel mode | | Dose anyone know good advice ? It is working when used Qlogic HBA. Best regards, Miki Demizu