QLogic 2340 isp target mode
Brad Waite
lists at wcubed.net
Tue Nov 30 18:45:32 UTC 2010
Hi there, SCSI wizards!
I'm working on getting my QLogic 2340 under 8.1 to show a target to
VMware ESXi w/another 2340 in point-to-point mode. A single dual-optical
cable is connected directly to the two HBAs - no switches or other devices.
`scsi_target -d 0:0:0 /usr/local/share/vol` returns this before hanging:
scsi_target: volume_size: 512 bytes x 20480 sectors
scsi_target: aio support tested ok
scsi_target: TARGIOCENABLE: Operation not supported
scsi_target: cleanup called
...and in dmesg:
controller does not support target mode
Is /usr/share/examples/scsi_target the "right" thing to use? How do you
specify which device to present a target? I assume it's the bus/target
ID, but how do I find it? Nothing's showing up in `camcontrol devlist`
for the HBA and `camcontrol start isp0` reports this:
camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed
cam_lookup_pass: No such file or directory
cam_lookup_pass: either the pass driver isn't in your kernel
cam_lookup_pass: or isp0 doesn't exist
What am I missing?
Thanks.
-bmw
kernel config:
device scbus # SCSI bus (required for SCSI)
device pass # Passthrough device (direct SCSI access)
device isp # Qlogic family
device targ #SCSI Target Mode Code
device targbh #SCSI Target Mode Blackhole Device
options VFS_AIO
options ISP_TARGET_MODE=1
options ISP_DEFAULT_ROLES=1
/boot/loader.conf:
isp_2300_load="YES"
/boot/device.hints:
hint.isp.0.role="target" (should this be "target" or "1"?)
hint.isp.0.iid="0"
dmesg:
isp_2300: registered firmware <isp_2300>
isp0: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x7000-0x70ff mem
0xfc200000-0xfc200fff irq 28 at device 2.0 on pci2
isp0: [ITHREAD]
More information about the freebsd-scsi
mailing list