From owner-freebsd-arm@freebsd.org Sun Dec 8 19:22:01 2019 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 114871EE639 for ; Sun, 8 Dec 2019 19:22:01 +0000 (UTC) (envelope-from rebecca@bsdio.com) Received: from muon.bsdio.com (muon.bluestop.org [65.103.231.193]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47WGRD2W8Cz3H0H for ; Sun, 8 Dec 2019 19:21:59 +0000 (UTC) (envelope-from rebecca@bsdio.com) Received: from muon.bsdio.com (localhost [127.0.0.1]) by muon.bsdio.com (Postfix) with ESMTP id 608E38FAE4; Sat, 7 Dec 2019 22:31:40 -0700 (MST) Received: from muon.bsdio.com ([127.0.0.1]) by muon.bsdio.com (muon.bsdio.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gmSJa3K8m3b8; Sat, 7 Dec 2019 22:31:39 -0700 (MST) Received: from [10.0.10.112] (unknown [10.0.10.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by muon.bsdio.com (Postfix) with ESMTPSA; Sat, 7 Dec 2019 22:31:39 -0700 (MST) Subject: Re: ThunderX Networking To: Marcel Flores , freebsd-arm@freebsd.org References: <340B43A0-8E12-4F8C-A7F0-844BF8A55DB8@brickporch.com> From: Rebecca Cran Message-ID: <883e0aae-5685-dad0-b75b-eadfbab6e6ae@bsdio.com> Date: Sat, 7 Dec 2019 22:29:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 47WGRD2W8Cz3H0H X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of rebecca@bsdio.com has no SPF policy when checking 65.103.231.193) smtp.mailfrom=rebecca@bsdio.com X-Spamd-Result: default: False [-2.89 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[bsdio.com]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.103.224.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-1.79)[ip: (-8.46), ipnet: 65.103.224.0/19(-0.47), asn: 209(0.01), country: US(-0.05)] 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: Sun, 08 Dec 2019 19:22:01 -0000 On 12/7/19 4:41 PM, Marcel Flores wrote: > Took another look at the this. It seems the issue arose in this commit: > https://reviews.freebsd.org/rS334880 > > Manually removing the additional check and building a kernel allowed it to > match the PHY device. > > Following the steps outlined here: > > https://lists.freebsd.org/pipermail/freebsd-arm/2015-November/012612.html > > and was able to get the onboard NIC working. > > > This feels very much like a bug in the check logic of rS334880 to me, but > I admit I'm out of my depth on what exactly it's checking for. Interesting - thanks! I'd stopped using my ThunderX machine because of the frustration of not having the technical SoC documentation from Cavium I thought I needed to fix issues like this. -- Rebecca Cran