Date: Fri, 17 Jan 2020 23:35:36 +0000 From: John F Carr <jfc@mit.edu> To: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Mellanox ethernet in Ampere eMAG system Message-ID: <057A51DA-024A-4B4D-9B99-C9298D446E99@exchange.mit.edu> In-Reply-To: <8C2F97F8-A504-4521-BF2C-4E86ABFB6F34@exchange.mit.edu> References: <8C2F97F8-A504-4521-BF2C-4E86ABFB6F34@exchange.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 17, 2020, at 18:31 , John F Carr <jfc@mit.edu> wrote: >=20 > I am installing FreeBSD CURRENT on an Ampere eMAG (Lenovo HR330A). The k= ernel can't find a driver for two of the ethernet ports. Linux sees them a= s 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? >=20 > pciconf reports >=20 > none0@pci0:1:0:0: class=3D0x020000 rev=3D0x00 hdr=3D0x00 vendor=3D0x15b3 = device=3D0x1015 subvendor=3D0x15b3 subdevice=3D0x0057 > vendor =3D 'Mellanox Technologies' > device =3D 'MT27710 Family [ConnectX-4 Lx]' > class =3D network > subclass =3D ethernet > none1@pci0:1:0:1: class=3D0x020000 rev=3D0x00 hdr=3D0x00 vendor=3D0x15b3 = device=3D0x1015 subvendor=3D0x15b3 subdevice=3D0x0057 > vendor =3D 'Mellanox Technologies' > device =3D 'MT27710 Family [ConnectX-4 Lx]' > class =3D network > subclass =3D ethernet >=20 > dmesg reports >=20 > 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) >=20 Further information. I should have tried this before emailing. kldload m= lx5 generates kernel messages: mlx5_core0: <mlx5_core> mem 0x14082000000-0x14083ffffff at device 0.0 on pc= i1 mlx5_core0: INFO: mlx5_port_module_event:696:(pid 12): Module 0, status: un= plugged mlx5_core1: <mlx5_core> mem 0x14080000000-0x14081ffffff at device 0.1 on pc= i1 mlx5_core1: INFO: mlx5_port_module_event:696:(pid 12): Module 1, status: un= plugged but ifconfig does not report any new devices. So why doesn't module mlx5 load automatically? And what are the ifconfig d= evice names?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?057A51DA-024A-4B4D-9B99-C9298D446E99>