[Bug 259748] Loading mlx4en kernel module hangs

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 10 Nov 2021 10:23:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259748

            Bug ID: 259748
           Summary: Loading mlx4en kernel module hangs
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: thj@FreeBSD.org

Loading mlx4en on CURRENT (main-n250453-7ac82c96fe7) hangs kldload. Pressing ^C
allows the module to continue and to load properly.

This happens from a shell and when loading the module using 'kld_list'

The mlx4en part of dmesg is:

mlx4_core0: <mlx4_core> mem 0xfce00000-0xfcefffff,0xe0000000-0xe07fffff irq 54
at device 0.0 on pci9
mlx4_core: Mellanox ConnectX core driver v3.7.0 (July 2021)
mlx4_core: Initializing mlx4_core
mlx4_core0: Unable to determine PCI device chain minimum BW
mlx4_en mlx4_core0: Activating port:1
mlxen0: Ethernet address: ec:0d:9a:e1:34:20
mlx4_en: mlx4_core0: Port 1: Using 16 TX rings
mlxen0: link state changed to DOWN
mlx4_en: mlx4_core0: Port 1: Using 16 RX rings
mlx4_en: mlxen0: Using 16 TX rings
mlx4_en: mlxen0: Using 16 RX rings
mlx4_en: mlxen0: Initializing port
mlx4_en mlx4_core0: Activating port:2
mlxen1: Ethernet address: ec:0d:9a:e1:34:21
mlx4_en: mlx4_core0: Port 2: Using 16 TX rings
mlxen1: link state changed to DOWN
mlx4_en: mlx4_core0: Port 2: Using 16 RX rings
mlx4_en: mlxen1: Using 16 TX rings
mlx4_en: mlxen1: Using 16 RX rings
mlx4_en: mlxen1: Initializing port
mlx4_en: mlxen1: Link Up
mlxen1: link state changed to UP
mlx4_en: mlxen0: Link Up
mlxen0: link state changed to UP

This happens on my Ryzen 3700X system, but happened previously on other
systems. 13-RELEASE doesn't have this problem

-- 
You are receiving this mail because:
You are the assignee for the bug.