[-- Attachment #1.1: Type: text/plain, Size: 1339 bytes --] Hello, while trying to build my bundle I stuck at an error. “bundle.raucb changed size while reading filesystem, attempting to re-read” The raucb file indeed does grow and shrink in size all the time but the build never finishes. mksquashfs uses 100% of the CPU. If I remove the rootfs slot from the manifest the build works just fine. The rootfs slot is an ext4 image with ~1,2GB. I have no further idea of the right approach to fix the problem. Any ideas? Best Regards Michael Michael Seidel Technology Software Systems [http://assets.balluff.com/JPG_original_size/E-Mail-Footer_Vertrieb_Logo.jpg] Balluff GmbH · Schurwaldstrasse 9 · 73765 Neuhausen a.d.F. · Germany Phone +49 7158 173-8564 · Fax +49 7158 962 · michael.seidel@balluff.de<mailto:michael.seidel@balluff.de> · www.balluff.com<http://www.balluff.com> Place of incorporation/Sitz der Gesellschaft: Neuhausen a.d.F., Germany · Register court/Registergericht: Amtsgericht Stuttgart, Germany Trade register/Handelsregister: HRB 214038 · Managing directors/Geschäftsführer: Michael Unger, Katrin Stegmaier-Hermle, Florian Hermle Chairman board of directors/Vorsitzender des Aufsichtsrats: Dr. Jürgen Schilde · VAT ID/USt-ID: DE213 402 337 [http://assets.balluff.com/JPG_original_size/E-Mail-Footer_Vertrieb_Claim.jpg] [-- Attachment #1.2: Type: text/html, Size: 4465 bytes --] [-- Attachment #2: Type: text/plain, Size: 65 bytes --] _______________________________________________ RAUC mailing list
Hi Michael, On 2/21/19 8:14 AM, Michael Seidel wrote: > Hello, > > while trying to build my bundle I stuck at an error. > > “bundle.raucb changed size while reading filesystem, attempting to re-read” > > The raucb file indeed does grow and shrink in size all the time but the build > never finishes. > > mksquashfs uses 100% of the CPU. > > If I remove the rootfs slot from the manifest the build works just fine. The > rootfs slot is an ext4 image with ~1,2GB. > > I have no further idea of the right approach to fix the problem. Any ideas? I fear you run into https://github.com/rauc/rauc/issues/21. Could you verify that? This should have been fixed already, but obviously isn't. Thus moving the bundle destination path out of the bundle source directory should fix it. And we definitely need an upstream check for this to prevent placing bundle into content dir accidentally. Best regards, Enrico -- Pengutronix e.K. | Enrico Jörns | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ RAUC mailing list
Hi Enrico, that seems to be my problem. I've used the meta-rauc layer in the rocko version. I've backported the fix to the rocko branch (https://github.com/rauc/meta-rauc/pull/72) . I'm going to finish the pull request after a little bit more testing in my project. Thanks for your help. Regards Michael -----Ursprüngliche Nachricht----- Von: Enrico Joerns <ejo@pengutronix.de> Gesendet: Donnerstag, 21. Februar 2019 09:25 An: Michael Seidel <Michael.Seidel@balluff.de> Cc: rauc@pengutronix.de Betreff: Re: [RAUC] bundle.raucb changed size while reading filesystem, attempting to re-read Hi Michael, On 2/21/19 8:14 AM, Michael Seidel wrote: > Hello, > > while trying to build my bundle I stuck at an error. > > “bundle.raucb changed size while reading filesystem, attempting to re-read” > > The raucb file indeed does grow and shrink in size all the time but > the build never finishes. > > mksquashfs uses 100% of the CPU. > > If I remove the rootfs slot from the manifest the build works just > fine. The rootfs slot is an ext4 image with ~1,2GB. > > I have no further idea of the right approach to fix the problem. Any ideas? I fear you run into https://github.com/rauc/rauc/issues/21. Could you verify that? This should have been fixed already, but obviously isn't. Thus moving the bundle destination path out of the bundle source directory should fix it. And we definitely need an upstream check for this to prevent placing bundle into content dir accidentally. Best regards, Enrico -- Pengutronix e.K. | Enrico Jörns | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | <b>Michael Seidel</b><br></font><font face='Arial' size='1' color='#999999'>Technology<br>Software Systems<br> [http://assets.balluff.com/JPG_original_size/E-Mail-Footer_Vertrieb_Logo.jpg] Balluff GmbH · Schurwaldstrasse 9 · 73765 Neuhausen a.d.F. · Germany Phone +49 7158 173-8564 · Fax +49 7158 962 · michael.seidel@balluff.de<mailto:michael.seidel@balluff.de> · www.balluff.com<http://www.balluff.com> Place of incorporation/Sitz der Gesellschaft: Neuhausen a.d.F., Germany · Register court/Registergericht: Amtsgericht Stuttgart, Germany Trade register/Handelsregister: HRB 214038 · Managing directors/Geschäftsführer: Michael Unger, Katrin Stegmaier-Hermle, Florian Hermle Chairman board of directors/Vorsitzender des Aufsichtsrats: Dr. Jürgen Schilde · VAT ID/USt-ID: DE213 402 337 [http://assets.balluff.com/JPG_original_size/E-Mail-Footer_Vertrieb_Claim.jpg] _______________________________________________ RAUC mailing list
Hi Michael, On 2/21/19 11:09 AM, Michael Seidel wrote: > Hi Enrico, > > that seems to be my problem. I've used the meta-rauc layer in the rocko version. > I've backported the fix to the rocko branch (https://github.com/rauc/meta-rauc/pull/72) . > I'm going to finish the pull request after a little bit more testing in my project. ok, sounds good. But in general it should also work with rocko when setting the paths right. And we should catch this in RAUC itself, too. Btw. you may want to subscribe to this mailing list, otherwise we have to moderate each message free manually you send because non-subscribers may not post by default. Regards, Enrico -- Pengutronix e.K. | Enrico Jörns | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ RAUC mailing list