Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.

Community Forum > Qlogic 2692 16Gb FC HBA support

Hardware List
Machine : Dell R740
CPU: Xenon Silver 4110 2.1G
FC HBA : Qlogic 2692 Dual Port 16Gb Fiber Channel

February 22, 2019 | Registered CommenterMelvin Ji

Hello,

This specific card (2692) has not been certified to work with QuantaStor yet, but it appears to be based on the 2672 which we have seen and know to work. Please let us know if you have any issues with this HBA!

February 25, 2019 | Registered CommenterAaron Knodel

I have the same card. I can see the Target mode driver for QLogic 2x00 controller registered sucessfully and a similar message sent by scst saying that Target template qla2x00t registered successfully but outside of that, I have nothing. I don't see the ports in the GUI (I'm trying version 5.1 of Quantastor) and I don't see any host_x in the directory /sys/class/fc_host/. I tried to switch the mode to enabled and exclusive, without more success. What do I miss? I have a SAN behind this card that is working fine with that same card, same host on Windows and VMware. So, hardware is known to be good.

Thank you.

March 2, 2019 | Registered CommenterEtienne Fortin

QuantaStor is looking in /sys/class/fc_host/hostN/device/scsi_host/hostN/model_name for the model information about the card. If that matches known tested models it enables the FC support. It's odd that your system doesn't have anything under the /sys/class/fc_host directory. Do you see the WWPNs of your HBA under /sys/kernel/scst_tgt/targets/qla2x00t/ ? Also, could you check to see if the host entry for the card appears under /sys/class/scsi_host ? If so can you send us the information from the files in that directory? Information from sysfs virtual files like model_desc, model_name, link_state, pci_info, fabric_name, active_mode, node_name, port_name, fw_version would be helpful.
Best,
Steve

March 2, 2019 | Registered CommenterSteve

Here are the answers to the questions. No, I don't see WWPN under /sys/kernel/scst_tgt/targets/qla2x00t. Yes, I see host entry under /sys/class/scsi_host but those seems more related to the two disks that are attached to the internal H330 and the internal SD card. Here is what I see. In my understanding, none of those are related to the QLogic HBA.

lrwxrwxrwx 1 root root 0 Mar 2 16:57 host0 -> ../../devices/pci0000:17/0000:17:00.0/0000:18:00.0/host0/scsi_host/host0
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host1 -> ../../devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host1/scsi_host/host1
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host10 -> ../../devices/pci0000:00/0000:00:17.0/ata9/host10/scsi_host/host10
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host11 -> ../../devices/pci0000:00/0000:00:17.0/ata10/host11/scsi_host/host11
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host12 -> ../../devices/pci0000:00/0000:00:17.0/ata11/host12/scsi_host/host12
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host13 -> ../../devices/pci0000:00/0000:00:17.0/ata12/host13/scsi_host/host13
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host14 -> ../../devices/pci0000:00/0000:00:17.0/ata13/host14/scsi_host/host14
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host15 -> ../../devices/pci0000:00/0000:00:17.0/ata14/host15/scsi_host/host15
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host2 -> ../../devices/pci0000:00/0000:00:11.5/ata1/host2/scsi_host/host2
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host3 -> ../../devices/pci0000:00/0000:00:11.5/ata2/host3/scsi_host/host3
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host4 -> ../../devices/pci0000:00/0000:00:11.5/ata3/host4/scsi_host/host4
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host5 -> ../../devices/pci0000:00/0000:00:11.5/ata4/host5/scsi_host/host5
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host6 -> ../../devices/pci0000:00/0000:00:11.5/ata5/host6/scsi_host/host6
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host7 -> ../../devices/pci0000:00/0000:00:11.5/ata6/host7/scsi_host/host7
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host8 -> ../../devices/pci0000:00/0000:00:17.0/ata7/host8/scsi_host/host8
lrwxrwxrwx 1 root root 0 Mar 2 16:57 host9 -> ../../devices/pci0000:00/0000:00:17.0/ata8/host9/scsi_host/host9

