Emulex FC Mezzannie Card MC-FC82E in blade - driver

ufoshi

Cadet
Joined
Jan 19, 2017
Messages
4
Hello, I have a problem running the Emulex FC MC-FC82E card on the Fujitsu BX920 s2 blade machine. Freenas installed with no problem, I can see the FC card but I can't get the isp0 interface. Unfortunately, it is not possible to install a qlogic card because this platform does not support them. Maybe there is some way to run this card in this configuration. I will add that the card is detected by the system. Thank you for your help.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,398
I don't know if this will work, as the MC-FC82E emulates an LPe12002, but you could try loading the ocs_fc driver via loader tunable ocs_fc_load="YES" and rebooting. The man page for ocs_fc says this driver supports:

Code:
HARDWARE
     The ocs_fc    driver supports    these Fibre Channel adapters:

       Emulex 16/8G    FC GEN 5 HBAS

             LPe15004 FC Host Bus Adapters
             LPe160XX FC Host Bus Adapters

       Emulex 32/16G FC GEN    6 HBAS

             LPe3100X FC Host Bus Adapters
             LPe3200X FC Host Bus Adapters


It might supprt your FC card. The isp driver only supports

Code:
HARDWARE
     Cards supported by the isp driver include:

           Qlogic 1000
                   Fast Wide, Ultra Fast Wide cards, Single Ended or
                   Differential SBus cards.

           Qlogic 1020
                   Fast Wide and Differential Fast Wide SCSI PCI cards.

           Qlogic 1040
                   Ultra Wide and Differential Ultra Wide SCSI PCI cards.
                   Also known as the DEC KZPBA-CA (single ended) and KZPBA-CB
                   (HVD differential).

           Qlogic 1080
                   LVD Ultra2 Wide SCSI PCI cards.

           Qlogic 10160
                   LVD Ultra3 Wide SCSI PCI cards.

           Qlogic 1240
                   Dual Bus Ultra Wide and Differential Ultra Wide SCSI PCI
                   cards.

           Qlogic 1280
                   Dual Bus LVD Ultra2 Wide SCSI PCI cards.

           Qlogic 12160
                   Dual Bus LVD Ultra3 Wide SCSI PCI cards.

           Qlogic 210X
                   Copper and Optical Fibre Channel Arbitrated Loop PCI cards
                   (single, dual).

           Qlogic 220X
                   Copper and Optical Fibre Channel Arbitrated Loop PCI cards
                   (single, dual, quad).

           Qlogic 2300
                   Optical 2Gb Fibre Channel PCI cards.

           Qlogic 2312
                   Optical 2Gb Fibre Channel PCI cards.

           Qlogic 234X
                   Optical 2Gb Fibre Channel PCI cards (2312 chipset, single
                   and dual attach).

           Qlogic 2322
                   Optical 2Gb Fibre Channel PCIe cards.

           Qlogic 200
                   Dell branded version of the QLogic 2312.

           Qlogic 2422
                   Optical 4Gb Fibre Channel PCI cards.

           Qlogic 246x (aka 2432)
                   Optical 4Gb Fibre Channel PCIe cards.

           Qlogic 256x (aka 2532)
                   Optical 8Gb Fibre Channel PCIe cards.

           Qlogic 267x/836x (aka 2031/8031)
                   Optical 16Gb FC/FCoE PCIe cards.

           Qlogic 2690/2692/2694 (aka 2684/2692)
                   Optical 16Gb Fibre Channel PCIe cards.

           Qlogic 2740/2742/2764 (aka 2722/2714)
                   Optical 32Gb Fibre Channel PCIe cards.
 

ufoshi

Cadet
Joined
Jan 19, 2017
Messages
4
OK i have something like that:
Code:
freenas# ctladm port -l
Port Online Frontend Name     pp vp
0    YES    ioctl    ioctl    0  0
1    YES    tpc      tpc      0  0
2    NO     camsim   camsim   0  0  naa.500000092989a303
3    YES    iscsi    iscsi    1  1  ssd.freenas3.tom


If isp is for qlogic what name have emulex in this case?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,398
The only Emulex drivers available are esp and ocs_fc. Esp seems to be geared towards physical SCSI controllers, and ocs_fc towards FC controllers.
 

ufoshi

Cadet
Joined
Jan 19, 2017
Messages
4
OK ill try ocs_fc.
Il put lines to /boot/device.hints

Code:
hint.ocs_fc.0.initiator="1"  enable
hint.ocs_fc.1.initiator="1" enable
hint.ocs_fc.0.target="1" enable
hint.ocs_fc.1.target="1" enable
hint.ocs_fc.0.topology="0"   - mean auto
hint.ocs_fc.1.topology="0"   - mean auto
hint.ocs_fc.0.speed="0"   - mean auto
hint.ocs_fc.1.speed="0"  - mean auto


in sysctl i add:
fc_link.png

i have this :
Code:
freenas# ctladm port -l
Port Online Frontend Name     pp vp
0    YES    ioctl    ioctl    0  0
1    YES    tpc      tpc      0  0
2    NO     camsim   camsim   0  0  naa.500000092989a303
3    YES    iscsi    iscsi    1  1  ssd.freenas3.tom


its possible to chech this in different way?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,398
You also need a loader tunable ocs_fc_load="YES". I don't think your changes to device.hints will stick. These only take effect after reboot.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,398
Sorry, this FC adapter doesn't appear to be supported.
 
Top