scsi_target with Adaptec HBA

Miki Demizu demizu at nissho-ele.co.jp
Wed Aug 24 08:02:42 GMT 2005


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




More information about the freebsd-scsi mailing list