From owner-freebsd-stable@freebsd.org Tue Mar 30 19:01:29 2021 Return-Path: Delivered-To: freebsd-stable@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 DFC6E5A9FCA for ; Tue, 30 Mar 2021 19:01:29 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8zLx15Vdz598t for ; Tue, 30 Mar 2021 19:01:28 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 304C726001B; Tue, 30 Mar 2021 21:01:26 +0200 (CEST) Subject: Re: qlnxe driver not in 13.0 arm64 To: Daniel Morante , freebsd-stable References: <91b9a597-8089-76cc-061d-84c29afc2a26@morante.net> <20210330183144.GN14975@funkthat.com> From: Hans Petter Selasky Message-ID: Date: Tue, 30 Mar 2021 21:00:15 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210330183144.GN14975@funkthat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F8zLx15Vdz598t X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-2.86 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:c17:6c4b::2:from]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2a01:4f8:c17:6c4b::2:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.56)[-0.560]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable]; RCVD_COUNT_TWO(0.00)[2] X-Mailman-Approved-At: Wed, 31 Mar 2021 08:47:00 +0000 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 19:01:29 -0000 On 3/30/21 8:31 PM, John-Mark Gurney wrote: > Daniel Morante via freebsd-stable wrote this message on Sun, Mar 28, 2021 at 03:23 -0400: >> I installed 13.0-RC3 ARM64 from the DVD ISO image >> (FreeBSD-13.0-BETA4-arm64-aarch64-dvd1.iso >> ). >> There is no "if_qlnxe" kernel model present on the install media, or on >> the system after installing. >> >> Next I try to build a custom kernel. I add "device qlnxe" to the >> configuration file as instructed in >> https://www.freebsd.org/cgi/man.cgi?query=qlnxe&manpath=FreeBSD+13.0-current. >> >> >> Running "make buildkernel KERNCONF=THUNDERX2" results in: >> >> config: Error: device "qlnxe" is unknown >> >> Is this module not available for ARM64 architecture? > > Correct, this is only available for amd64. > > HPS might have some more insight as to why it's amd64 only. > > I have cc'd him. > > It could be as simple as moving the qlnxe lines from files.amd64 to files, > but it does appear that qnlxe depends upon the Linux compat layer, which > may not be complete for arm64.. > The LinuxKPI works for ARM64 aswell. Maybe the QLNXE driver is not tested for ARM64. --HPS