Date: Fri, 11 Feb 2022 09:25:13 +0800 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 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=_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"> <p><strong>Van:</strong> Philip Paeps <philip@freebsd.org><br> <strong>Datum:</strong> maandag, 31 januari 2022 04:15<br> <strong>Aan:</strong> Ronald Klop <ronald-lists@klop.ws><br> <strong>CC:</strong> clusteradm@freebsd.org, freebsd-arm@freebsd.org, Por= ts Management Team <portmgr@freebsd.org><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> > On 2022-01-25 22:27:17 (+0800), Ronald Klop wrote:<br> >> Currently the packages depending on linux_base-c7 can not be >= ;> pre-build on the package cluster because the kernel does not have &= gt;> linux64.ko loaded.<br> >><br> >> See: >> <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&b=3D0= &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&b=3D0&f=3Dnorefer= </a><br> >> =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 <br> >> >=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> >> =3D=3D=3D> linux-c7-libpng-1.5.13_3 depends on pa= ckage: >> linux_base-c7>=3D7.6.1810_7 - not found<br> >> =3D=3D=3D> Installing existing package >> /= packages/All/linux_base-c7-7.9.2009.pkg<br> >> [main-arm64-default-job-01] Installing linux_base-c7-7.9.2009...= <br> >> Cannot install package: kernel missing 64-bit Linux support<br> >> pkg-static: PRE-INSTALL script failed<br> >><br> >><br> >> Is it possible to have linux64.ko loaded on the pkg builders so = the >> aarch64 packages will be more complete?<br> >><br> >> At least on my rpi4/aarch64 poudriere I could build pkg >>= linux-c7-libpng with linux64.ko loaded.<br> ><br> > We can include linux64.ko in the next cluster build for aarch64. &nb= sp;I'll > try to find time for another cluster refresh. It's bee= n a while since > the last one.<br> <br> I've upgraded one of the package builders (ampere1.nyi.freebsd.org) with = a build including linux64.ko. The module seems to load. 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> -- <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<= 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-lz4-1.8.3 depends on package: linux_base-c7>=3D= 7.6.1810_7 - not found =3D=3D=3D> 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> </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_=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1666CD64-2A90-4BBC-9DEF-C9BCED4738FF>