From owner-freebsd-arm@freebsd.org Sat Jan 18 00:58:10 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1331B1FFCEB for ; Sat, 18 Jan 2020 00:58:10 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48000c4hbvz4KZ8 for ; Sat, 18 Jan 2020 00:58:07 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sat, 18 Jan 2020 00:58:06 +0000 Received: from [127.0.0.1] (broadband-37.204-145-186.ip.moscow.rt.ru [37.204.145.186]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id C4ACD940-2CFB-4E69-9C7D-F110D4E751D9.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sat, 18 Jan 2020 00:58:05 +0000 Date: Sat, 18 Jan 2020 00:58:03 +0000 (UTC) From: Greg V To: John F Carr Cc: "freebsd-arm@freebsd.org" Message-ID: <12dc327c-064f-4818-addc-31d861cfffdd@localhost> In-Reply-To: <057A51DA-024A-4B4D-9B99-C9298D446E99@exchange.mit.edu> References: <8C2F97F8-A504-4521-BF2C-4E86ABFB6F34@exchange.mit.edu> <057A51DA-024A-4B4D-9B99-C9298D446E99@exchange.mit.edu> Subject: Re: Mellanox ethernet in Ampere eMAG system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <12dc327c-064f-4818-addc-31d861cfffdd@localhost> DKIM-Signature: v=1; a=rsa-sha256; bh=gVLWk098AE16vkc4ee9VMp19NsjoENZuFY0PqAGI7VQ=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=judBgEDh6/uAaUebnK677PN0/PVAuaDrX32yY/5PJ3a7L3JmusqBQDs4lCcnqHqnV11ML0UhX7N7FXkkVVEZZ9xdmmRsk7t6Stf4udke28oNLR1+16y+iMBNLlDq3P0kpxOEhgOcH3nI4DQRVYW42qs+VitdME1hh/ku53b8Utc= X-Rspamd-Queue-Id: 48000c4hbvz4KZ8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=judBgEDh; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-4.29 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-1.79)[ip: (-9.79), ipnet: 91.121.0.0/16(-1.23), asn: 16276(2.07), country: FR(0.00)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; RECEIVED_SPAMHAUS_PBL(0.00)[186.145.204.37.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jan 2020 00:58:10 -0000 Jan 18, 2020 2:35:50 AM John F Carr : >=20 > On Jan 17, 2020, at 18:31 , John F Carr wrote: >=20 >=20 > >=20 > > 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 a= s mlx5, and FreeBSD has a driver by that name in sys/dev/mlx5. Is there a f= ile I need to tweak to get a driver bound? > >=20 > >=20 >=20 >=20 >=20 >=20 > Further information. I should have tried this before emailing. kldload ml= x5 generates kernel messages: >=20 >=20 [=E2=80=A6] >=20 > but ifconfig does not report any new devices. >=20 >=20 Well, you didn't load the Ethernet driver. Just load mlx5en, mlx5 is the co= re dependency shared by mlx5en and mlx5ib, you shouldn't need to load it ma= nually. >=20 > So why doesn't module mlx5 load automatically? >=20 >=20 Because no one added pnp info or whatever that's called I guess. >=20 > And what are the ifconfig device names? >=20 >=20 IIRC it's mceN.