From nobody Fri Feb 11 01:25:13 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 770F319B0714
	for <freebsd-arm@mlmmj.nyi.freebsd.org>; Fri, 11 Feb 2022 01:25:17 +0000 (UTC)
	(envelope-from philip@freebsd.org)
Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4])
	(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-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "smtp.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4JvwsT2cd2z3H2q;
	Fri, 11 Feb 2022 01:25:17 +0000 (UTC)
	(envelope-from philip@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1644542717;
	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=5Boq2f4FgxJ02DOC00zN4JpLY2Crw0oFClOYXI4+b6M=;
	b=OFyB9L37WUAS0LieerB2pn9ZCTRJlHWV5gSC3yo4S0yO94ifjFlL0OWyRve19UnK9Qr2EK
	Fj4tKYKLupnA6oZWaiGq2gc4xVzX1Ew8kYFFIw5r+pWftduqjNVWTA2A2H1eyeBLKy9jwz
	K4esJJsM1DPpGBfLGfXmtPIqWBg47zFJXr4GgkLw0qZFaYF9oTqTXb1aSv7EVARB+Vvk87
	8OAiL9J/222DkzjBmWWdlUobWX2jWcpV0wauN5kBbke/+ZGK/BYIzGdwr05dCw3Y68/axB
	FsPvCQ60uwbzvKcaeIyCpSNS3nttR3POxzjEur+nbSIwyC3iXMRwnGtLD1v/RA==
Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(Client did not present a certificate)
	(Authenticated sender: philip/mail)
	by smtp.freebsd.org (Postfix) with ESMTPSA id 30482648B;
	Fri, 11 Feb 2022 01:25:17 +0000 (UTC)
	(envelope-from philip@freebsd.org)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
	by mailauth.nyi.internal (Postfix) with ESMTP id 200C527C0054;
	Thu, 10 Feb 2022 20:25:17 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
  by compute4.internal (MEProxy); Thu, 10 Feb 2022 20:25:17 -0500
X-ME-Sender: <xms:_LoFYlsLxf0Yszqc6pVLR10pmD3c2OeO12oyLrm4Zvt67xYWKdQACA>
    <xme:_LoFYuez876vN1XL0DAZIeK0N5Hmiwjwff5XqCYqLC-v_gMC6GNSDuif0TCVNdSGm
    Wpp2DHm84eN4TonI2Y>
X-ME-Received: <xmr:_LoFYox7uWPWgxJgaUlfV5DrrBFmdmUDI1Wdj3wGa9Fm5TpWwBLXDXxZf3gDlo5Wx9EIkH_MuujKjqoOq3YP9a185cVYkDwntHjoRd0>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddriedvgddvlecutefuodetggdotefrodftvf
    curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
    uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddutddmnecujfgurhephffvuf
    ffoffkjghfgggtsegrtdhmreertdejnecuhfhrohhmpefrhhhilhhiphcurfgrvghpshcu
    oehphhhilhhiphesfhhrvggvsghsugdrohhrgheqnecuggftrfgrthhtvghrnhepkedtge
    ehteekffdvleduhfelgffhhfeftdegudefhedugfeufeetkeegvdfhuedunecuffhomhgr
    ihhnpehiphhviehprhhogiihrdhnvghtpdhfrhgvvggsshgurdhorhhgnecuvehluhhsth
    gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhlihhpodhmvghs
    mhhtphgruhhthhhpvghrshhonhgrlhhithihqdduudeiiedviedvgeekqddvfeehudektd
    dtkedqphhhihhlihhppeepfhhrvggvsghsugdrohhrghesthhrohhusghlvgdrihhs
X-ME-Proxy: <xmx:_LoFYsPO7KwRVHvqZBafsWc3A7XEcJK_OwoutTnAPKvxEVNjBzWOcA>
    <xmx:_LoFYl__nlT4F-viauSEmLb82rWQ3NhzG9XqnqQttkQmcZdxNS16rg>
    <xmx:_LoFYsWxnC9ti257MbGgfGmDowsOU4qG5VysaA0xqcsxRXs3fTemdA>
    <xmx:_boFYgarvWeEm1ZsWgCh0XR_zFL2mxuACSNE76qIcrao9lxsz4tS0w>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 10 Feb 2022 20:25:14 -0500 (EST)
From: Philip Paeps <philip@freebsd.org>
To: Ronald Klop <ronald-lists@klop.ws>
Cc: clusteradm@freebsd.org, Ports Management Team <portmgr@freebsd.org>,
 freebsd-arm@freebsd.org
Subject: Re: aarch64 build cluster and linux64.ko
Date: Fri, 11 Feb 2022 09:25:13 +0800
X-Mailer: MailMate (1.14r5869)
Message-ID: <1666CD64-2A90-4BBC-9DEF-C9BCED4738FF@freebsd.org>
In-Reply-To: <787825862.6.1644527984584@mailrelay>
References: <1365005114.369.1643120837534@localhost>
 <993C6A92-7412-4426-903C-A2214B8A8031@freebsd.org>
 <55D4000E-2691-442D-9E46-E1966750344A@freebsd.org>
 <787825862.6.1644527984584@mailrelay>
List-Id: Porting FreeBSD to ARM processors <freebsd-arm.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-arm
List-Help: <mailto:freebsd-arm+help@freebsd.org>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Subscribe: <mailto:freebsd-arm+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-arm+unsubscribe@freebsd.org>
Sender: owner-freebsd-arm@freebsd.org
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="=_MailMate_FD889266-A938-4762-AFCB-F7BF76969485_="
Embedded-HTML: [{"plain":[52,2930],"uuid":"1CD4FC1F-5F7F-4A46-B2A7-CB223D1AF1D9"}]
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1644542717;
	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=5Boq2f4FgxJ02DOC00zN4JpLY2Crw0oFClOYXI4+b6M=;
	b=WRprFbC+xFzGTqoZz0OjQL/8SlsLVP/gmKP2uMAGL0DQpEIZMiIc52UhHqNIaJKVkrNF82
	7dAvCGWqG/2yCl6nJ8XaQJuqqjmvzBCnb+wTCoUjs2e9hCAw5Bkqxrg38gmsMiGOUNgPnR
	QSylphdCl0+nF8QNecgZMdlz6uQMt4JzRPnx+D54k9vlkOH1BgTqeC1efNEepV2hUk2+xw
	OkFCcbLqQB47z4QE6zPM0EpPz+zleT4zlRADEquahxKbm1z3LWm8rDA20gL3PUSmvOsMXG
	IQd8cYHj13DLd263WbMLDxwG5tool10eWbK0romCm7GWniDk41esiAeFXpokKA==
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644542717; a=rsa-sha256; cv=none;
	b=cjX0ByWJVBoiKsnj5MkzVXjhDf9VYJJNH4tfXuiz9q6akmREMHF0e0vRNkxfet/5V1r/V4
	X06IUHYnmse8Gyu4Jw0bKzX1SFq7uqxneQ3Umke9WAzZICA+PulQrtvpcy9naGn4zWMBEk
	S7WE+s0TTJsYnAuKdfr7YXVHcSCEOalzwuH4aDpJjW2kIm5ELnpy29ucaKhX+PM2SUiOjI
	uws9vTbZ9F6Y9fU42aoPPfdwVYxV5cu/kp6pgm+0zy8Cx9aG+FiwgaXHs4EEmy3lUCDUE1
	jnwhuZdJvPK78m8k2GQ2L2wTDoU7YteM0GsC/zAmlpPssEnRySC3TzkVxHZi5w==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
X-ThisMailContainsUnwantedMimeParts: N
Status: O
Content-Length: 9479
Lines: 277


--=_MailMate_FD889266-A938-4762-AFCB-F7BF76969485_=
Content-Type: text/plain; format=flowed
Content-Transfer-Encoding: quoted-printable

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=3Dhttp%3A%2F%2Fampere2.nyi.freebsd=
=2Eorg%2Fdata%2Fmain-arm64-default%2Fpd8f8cc3a8823_s4f0e50b293%2Flogs%2Fe=
rrors%2Flinux-c7-libpng-1.5.13_3.log&b=3D0&f=3Dnorefer
>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
<phase: run-depends    >> =

>>>> >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
>>>> =3D=3D=3D>   linux-c7-libpng-1.5.13_3 depends on package: >> =

>>>> linux_base-c7>=3D7.6.1810_7 - not found
>>>> =3D=3D=3D>   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_s5=
11b83b167/logs/errors/linux-c7-lz4-1.8.3.log =

> :
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<p=
hase: run-depends    =

> >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> =3D=3D=3D>   linux-c7-lz4-1.8.3 depends on package: =

> linux_base-c7>=3D7.6.1810_7 - not found
> =3D=3D=3D>   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=3D"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

--=_MailMate_FD889266-A938-4762-AFCB-F7BF76969485_=
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
</head>
<body><div style=3D"font-family: sans-serif;"><div class=3D"plaintext" st=
yle=3D"white-space: normal;"><p dir=3D"auto">On 2022-02-11 05:19:44 (+080=
0), Ronald Klop wrote:</p>
</div><blockquote class=3D"embedded" style=3D"margin: 0 0 5px; padding-le=
ft: 5px; border-left: 2px solid #777777; color: #777777;"><div id=3D"1CD4=
FC1F-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, Por=
ts Management Team &lt;portmgr@freebsd.org&gt;<br>
<strong>Onderwerp:</strong> Re: aarch64 build cluster and linux64.ko</p>
<blockquote style=3D"padding-right: 0px; padding-left: 5px; margin-left: =
5px; border-left: #000000 2px solid; margin-right: 0px">
<div class=3D"MessageRFC822Viewer" id=3D"P">
<div class=3D"TextPlainViewer" id=3D"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=3D"http://www.ipv6proxy.net/go.php?u=3Dhtt=
p%3A%2F%2Fampere2.nyi.freebsd.org%2Fdata%2Fmain-arm64-default%2Fpd8f8cc3a=
8823_s4f0e50b293%2Flogs%2Ferrors%2Flinux-c7-libpng-1.5.13_3.log&amp;b=3D0=
&amp;f=3Dnorefer">http://www.ipv6proxy.net/go.php?u=3Dhttp%3A%2F%2Fampere=
2.nyi.freebsd.org%2Fdata%2Fmain-arm64-default%2Fpd8f8cc3a8823_s4f0e50b293=
%2Flogs%2Ferrors%2Flinux-c7-libpng-1.5.13_3.log&amp;b=3D0&amp;f=3Dnorefer=
</a><br>
&gt;&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D&lt;phase: run-depends &nbsp;&nbsp;&nbsp;<br>
&gt;&gt; &gt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt;&gt; =3D=3D=3D&gt; &nbsp;&nbsp;linux-c7-libpng-1.5.13_3 depends on pa=
ckage: &gt;&gt; linux_base-c7&gt;=3D7.6.1810_7 - not found<br>
&gt;&gt; =3D=3D=3D&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. &nb=
sp;I'll &gt; try to find time for another cluster refresh. &nbsp;It's bee=
n 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;portm=
gr 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 curre=
nt 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 li=
nux64.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>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&lt;=
phase: run-depends    &gt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D&gt;   linux-c7-lz4-1.8.3 depends on package: linux_base-c7&gt;=3D=
7.6.1810_7 - not found
=3D=3D=3D&gt;   Installing existing package /packages/All/linux_base-c7-7=
=2E9.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 th=
e 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 aarc=
h64.<br>
Who can I ask to check this?<br>
<br>
Regards,<br>
Ronald.<br>
&nbsp;</div></blockquote>
<div class=3D"plaintext" style=3D"white-space: normal;"><p dir=3D"auto">
<br>
I have loaded the module on ampere1 and ampere2 and added linux64_load=3D=
"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 install=
ed that one yesterday).</p>
<p dir=3D"auto">If that's all it takes, it should be picked up in the nex=
t build.  If poudriere needs to be taught something ... that's really a p=
ortmgr task.</p>
<p dir=3D"auto">Philip</p>
<p dir=3D"auto">-- =

<br>
Philip Paeps
<br>
Senior Reality Engineer
<br>
Alternative Enterprises</p>
</div>
</div></body>

</html>

--=_MailMate_FD889266-A938-4762-AFCB-F7BF76969485_=--