Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2022 09:32:33 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Philip Paeps <philip@freebsd.org>
Cc:        clusteradm@freebsd.org, Ports Management Team <portmgr@freebsd.org>, freebsd-arm@freebsd.org
Subject:   Re: aarch64 build cluster and linux64.ko
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>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_60_451488938.1644913953666
Content-Type: text/plain; charset=us-ascii; format=flowed
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
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>&nbsp;
<p><strong>Van:</strong> Philip Paeps &lt;philip@freebsd.org&gt;<br />
<strong>Datum:</strong> vrijdag, 11 februari 2022 02:25<br />
<strong>Aan:</strong> Ronald Klop &lt;ronald-lists@klop.ws&gt;<br />
<strong>CC:</strong> clusteradm@freebsd.org, Ports Management Team &lt;portmgr@freebsd.org&gt;, freebsd-arm@freebsd.org<br />
<strong>Onderwerp:</strong> Re: aarch64 build cluster and linux64.ko</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">
<div style="font-family: sans-serif;">
<div class="plaintext" style="white-space: normal;">
<p>On 2022-02-11 05:19:44 (+0800), Ronald Klop wrote:</p>
</div>

<blockquote class="embedded" style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<div id="1CD4FC1F-5F7F-4A46-B2A7-CB223D1AF1D9">&nbsp;
<p><strong>Van:</strong> Philip Paeps &lt;philip@freebsd.org&gt;<br />
<strong>Datum:</strong> maandag, 31 januari 2022 04:15<br />
<strong>Aan:</strong> Ronald Klop &lt;ronald-lists@klop.ws&gt;<br />
<strong>CC:</strong> clusteradm@freebsd.org, freebsd-arm@freebsd.org, Ports Management Team &lt;portmgr@freebsd.org&gt;<br />
<strong>Onderwerp:</strong> Re: aarch64 build cluster and linux64.ko</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="TextPlainViewer" id="P.P">On 2022-01-26 08:58:20 (+0800), Philip Paeps wrote:<br />
&gt; On 2022-01-25 22:27:17 (+0800), Ronald Klop wrote:<br />
&gt;&gt; Currently the packages depending on linux_base-c7 can not be &gt;&gt; pre-build on the package cluster because the kernel does not have &gt;&gt; linux64.ko loaded.<br />
&gt;&gt;<br />
&gt;&gt; See: &gt;&gt; <a href="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&amp;b=0&amp;f=norefer">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&amp;b=0&amp;f=norefer</a><br />
&gt;&gt; =======================&lt;phase: run-depends &nbsp;&nbsp;&nbsp;<br />
&gt;&gt; &gt;============================<br />
&gt;&gt; ===&gt; &nbsp;&nbsp;linux-c7-libpng-1.5.13_3 depends on package: &gt;&gt; linux_base-c7&gt;=7.6.1810_7 - not found<br />
&gt;&gt; ===&gt; &nbsp;&nbsp;Installing existing package &gt;&gt; /packages/All/linux_base-c7-7.9.2009.pkg<br />
&gt;&gt; [main-arm64-default-job-01] Installing linux_base-c7-7.9.2009...<br />
&gt;&gt; Cannot install package: kernel missing 64-bit Linux support<br />
&gt;&gt; pkg-static: PRE-INSTALL script failed<br />
&gt;&gt;<br />
&gt;&gt;<br />
&gt;&gt; Is it possible to have linux64.ko loaded on the pkg builders so the &gt;&gt; aarch64 packages will be more complete?<br />
&gt;&gt;<br />
&gt;&gt; At least on my rpi4/aarch64 poudriere I could build pkg &gt;&gt; linux-c7-libpng with linux64.ko loaded.<br />
&gt;<br />
&gt; We can include linux64.ko in the next cluster build for aarch64. &nbsp;I'll &gt; try to find time for another cluster refresh. &nbsp;It's been a while since &gt; the last one.<br />
<br />
I've upgraded one of the package builders (ampere1.nyi.freebsd.org) with a build including linux64.ko. &nbsp;The module seems to load. &nbsp;portmgr might need to do something to the builds to actually use it though.<br />
<br />
I'll upgrade the other aarch64 package builder when it finishes its current build.<br />
<br />
Philip<br />
<br />
--&nbsp;<br />
Philip Paeps<br />
Senior Reality Engineer<br />
Alternative Enterprises</div>

<hr /></div>
</blockquote>
<br />
Hi,<br />
<br />
Ampere1 as well as ampere2 are upgraded but I do not see the effect of linux64.ko being loaded.<br />
<br />
e.g. http://ampere2.nyi.freebsd.org/data/main-arm64-default/p4970d39a547c_s511b83b167/logs/errors/linux-c7-lz4-1.8.3.log :
<pre style=";white-space: pre-wrap;white-space: pre-wrap;">
=======================&lt;phase: run-depends    &gt;============================
===&gt;   linux-c7-lz4-1.8.3 depends on package: linux_base-c7&gt;=7.6.1810_7 - not found
===&gt;   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
</pre>
<br />
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.<br />
Having this fixed will give quite a lot less failed+skipped ports on aarch64.<br />
Who can I ask to check this?<br />
<br />
Regards,<br />
Ronald.<br />
&nbsp;</div>
</blockquote>

<div class="plaintext" style="white-space: normal;">
<p><br />
I have loaded the module on ampere1 and ampere2 and added linux64_load=&quot;YES&quot; 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).</p>

<p>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.</p>

<p>Philip</p>

<p>--<br />
Philip Paeps<br />
Senior Reality Engineer<br />
Alternative Enterprises</p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br />
<br />
Thanks Philip,<br />
<br />
Aarch64 packages for linux-c7-* are being build now! I like this a lot.<br />
<br />
One more question.<br />
Do you know why the arm64 package builds are not registered on https://pkg-status.freebsd.org/builds?type=package anymore?<br />
<br />
Because the pkg-status page has a nice way to compare two builds and spot regression (or progression).<br />
https://pkg-status.freebsd.org/builds/default:default:main-arm64:pbd2412a3b974_sac678b4aaf:ampere2<br />
<br />
Regards,<br />
Ronald.<br />
&nbsp;</body></html>
------=_Part_60_451488938.1644913953666--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?180462427.61.1644913953734>