Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [BUG report] rdma-ndd: wrong NodeDescription for second device
@ 2020-06-17 11:04 Vladimir Chukov
  2020-06-17 11:17 ` Leon Romanovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Chukov @ 2020-06-17 11:04 UTC (permalink / raw)
  To: linux-rdma

Description: rdma-ndd sets correct NodeDescription for device which
was initialised first; for the second device description in sysfs is
set correctly, but saquery  to that node  will return default
"NodeDescription.........MT4119 ConnectX5   Mellanox Technologies"

How to reproduce: initramfs-tools 0.130+ (default for buster) - loads
mlx5_core/mlx5_ib in initramfs, ports 1 and 2 are connected to
different fabrics (not to the same switch), as a result very close gap
between mlx5_0 and mlx5_1 netlink events. Then use saquery <lid of the
second port> -C mlx5_1

Workarounds: blacklist mlx5_core and mlx5_ib in initramfs OR connect
both ports to the same fabric OR restart OpenSM (will re-read sysfs)
Non-effective workarounds: systemd rdma-ndd.timer, systemd rdma-ndd
ExecStartPre sleep

Information about your system:
Linux distribution and version: Debian 10.1
Linux kernel and version: 4.19.118-2+deb10u1
InfiniBand hardware and firmware version: MT4119, 16.27.2008
OpenSM version: 3.3.20, 3.3.21

--
Vladimir

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-17 11:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-17 11:04 [BUG report] rdma-ndd: wrong NodeDescription for second device Vladimir Chukov
2020-06-17 11:17 ` Leon Romanovsky
2020-06-17 11:19   ` Vladimir Chukov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox