From nobody Thu Feb 10 21:19:44 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 520D019BD193 for ; Thu, 10 Feb 2022 21:19:48 +0000 (UTC) (envelope-from SRS0=wOOK=SZ=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 4JvqQC2jCXz4gb3; Thu, 10 Feb 2022 21:19:47 +0000 (UTC) (envelope-from SRS0=wOOK=SZ=klop.ws=ronald-lists@realworks.nl) Date: Thu, 10 Feb 2022 22:19:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1644527984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qtCidS8VIGRuWn7g8OYa31iTH5+E+Ou/sRUlDbgUGL0=; b=jp55IjW8uG2ugzRDMIMNzpKyarBZ7FkGZaI/OQ1iqRMjvIaeMAtO6lD0UYaOF2zkIz1a21 5EXwlEbXdQJPfJ8OSS/zIAmK9C6a9xSq6LNQcFkFKebUPdfYxyG7sdpfNLwNjMK3oDSaFF vPOJSVMHsl0aisckTyXmjdiM6rLsuAUg9aMfTvsNzAPhVd7xEgAjvxjmgGkrOksTzuHzX2 fFmMhgaR4oeD5K7wI7JeER6XWVuiL1Vxho8SilP2QRWOwBDkCtX4cR+X58q6X3w4ouot3o ekuvLIzqeTpY0B7nyVIh6Jov66Ua4fsRWUAMK9jLJovGHvdUFMYd+aNjdJevhg== From: Ronald Klop To: Philip Paeps Cc: clusteradm@freebsd.org, Ports Management Team , freebsd-arm@freebsd.org Message-ID: <787825862.6.1644527984584@mailrelay> In-Reply-To: <55D4000E-2691-442D-9E46-E1966750344A@freebsd.org> References: <1365005114.369.1643120837534@localhost> <993C6A92-7412-4426-903C-A2214B8A8031@freebsd.org> <55D4000E-2691-442D-9E46-E1966750344A@freebsd.org> Subject: Re: aarch64 build cluster and linux64.ko List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5_1780688122.1644527984500" X-Mailer: Realworks (596.80.96c7f06) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4JvqQC2jCXz4gb3 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=jp55IjW8; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of "SRS0=wOOK=SZ=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=wOOK=SZ=klop.ws=ronald-lists@realworks.nl" X-Spamd-Result: default: False [-3.20 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-arm]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=wOOK=SZ=klop.ws=ronald-lists@realworks.nl]; RCVD_COUNT_ZERO(0.00)[0]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=wOOK=SZ=klop.ws=ronald-lists@realworks.nl] X-ThisMailContainsUnwantedMimeParts: N Status: O Content-Length: 7127 Lines: 133 ------=_Part_5_1780688122.1644527984500 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: Philip Paeps Datum: maandag, 31 januari 2022 04:15 Aan: Ronald Klop CC: clusteradm@freebsd.org, freebsd-arm@freebsd.org, Ports Management Team Onderwerp: Re: aarch64 build cluster and linux64.ko > > On 2022-01-26 08:58:20 (+0800), Philip Paeps wrote: > > On 2022-01-25 22:27:17 (+0800), Ronald Klop wrote: > >> Currently the packages depending on linux_base-c7 can not be >> pre-build on the package cluster because the kernel does not have >> linux64.ko loaded. > >> > >> See: >> http://www.ipv6proxy.net/go.php?u=http%3A%2F%2Fampere2.nyi.freebsd.org%2Fdata%2Fmain-arm64-default%2Fpd8f8cc3a8823_s4f0e50b293%2Flogs%2Ferrors%2Flinux-c7-libpng-1.5.13_3.log&b=0&f=norefer > >> ======================= >> >============================ > >> ===> linux-c7-libpng-1.5.13_3 depends on package: >> linux_base-c7>=7.6.1810_7 - not found > >> ===> Installing existing package >> /packages/All/linux_base-c7-7.9.2009.pkg > >> [main-arm64-default-job-01] Installing linux_base-c7-7.9.2009... > >> Cannot install package: kernel missing 64-bit Linux support > >> pkg-static: PRE-INSTALL script failed > >> > >> > >> Is it possible to have linux64.ko loaded on the pkg builders so the >> aarch64 packages will be more complete? > >> > >> At least on my rpi4/aarch64 poudriere I could build pkg >> linux-c7-libpng with linux64.ko loaded. > > > > We can include linux64.ko in the next cluster build for aarch64. I'll > try to find time for another cluster refresh. It's been a while since > the last one. > > I've upgraded one of the package builders (ampere1.nyi.freebsd.org) with a build including linux64.ko. The module seems to load. portmgr might need to do something to the builds to actually use it though. > > I'll upgrade the other aarch64 package builder when it finishes its current build. > > Philip > > -- > Philip Paeps > Senior Reality Engineer > Alternative Enterprises > > > Hi, Ampere1 as well as ampere2 are upgraded but I do not see the effect of linux64.ko being loaded. e.g. http://ampere2.nyi.freebsd.org/data/main-arm64-default/p4970d39a547c_s511b83b167/logs/errors/linux-c7-lz4-1.8.3.log : =================================================== ===> linux-c7-lz4-1.8.3 depends on package: linux_base-c7>=7.6.1810_7 - not found ===> Installing existing package /packages/All/linux_base-c7-7.9.2009.pkg [main-arm64-default-job-13] Installing linux_base-c7-7.9.2009... Cannot install package: kernel missing 64-bit Linux support pkg-static: PRE-INSTALL script failed I can easily reproduce this error on my local poudriere by not loading the module linux64.ko. If it is loaded the linux-c7-* ports build fine. Having this fixed will give quite a lot less failed+skipped ports on aarch64. Who can I ask to check this? Regards, Ronald. ------=_Part_5_1780688122.1644527984500 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit  

Van: Philip Paeps <philip@freebsd.org>
Datum: maandag, 31 januari 2022 04:15
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: clusteradm@freebsd.org, freebsd-arm@freebsd.org, Ports Management Team <portmgr@freebsd.org>
Onderwerp: Re: aarch64 build cluster and linux64.ko

On 2022-01-26 08:58:20 (+0800), Philip Paeps wrote:
> On 2022-01-25 22:27:17 (+0800), Ronald Klop wrote:
>> Currently the packages depending on linux_base-c7 can not be >> pre-build on the package cluster because the kernel does not have >> linux64.ko loaded.
>>
>> See: >> http://www.ipv6proxy.net/go.php?u=http%3A%2F%2Fampere2.nyi.freebsd.org%2Fdata%2Fmain-arm64-default%2Fpd8f8cc3a8823_s4f0e50b293%2Flogs%2Ferrors%2Flinux-c7-libpng-1.5.13_3.log&b=0&f=norefer
>> =======================<phase: run-depends    
>> >============================
>> ===>   linux-c7-libpng-1.5.13_3 depends on package: >> linux_base-c7>=7.6.1810_7 - not found
>> ===>   Installing existing package >> /packages/All/linux_base-c7-7.9.2009.pkg
>> [main-arm64-default-job-01] Installing linux_base-c7-7.9.2009...
>> Cannot install package: kernel missing 64-bit Linux support
>> pkg-static: PRE-INSTALL script failed
>>
>>
>> Is it possible to have linux64.ko loaded on the pkg builders so the >> aarch64 packages will be more complete?
>>
>> At least on my rpi4/aarch64 poudriere I could build pkg >> linux-c7-libpng with linux64.ko loaded.
>
> We can include linux64.ko in the next cluster build for aarch64.  I'll > try to find time for another cluster refresh.  It's been a while since > the last one.

I've upgraded one of the package builders (ampere1.nyi.freebsd.org) with a build including linux64.ko.  The module seems to load.  portmgr might need to do something to the builds to actually use it though.

I'll upgrade the other aarch64 package builder when it finishes its current build.

Philip

-- 
Philip Paeps
Senior Reality Engineer
Alternative Enterprises


Hi,

Ampere1 as well as ampere2 are upgraded but I do not see the effect of linux64.ko being loaded.

e.g. http://ampere2.nyi.freebsd.org/data/main-arm64-default/p4970d39a547c_s511b83b167/logs/errors/linux-c7-lz4-1.8.3.log :
=======================<phase: run-depends    >============================
===>   linux-c7-lz4-1.8.3 depends on package: linux_base-c7>=7.6.1810_7 - not found
===>   Installing existing package /packages/All/linux_base-c7-7.9.2009.pkg
[main-arm64-default-job-13] Installing linux_base-c7-7.9.2009...
Cannot install package: kernel missing 64-bit Linux support
pkg-static: PRE-INSTALL script failed

I can easily reproduce this error on my local poudriere by not loading the module linux64.ko. If it is loaded the linux-c7-* ports build fine.
Having this fixed will give quite a lot less failed+skipped ports on aarch64.
Who can I ask to check this?

Regards,
Ronald.
  ------=_Part_5_1780688122.1644527984500--