Re: aarch64 build cluster and linux64.ko
- Reply: Philip Paeps : "Re: aarch64 build cluster and linux64.ko"
- In reply to: Philip Paeps : "Re: aarch64 build cluster and linux64.ko"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Feb 2022 08:32:33 UTC
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.