That said, the driver is loaded.

root@quantastor:/sys/class/scsi_host# lsmod |grep ql
qla2x00tgt 65536 0
qla2xxx 421888 1 qla2x00tgt
scsi_transport_fc 57344 1 qla2xxx
scst 1335296 3 scst_vdisk,iscsi_scst,qla2x00tgt

And the card is seen from Linux.

root@quantastor:/sys/class/scsi_host# lspci -nnk |grep QL
3b:00.0 Fibre Channel [0c04]: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter [1077:2261] (rev 01)
Subsystem: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter [1077:02a8]
3b:00.1 Fibre Channel [0c04]: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter [1077:2261] (rev 01)
Subsystem: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter [1077:02a8]

And scst seems to recognize the running driver.

Mar 2 16:22:47 quantastor kernel: [ 9.859258] qla2xxx [0000:00:00.0]-0005:
Mar 2 16:22:47 quantastor kernel: [ 9.859260] QLogic Fibre Channel HBA Driver: 8.04.00.05.2.2-SCST.03-k-p.
Mar 2 16:22:47 quantastor kernel: [ 9.860052] qla2x00t: Initializing QLogic Fibre Channel HBA Driver target mode addon version 3.4.0-pre1
Mar 2 16:22:47 quantastor kernel: [ 9.860142] qla2x00t: Target mode driver for QLogic 2x00 controller registered successfully
Mar 2 16:22:47 quantastor kernel: [ 9.860148] scst: Target template qla2x00t registered successfully

I'm stuck at that point as lot of things seems fine but it doesn't work and there is no hostN in /sys/class/fc_host/

Any help will be appreciated.

Thank you.

Etienne

March 2, 2019 | Registered CommenterEtienne Fortin

Hi Etienne,
I did a quick search and found this post which makes me think the issue is driver related. https://sourceforge.net/p/scst/mailman/message/36023140/
If you're up for experimenting you might try the driver build and install steps outlined in that post to see if that sorts it out for you. We'll be opening an internal engineering ticket to see about getting a newer version of the SCST qlogic driver included in the next QuantaStor release.
Best,
Steve

March 2, 2019 | Registered CommenterSteve

Hi,

I tried to install build-essentials on the quantastor server but there are errors related to some package. So, for now, I'll try to build it on a Ubuntu server and move it to the quantastor server. Will let you know. As a comment, it would be great to be able to install build-essential on a test quantastor server in order to be able to build packages for the exact kernel and libraries that are in quantastor 5.1.

Thank you.

Etienne

March 2, 2019 | Registered CommenterEtienne Fortin

apt-get install libc6=2.23-0ubuntu11

that should sort it. We pin the system to the packages we ship so that we don't have to worry about compatibility issues between our release cycles (~ every 6 weeks). You can rename /etc/apt/preferences and /etc/apt/preferences.d/osnexus.conf to something else temporarily to work around it. Be sure to do a
apt-get update
after renaming the files to update your package catalog.
Best,
Steve

March 2, 2019 | Registered CommenterSteve

That helped a lot. That said, the instruction you point me to are to compile scst and the QLA unified driver together. I did that and compiled successfully the QLogic driver. However, I can't install those as they are not signed like the rest of the kernel so... can't do much more. I tried to replace the original module by the new one but the tcm_qla2xxx says "unknown symbol in module".

So, basically, I was unable to make it work. I'll wait for your team to do it in the proper manner. There is a few gotcha to generate the new drivers like finding them (the QLogic git is not active anymore) and then to figure what is needed as it is not documented. I had to modify the script setup_qla2xxx.sh to make it work with what I had in hand. I can provide it to your team if they need it to generate the proper QLogic drivers for newer HBA.

Thank you.

Etienne

March 3, 2019 | Registered CommenterEtienne Fortin