Re: failed to allocate device WQ
From: Holger Kiehl
Date: Sat Dec 21 2024 - 08:16:44 EST
On Sat, 21 Dec 2024, Zhu Yanjun wrote:
> 在 2024/12/20 18:10, Holger Kiehl 写道:
> > Hello,
> >
> > since upgrading from kernel 6.10 to 6.11 (also 6.12) one Infiniband
> > card sometimes hits this error:
> >
> > kernel: workqueue: Failed to create a rescuer kthread for wq "ipoib_wq":
> > kernel: -EINTR
> > kernel: ib0: failed to allocate device WQ
> > kernel: mlx5_1: failed to initialize device: ib0 port 1 (ret = -12)
> > kernel: mlx5_1: couldn't register ipoib port 1; error -12
> >
> > The system has two cards:
> >
> > 41:00.0 Infiniband controller: Mellanox Technologies MT28908 Family
> > [ConnectX-6]
> > c4:00.0 Infiniband controller: Mellanox Technologies MT28908 Family
> > [ConnectX-6]
> >
> > If that happens one cannot use that card for TCP/IP communication. It does
> > not always happen, but when it does it always happens with the second
> > card mlx5_1. Never with mlx5_0. This happens on four different systems.
> >
> > Any idea what I can do to stop this from happening?
> >
> > Regards,
> > Holger
> >
> > PS: Firmware for both cards is 20.41.1000
>
> It is very possible that FW is not compatible with the driver. IMO, you can
> make tests with Mellanox OFED.
>
Thanks, I did not know there was another driver.
I just had a look, but since I build my own kernels via 'make
binrpm-pkg' and then distribute them, this seems a to big hurdle to
overcome for me.
> If the driver is compatible with FW, this problem should disappear.
>
Actually the firmware has always been 20.39.1002 and after the
problems appeared I have upgraded to 20.41.1000, hoping it will
solve the problem.
Regards,
Holger