Issue with Connectx-3 - Failed to query device current configuration

Hi All,

I’ve a connectx-3 with FW 2.42.5000, I’m trying to modify the config of the card however everytime I’m checking the configuration I got an Error to check the configuration on the card even after reseting the config too.

Any idea how to solve this problem?

flint -d /dev/mst/mt4099_pci_cr0 query

Image type: FS2

FW Version: 2.42.5000

FW Release Date: 5.9.2017

Product Version: 02.42.50.00

Rom Info: type=PXE version=3.4.752

Device ID: 4099

Description: Node Port1 Port2 Sys image

GUIDs: 0002c90300056aa8 0002c90300056aa9 0002c90300056aaa 0002c90300056aab

MACs: 0002c9a1a270 0002c9a1a271

VSD: VSD

PSID: MT_1170110023

# mlxconfig -d /dev/mst/mt4099_pciconf0 q

Device #1:

----------

Device type: ConnectX3

Device: /dev/mst/mt4099_pciconf0

Configurations: Next Boot

-E- Failed to query device current configuration

Hi Xavier,

Did you reset the configuration by running:

#mlxconfig -d /dev/mst/mt4099_pciconf0 reset

#reboot

#flint -d /dev/mst/mt4099_pciconf0 q

#mlxconfig -d /dev/mst/mt4099_pciconf0 q

Note: If this still does not work, you can reflash the FW:

#flint -d /dev/mst/mt4099_pciconf0 -i b

#reboot

Sophie.

hi

I have exactly the same problem with my ConnectX3 cards that I got second hand. They report (on Centos 7.5):

[root@lair ~]# mlxconfig -d /dev/mst/mt4099_pciconf0 q

Device #1:


Device type: ConnectX3

Device: /dev/mst/mt4099_pciconf0

Configurations: Next Boot

-E- Failed to query device current configuration

[root@lair ~]# flint -d /dev/mst/mt4099_pciconf0 q

Image type: FS2

FW Version: 2.42.5000

FW Release Date: 5.9.2017

Product Version: 02.42.50.00

Rom Info: type=PXE version=3.4.752

Device ID: 4099

Description: Node Port1 Port2 Sys image

GUIDs: 0012312312312345 0012312312312346 0012312312312347 0012312312312348

MACs: 0002c9a166c0 0002c9a166c1

VSD:

PSID: MT_1170110023

while mlxconfig reports:

[root@lair ~]# mlxconfig -d /dev/mst/mt4099_pciconf0 q

Device #1:


Device type: ConnectX3

Device: /dev/mst/mt4099_pciconf0

Configurations: Next Boot

-E- Failed to query device current configuration

The cards work great, but I would like to activate sr-iov on some of them.

I have reflashed the cards and tried to reset the cards:

[root@lair ~]# mlxconfig -d /dev/mst/mt4099_pciconf0 reset

Reset configuration for device /dev/mst/mt4099_pciconf0? ? (y/n) [n] : y

Applying… Done!

-I- Please reboot machine to load new configurations.

Nothing seems to allow me to read/write the configuration.

Is there anything I have missed?

Same issue here. We have exactly the same issue with multiple cards both on Windows as well as on Ubuntu 18.04:

Output from Windows:


C:\Program Files\Mellanox\WinMFT>mlxfwmanager.exe

Querying Mellanox devices firmware …

Device #1:


Device Type: ConnectX3

Part Number: MCX311A-XCA_Ax

Description: ConnectX-3 EN network interface card; 10GigE; single-port SFP+; PCIe3.0 x4 8GT/s; RoHS R6

PSID: MT_1170110023

PCI Device Name: mt4099_pci_cr0

Port1 MAC: 0002c9a1XXXX

Port2 MAC: 0002c9a1XXXX

Versions: Current Available

FW 2.42.5000 N/A

PXE 3.4.0752 N/A

Status: No matching image found

C:\Program Files\Mellanox\WinMFT>mlxconfig.exe -d mt4099_pciconf0 q

Device #1:


Device type: ConnectX3

Device: mt4099_pciconf0

Configurations: Next Boot

-E- Failed to query device current configuration

Reseting or Reflashing does not help. In addition, one can not change the settings via Flexboot.

Once I try to save the setting (e.g. after enabling SR-IOV) the following error message shortly is displayed on screen and nothing is saved:

Saving settings … Setting virt_mode couldn’t be saved - Permission denied (http://ipxe.org/027b403c)

Can you please help us? We need to use SR-IOV and are unable to do so, also the card generally works (also one can not change any settings 😞)

I am having the same problem under Arch, Ubuntu, Fedora Linux as well as multiple WIndows 10 versions across two Mellanox Connect-X 3 EN single ethernet port cards.

I tried firmware versions 2.42.5000 and 2.40.7000,

MFT versions 4.10, 4.7 with the respective OFED drivers.

I tried with mstflint tool package on all of the Linux distros above.

Nothing seems to work.