Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2005 17:02:30 +0900
From:      "Miki Demizu" <demizu@nissho-ele.co.jp>
To:        <freebsd-scsi@freebsd.org>
Subject:   scsi_target with Adaptec HBA
Message-ID:  <011f01c5a882$2cdaf890$35970a0a@nisshoele.co.jp>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?011f01c5a882$2cdaf890$35970a0a>