QLogic 4100 NIC not working

Polako13

Member
Jun 24, 2022
3
1
8
Hi,


We have a problem with the drivers for the Qlogic FastLinQ 41000 Series card. The version 8.42 installed on Proxmox 7.3 does not work with this card:

Code:
# modinfo qed
filename:       /lib/modules/5.15.74-1-pve/kernel/drivers/net/ethernet/qlogic/qed/qed.ko
firmware:       qed/qed_init_values_zipped-8.42.2.0.bin
license:        GPL
description:    QLogic FastLinQ 4xxxx Core Module
srcversion:     1342AE7488505B4D35C3D7A
depends:        crc8
retpoline:      Y
intree:         Y
name:           qed
vermagic:       5.15.74-1-pve SMP mod_unload modversions

dmesg sends the following error message:

Code:
[   12.233982] qede init: QLogic FastLinQ 4xxxx Ethernet Driver qede
[   12.234261] [qed_init_pci:319()]No memory region found in bar #0
[   12.234324] [qed_probe:539()]init pci failed
[   12.234329] ehci-pci 0000:61:00.4: EHCI Host Controller
[   12.234340] ehci-pci 0000:61:00.4: new USB bus registered, assigned bus number 1
[   12.234610] [qed_init_pci:319()]No memory region found in bar #0
[   12.234669] [qed_probe:539()]init pci failed

I tested with CentOS 9 with driver 8.59 it works :

Code:
# modinfo qed
filename:       /lib/modules/5.14.0-282.el9.x86_64/kernel/drivers/net/ethernet/qlogic/qed/qed.ko.xz
firmware:       qed/qed_init_values_zipped-8.59.1.0.bin
license:        GPL
description:    QLogic FastLinQ 4xxxx Core Module
rhelversion:    9.2
srcversion:     E90F548D7F7C781DF9A3940
depends:        crc8
retpoline:      Y
intree:         Y
name:           qed
vermagic:       5.14.0-282.el9.x86_64 SMP preempt mod_unload modversions
sig_id:         PKCS#7
signer:         CentOS Stream kernel signing key
sig_key:        2E:D6:D8:E5:50:FE:6F:D0:56:20:42:A1:F0:9B:88:AD:40:33:CD:32
sig_hashalgo:   sha256
signature:      1A:69:21:50:0C:73:FC:F5:61:5A:6B:98:FB:F1:3B:2C:E8:5D:3B:79:
       80:F1:57:84:9E:24:21:35:90:04:2C:38:E4:15:F9:4B:EB:4D:BA:20:
       56:41:70:D4:2C:41:E2:BB:10:8C:86:9D:8D:3C:31:69:31:AD:11:6F:
       43:B3:7A:97:28:B0:FB:3A:4F:07:B0:08:85:42:20:5A:36:15:C1:C2:
       4C:95:D4:FE:F3:C1:27:61:36:CD:7C:5A:56:1B:24:C2:8F:FA:83:7C:
       59:76:56:F0:7B:AE:DA:EA:CC:B0:A5:CF:6B:86:7F:65:33:24:B8:37:
       3E:19:EB:1A:71:3C:51:BD:31:3F:3E:E2:57:E5:A3:1A:1A:DC:08:EB:
       27:01:3F:76:93:13:42:0B:28:B5:6A:A7:6E:14:60:89:A6:ED:73:D8:
       B6:7B:DA:5B:33:2F:C0:5D:56:06:83:66:38:EA:2E:27:AE:4D:F7:6C:
       87:54:36:D1:1A:5F:F0:12:68:51:4D:8F:31:3E:CB:71:5B:18:34:EB:
       C5:9E:39:6A:71:B1:F3:95:D6:A8:76:30:31:7E:7F:2D:37:85:04:7D:
       82:A3:FD:92:D5:31:C9:DE:1B:83:0C:63:9F:15:49:A2:77:84:08:D8:
       0C:A0:16:C9:DF:37:A7:F7:9E:0B:14:A4:6A:30:FF:EC:55:AC:8F:B8:
       AE:71:96:26:FC:9B:C8:EC:8B:06:57:B8:5C:CC:7F:CA:F4:B4:49:33:
       59:3A:85:57:A5:1C:9D:68:01:16:34:B0:5D:C2:01:5E:C7:D3:78:AE:
       42:39:E9:C2:A6:15:01:25:D0:99:90:D9:05:DA:BF:58:01:5C:4A:E5:
       56:94:9D:5F:55:38:B7:88:E0:CD:DC:1C:5C:BB:DC:C8:2C:3D:39:5B:
       37:A6:B9:59:01:DC:3C:38:59:D7:9F:2D:FB:92:44:67:45:A7:40:5C:
       77:B8:9D:E3:F1:AC:B3:76:15:5F:3B:C5:F0:A0:09:13:CF:8F:98:CA:
       FB:88:22:37

I also tried to compile the drivers available on the Marvell site but it doesn't work either with the same error in dmesg.

Do you have any ideas on how to make this card work?

Thank you !
 
Hi,

Could you also provide the output of pveversion -v?
Most interesting here is probably the pve-firmware package, as your system seems to only have an older version of the firmware for this card (8.42.2, while on CentOS it is on 8.59). A newer firmware might fix your problem, esp. if it works under CentOS otherwise.

filename: /lib/modules/5.15.74-1-pve/kernel/drivers/net/ethernet/qlogic/qed/qed.ko
Seeing this, I'd suggest upgrading to the latest 5.15.84 kernel first and seeing if this fixes it.
Another thing you could try is installing the opt-in 6.1 kernel.

Hope this helps!
 
Thanks for your answer,

At the moment I'm testing with Debian 11.6 on this machine, so I won't be able to provide the pveversion output -v
It's an HPC server with GPUs, I tried to disable the GPUs in the BIOS, when they are disabled I can see the network card. So maybe it's not a driver problem. There must be a problem with the PCIe port management.
I will test anyway with kernel 6.1
 
Maybe something, maybe not: Try setting explicit mtu1500 (auto mtu1500 does not work!) and reboot the host after every change of any network settings.

I have some HP-branded qlogic 10G NICs, they have still this bug in the firmware and this is the only workaround. Same on FreeBSD.
 
The problem comes from the HPE BIOS configuration on the server. In order for the NVIDIA graphics cards and the Qlogic FastLinQ 41000 card to work, the Workload Profiles must be set to Virtualization - Max Performance or Virtualization - Power Efficient. By default it is configured with the High Performance Compute profile which causes problems...
 
  • Like
Reactions: mr44er

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!