Occure mlx5_core :" failed to allocate command entry" with MCX4421A-ACAN in Ubtuntu 18.04.1

Hi,

When I boot into Ubtuntu 18.04.1(kernel 4.15.0-42), and install MCX4421A on the BUS:86

It will find many duplicated fail message with command “dmesg”.

Here is the fail message:

mlx5_core 0000:86:00.0: cmd_work_handler:843:(pid 3265): failed to allocate command entry

mlx5_core 0000:86:00.0: cmd_work_handler:843:(pid 3265): failed to allocate command entry

mlx5_core 0000:86:00.0: cmd_work_handler:843:(pid 3265): failed to allocate command entry

Q1. Is this the normal situation? How to explain it?

Q2. If not, how should I fix it fail message?

Please help me to clarify it!

Hi Willy,

Can you please let me know what is the driver and Firmware version you are using?

A. Driver info

#[ofed_info -s]​

B. FW info

#[mst start]​

#[mst status]​ (To get mst device name)

#flint -d q

Thanks,

Namrata.

Hi Willy,

It would be great if you could verify if the driver and firmware on the card is latest. We have had few fixes related to memory in latest software. The latest OFED version is 4.5.1.0.1.0 and latest firmware for the card is 14.24.1000. If you are already running the latest software, it would be great if you could open a case at support@mellanox.com for further debug.

Hi Namrata,

Very sorry for the late response.

I check our FW and driver version as below:

Lan Card: MCX4421A-ACAN

Lan Driver: 4.5-1.0.1

Lan FW: 14.24.1000

It the latest version as you suggest.

As my mind, this issue is mlx5_core occur with allocating memory.

And I also find this log in CRB with the same Lan card and OS.

So I think there have some bug in FW, driver or OS kernel.

Please help us to clarify it, thank!!