FreeNAS with QLogic 8200 dual 10G card only see single port

anchen

Dabbler
Joined
May 3, 2020
Messages
19
FreeNAS-11.3-U5, with HP Microserver Gen 10, and QLogic 8262 10G card.

Issue:
  1. The card comes with dual 10G SFP+ port, but somehow, I only see a single port showing under FreeNAS.
both ports have no SFP+ connected, but i think it should not matter and at least it should show 2 x ports. I initially thought this could be a driver issue, but if driver has issue, it should not even show a port there? see the screeenshot in below. I also followed the google search and ran a PCIE list check in FreeNAS, output in below. someone of one the port is showing none2, which i suspect that might be the port which is not showing on the FreeNAS.

Code:
ql0@pci0:3:0:0:    class=0x020000 card=0x02281077 chip=0x80201077 rev=0x58 hdr=0x00
    vendor     = 'QLogic Corp.'
    device     = 'cLOM8214 1/10GbE Controller'
    class      = network
    subclass   = ethernet
none2@pci0:3:0:1:    class=0x020000 card=0x02281077 chip=0x80201077 rev=0x58 hdr=0x00
    vendor     = 'QLogic Corp.'
    device     = 'cLOM8214 1/10GbE Controller'
    class      = network
    subclass   = ethernet


I am wondering if any of you could kindly help me some suggestion, or have seen this issue before? Thank you.

Andy
 

Attachments

  • Screen Shot 2020-10-23 at 4.11.39 pm.jpg
    Screen Shot 2020-10-23 at 4.11.39 pm.jpg
    59.3 KB · Views: 243

anchen

Dabbler
Joined
May 3, 2020
Messages
19
I also put
if_qlxgb_load Yes as alot places on the internet recommended, but that does not help.
 

Attachments

  • Screen Shot 2020-10-23 at 4.18.26 pm.jpg
    Screen Shot 2020-10-23 at 4.18.26 pm.jpg
    5.7 KB · Views: 232

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
What is dmesg | grep ql telling you about the handling of that second port at startup?
 

anchen

Dabbler
Joined
May 3, 2020
Messages
19
What is dmesg | grep ql telling you about the handling of that second port at startup?

Hi @sretalla , Thank you. here is the output, seems like the error is can not map to any port?

Code:
anchen@FreeNAS:~ % dmesg | grep ql
ql0: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xf0a00000-0xf0bfffff,0xfe890000-0xfe89ffff irq 35 at device 0.0 on pci3
ql0: qla_pci_attach: firmware[4.18.4.1416424604]
ql0: Ethernet address: 00:0e:1e:37:1b:f8
ql1: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xfe880000-0xfe88ffff irq 35 at device 0.1 on pci3
ql1: 0x200000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff).
ql1: unable to map any ports
device_attach: ql1 attach returned 6
ql1: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xfe880000-0xfe88ffff irq 35 at device 0.1 on pci3
ql1: 0x200000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff).
ql1: unable to map any ports
device_attach: ql1 attach returned 6
ql1: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xfe880000-0xfe88ffff irq 35 at device 0.1 on pci3
ql1: 0x200000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff).
ql1: unable to map any ports
device_attach: ql1 attach returned 6
ql1: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xfe880000-0xfe88ffff irq 35 at device 0.1 on pci3
ql1: 0x200000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff).
ql1: unable to map any ports
device_attach: ql1 attach returned 6
anchen@FreeNAS:~ %
 

anchen

Dabbler
Joined
May 3, 2020
Messages
19
I know the card is not faulty because when i put the card on my xcp-ng xen server, it was showing 2 ports mapped correctly and working.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Is this a genuine QLogic card or an HP NC523SFP? It appears to be a CNA (converged network adapter) so updating the firmware is always a potential fix here.

It looks like it's not able to map memory for the second port - I wonder if fiddling with the MSI/MSI-X tunables would solve it.

When you put this card in your XCP-NG server, can you get the dmesg output from the same command?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
I know the card is not faulty because when i put the card on my xcp-ng xen server, it was showing 2 ports mapped correctly and working.

The Qlogic cards are known to be quirky under FreeBSD, especially the HP versions. Rather than buying hardware and then hoping it will work with FreeNAS, it is generally better to purchase gear that is known to be well-supported. There is extensive discussion of well-supported cards in the 10 Gig Networking Primer. The Chelsio T520-CR and Intel X520-{SR,DA}{1,2} are both respectable cards. The ConnectX cards have also been a workable option for people with some caveats.

The qlxgb driver was written by and is supported by Qlogic. You might also try contacting them as suggested in the manual page, <support@qlogic.com>
 

anchen

Dabbler
Joined
May 3, 2020
Messages
19
Thanks all.Yep, I bought this card as the refur dell parts because cheap... only cost me AUD $35 ( include shipping )..... so I guess I will have a try source another proper one which less trouble for FreeNAS. I will try if single port works, it would resolve my issue as well. ( i do not really need dual 10G at home... hmm. maybe not. :wink:)
 
Top