Mst ib add errs with "name 'mtcr' is not defined"

Hello,

in a fabric with several unmanaged QM87xx, from a a host with ConnectX6 HCA, I’ve tried to get in-band access to the switches (which worked two years ago) in order to remove split-port mode for a port I’ve set it on 2 years ago.

However, currently, the `mst ib add`command keeps failing like

# mst ib add
-I- Discovering the fabric - Running: ibdiagnet
-E- name ‘mtcr’ is not defined
-I- Added 0 in-band devices

The same error happens in other environments (different fabrics) where it also used to work years ago but with about the same current FW/SW levels:

RHEL8

# mst version
mst, mft 4.30.1-113, built on Feb 18 2025, 11:08:27. Git SHA Hash: N/A

Cx6 HCA:

# mlxfwmanager --query
Querying Mellanox devices firmware ...

Device #1:
----------

  Device Type:      ConnectX6
  Part Number:      MCX653106A-ECA_Ax
  Description:      ConnectX-6 VPI adapter card; H100Gb/s (HDR100; EDR IB and 100GbE); dual-port QSFP56; PCIe3.0 x16; tall bracket; ROHS R6
  PSID:             MT_0000000224
  PCI Device Name:  /dev/mst/mt4123_pciconf0
  Base GUID:        e8ebd30300589334
  Versions:         Current        Available     
     FW             20.43.2566     N/A           
     PXE            3.7.0500       N/A           
     UEFI           14.37.0013     N/A           

  Status:           No matching image found

[...]

The string ‘mtcr’ is not contained in the output of the `ibdiagnet`command:

# ibdiagnet | grep mtcr | wc -l
0

How can I get rid of the error?

Thx

Uwe

我也是这个版本的mst遇见过这个问题,你可以更新一下MFT的版本 谢谢!