From nobody Tue Feb 15 08:32:33 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 8BD2C19C000A for ; Tue, 15 Feb 2022 08:32:41 +0000 (UTC) (envelope-from SRS0=6I0k=S6=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 4JyZ8m33WZz3mjD; Tue, 15 Feb 2022 08:32:40 +0000 (UTC) (envelope-from SRS0=6I0k=S6=klop.ws=ronald-lists@realworks.nl) Date: Tue, 15 Feb 2022 09:32:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1644913952; 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=tY8hKhVLsS8HmSUTZZK7UMPNniZkzV5X+/Qk5uw7NcU=; b=w4D15h98QscjT+VEYq2MeWwGTpOlJpIQqWV3i4HNE6Qw9C1w0mFiXvhA0Ml5CumWMK7sGd 8C0qusYrcJxzJXpx0Lb1DXWrqoQLdmsjfRxOAUHXuBotvnvZtF2kch0kkuRZ+4omfsG+V1 QAKendQvL1fv0s3Bnpx/FSGxg+HDsKYQDRECM/8i2x6oKKIb1vlZ+QTG003zi4F8suVECj AHAOC8tVEhPPdkg2EQ0xFyhq4KnVaBY4Qp0wBaoXuxa5HVo8uM9Yv3zCiT3Ml4+9eJVSaX ahGqmvSiZmix1+Wi29a4TKExF9dWrrMpsoOJiPXsF7HjSVvJkmLW6XNBe6KOJw== From: Ronald Klop To: Philip Paeps Cc: clusteradm@freebsd.org, Ports Management Team , freebsd-arm@freebsd.org Message-ID: <180462427.61.1644913953734@mailrelay> In-Reply-To: <1666CD64-2A90-4BBC-9DEF-C9BCED4738FF@freebsd.org> References: <1365005114.369.1643120837534@localhost> <993C6A92-7412-4426-903C-A2214B8A8031@freebsd.org> <55D4000E-2691-442D-9E46-E1966750344A@freebsd.org> <787825862.6.1644527984584@mailrelay> <1666CD64-2A90-4BBC-9DEF-C9BCED4738FF@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_60_451488938.1644913953666" X-Mailer: Realworks (596.92.9412d29) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4JyZ8m33WZz3mjD X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=w4D15h98; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of "SRS0=6I0k=S6=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=6I0k=S6=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_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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=6I0k=S6=klop.ws=ronald-lists@realworks.nl]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=6I0k=S6=klop.ws=ronald-lists@realworks.nl] X-ThisMailContainsUnwantedMimeParts: N ------=_Part_60_451488938.1644913953666 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: Philip Paeps Datum: vrijdag, 11 februari 2022 02:25 Aan: Ronald Klop CC: clusteradm@freebsd.org, Ports Management Team , freebsd-arm@freebsd.org Onderwerp: Re: aarch64 build cluster and linux64.ko > > On 2022-02-11 05:19:44 (+0800), Ronald Klop wrote: > >> >> >> 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. >> > > > I have loaded the module on ampere1 and ampere2 and added linux64_load="YES" to their /boot/loader.conf files. I have also done this on the new ampere3 machine portmgr hasn't taken into production yet (I only installed that one yesterday). > > If that's all it takes, it should be picked up in the next build. If poudriere needs to be taught something ... that's really a portmgr task. > > Philip > > -- > Philip Paeps > Senior Reality Engineer > Alternative Enterprises > Thanks Philip, Aarch64 packages for linux-c7-* are being build now! I like this a lot. One more question. Do you know why the arm64 package builds are not registered on https://pkg-status.freebsd.org/builds?type=package anymore? Because the pkg-status page has a nice way to compare two builds and spot regression (or progression). https://pkg-status.freebsd.org/builds/default:default:main-arm64:pbd2412a3b974_sac678b4aaf:ampere2 Regards, Ronald. ------=_Part_60_451488938.1644913953666 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit  

Van: Philip Paeps <philip@freebsd.org>
Datum: vrijdag, 11 februari 2022 02:25
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: clusteradm@freebsd.org, Ports Management Team <portmgr@freebsd.org>, freebsd-arm@freebsd.org
Onderwerp: Re: aarch64 build cluster and linux64.ko

On 2022-02-11 05:19:44 (+0800), Ronald Klop wrote:

 

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.
 


I have loaded the module on ampere1 and ampere2 and added linux64_load="YES" to their /boot/loader.conf files. I have also done this on the new ampere3 machine portmgr hasn't taken into production yet (I only installed that one yesterday).

If that's all it takes, it should be picked up in the next build. If poudriere needs to be taught something ... that's really a portmgr task.

Philip

--
Philip Paeps
Senior Reality Engineer
Alternative Enterprises



Thanks Philip,

Aarch64 packages for linux-c7-* are being build now! I like this a lot.

One more question.
Do you know why the arm64 package builds are not registered on https://pkg-status.freebsd.org/builds?type=package anymore?

Because the pkg-status page has a nice way to compare two builds and spot regression (or progression).
https://pkg-status.freebsd.org/builds/default:default:main-arm64:pbd2412a3b974_sac678b4aaf:ampere2

Regards,
Ronald.
  ------=_Part_60_451488938.1644913953666--