I am struggling with getting this working. I've followed a few very simple how-to docs and just can't seem to get it going. I'm running the GENERIC kernel (9.2-RELEASE-p3). I'm using a Supermicro board with a dual-port Qlogic 2532 chipset dual-connected to a Qlogic 5600 that has been split into 2 zones. The internal storage of this server has 24 1 TB Samsung SSD disks set[]up for now in a ZFS RAID-Z with 2 spares just for testing of this mode. We are thinking about using this host for a fast VMware datastore. Here are the steps I've tried. Also I am wondering how to make the devices persist after they are set[]up and functional. Any help or pointers much appreciated.
loader.conf
/boot/device.hints
After reboot
I don't know what the fc4 type failure is and can't find anything on it.
I think my main problem is that I can't seem to get my HBA in target mode. I don't believe this error occurs when I remove the device.hints for isp. I have tried using a ZVOL file on a ZFS filesystem and a RAM disk.
loader.conf
Code:
ispfw_load="YES"
isp_load="YES"
ctl_load="YES"
Code:
hint.isp.0.gone_device_time="0xB4"
hint.isp.1.gone_device_time="0xB4"
hint.isp.0.role="1"
hint.isp.1.role="1"
dmesg | grep isp
Code:
ispfw: registered firmware <isp_1040>
ispfw: registered firmware <isp_1040_it>
ispfw: registered firmware <isp_1080>
ispfw: registered firmware <isp_1080_it>
ispfw: registered firmware <isp_12160>
ispfw: registered firmware <isp_12160_it>
ispfw: registered firmware <isp_2100>
ispfw: registered firmware <isp_2200>
ispfw: registered firmware <isp_2300>
ispfw: registered firmware <isp_2322>
ispfw: registered firmware <isp_2400>
ispfw: registered firmware <isp_2400_multi>
ispfw: registered firmware <isp_2500>
ispfw: registered firmware <isp_2500_multi>
isp0: <Qlogic ISP 2532 PCI FC-AL Adapter> port 0x6100-0x61ff mem 0xdf784000-0xdf787fff,0xdf600000-0xdf6fffff irq 40 at device 0.0 on pci6
isp0: setting role to 0x1
isp1: <Qlogic ISP 2532 PCI FC-AL Adapter> port 0x6000-0x60ff mem 0xdf780000-0xdf783fff,0xdf500000-0xdf5fffff irq 44 at device 0.1 on pci6
isp1: setting role to 0x1
vgapci0: <VGA-compatible display> mem 0xdd000000-0xddffffff,0xdf000000-0xdf003fff,0xde800000-0xdeffffff irq 16 at device 3.0 on pci9
isp0: Chan 0 Register FC4 Type CT Passthrough returned 0x6
[b]isp0: isp_fclink_test: register fc4 type failed[/b]
isp0: Chan 0 Register FC4 Type CT Passthrough returned 0x6
[b]isp0: isp_fclink_test: register fc4 type failed[/b]
isp0: Chan 0 Register FC4 Type CT Passthrough returned 0x6
[b]isp0: isp_fclink_test: register fc4 type failed[/b]
I don't know what the fc4 type failure is and can't find anything on it.
I think my main problem is that I can't seem to get my HBA in target mode. I don't believe this error occurs when I remove the device.hints for isp. I have tried using a ZVOL file on a ZFS filesystem and a RAM disk.
ctladm port -l
Code:
Port Online Type Name pp vp WWNN WWPN
0 YES IOCTL CTL ioctl 0 0 0 0
1 YES INTERNAL CTL internal 0 0 0 0
2 YES INTERNAL ctl2cam 0 0 0x5000000f8486af00 0x5000000f8486af03
ctladm devlist -v
Code:
LUN Backend Size (Blocks) BS Serial Number Device ID
1 ramdisk 2048000000 512 MYSERIAL 0 MYDEVID 0
lun_type=0
0 block 209715200 512 MYSERIAL 0 MYDEVID 0
lun_type=0
num_threads=14
file=/dev/zvol/SSDPOOL/zvol1
scbus11 on ctl2cam0 bus 0:
<FREEBSD CTLDISK 0001> at scbus11 target 1 lun 0 (da24,pass26)
<FREEBSD CTLDISK 0001> at scbus11 target 1 lun 1 (da25,pass27)
<> at scbus11 target -1 lun -1 ()