Re: aarch64 build cluster and linux64.ko

From: Philip Paeps <philip_at_freebsd.org>
Date: Mon, 31 Jan 2022 03:15:49 UTC
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