Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Holger Kiehl <Holger.Kiehl@dwd.de>
Cc: Jason Gunthorpe <jgg@ziepe.ca>,
	linux-rdma@vger.kernel.org,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: failed to allocate device WQ
Date: Tue, 24 Dec 2024 11:47:27 +0200	[thread overview]
Message-ID: <20241224094727.GD171473@unreal> (raw)
In-Reply-To: <8328f0ab-fbd8-5d43-fbb3-f2954ccbd779@praktifix.dwd.de>

On Fri, Dec 20, 2024 at 05:10:32PM +0000, Holger Kiehl wrote:
> 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": -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?

It is not related to the FW but to how your system loads kernel modules.

This merged PR in rdma-core probably fixes it.
* Ensure RDMA service loads modules in initrd - https://github.com/linux-rdma/rdma-core/pull/1481

Thanks

> 
> Regards,
> Holger
> 
> PS: Firmware for both cards is 20.41.1000

  parent reply	other threads:[~2024-12-24  9:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-20 17:10 failed to allocate device WQ Holger Kiehl
2024-12-21  8:37 ` Zhu Yanjun
2024-12-21 13:16   ` Holger Kiehl
2024-12-25  5:11   ` Joe Klein
2024-12-24  9:47 ` Leon Romanovsky [this message]
2024-12-24 14:28   ` Holger Kiehl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241224094727.GD171473@unreal \
    --to=leon@kernel.org \
    --cc=Holger.Kiehl@dwd.de \
    --cc=jgg@ziepe.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox