problem running scsi_target

Chuck Tuffli chuck_tuffli at agilent.com
Tue Aug 12 17:07:34 PDT 2003


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: <Qlogic ISP 2200 PCI FC-AL Adapter> 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    <chuck_tuffli AT NO_SPAM agilent DOT com>
Agilent Technologies, Storage and Networking


More information about the freebsd-scsi mailing list