Mellanox ethernet in Ampere eMAG system

John F Carr jfc at mit.edu
Fri Jan 17 23:35:39 UTC 2020


On Jan 17, 2020, at 18:31 , John F Carr <jfc at mit.edu> wrote:
> 
> I am installing FreeBSD CURRENT on an Ampere eMAG (Lenovo HR330A).  The kernel can't find a driver for two of the ethernet ports.  Linux sees them as mlx5, and FreeBSD has a driver by that name in sys/dev/mlx5.  Is there a file I need to tweak to get a driver bound?
> 
> pciconf reports
> 
> none0 at pci0:1:0:0:	class=0x020000 rev=0x00 hdr=0x00 vendor=0x15b3 device=0x1015 subvendor=0x15b3 subdevice=0x0057
>    vendor     = 'Mellanox Technologies'
>    device     = 'MT27710 Family [ConnectX-4 Lx]'
>    class      = network
>    subclass   = ethernet
> none1 at pci0:1:0:1:	class=0x020000 rev=0x00 hdr=0x00 vendor=0x15b3 device=0x1015 subvendor=0x15b3 subdevice=0x0057
>    vendor     = 'Mellanox Technologies'
>    device     = 'MT27710 Family [ConnectX-4 Lx]'
>    class      = network
>    subclass   = ethernet
> 
> dmesg reports
> 
> pcib1: <PCI-PCI bridge> at device 0.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <network, ethernet> at device 0.0 (no driver attached)
> pci1: <network, ethernet> at device 0.1 (no driver attached)
> 

Further information.   I should have tried this before emailing.  kldload mlx5 generates kernel messages:

mlx5_core0: <mlx5_core> mem 0x14082000000-0x14083ffffff at device 0.0 on pci1
mlx5_core0: INFO: mlx5_port_module_event:696:(pid 12): Module 0, status: unplugged
mlx5_core1: <mlx5_core> mem 0x14080000000-0x14081ffffff at device 0.1 on pci1
mlx5_core1: INFO: mlx5_port_module_event:696:(pid 12): Module 1, status: unplugged

but ifconfig does not report any new devices.

So why doesn't module mlx5 load automatically?  And what are the ifconfig device names?



More information about the freebsd-arm mailing list