From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 19 Sep 2025 14:26:55 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ej1-f58.google.com (mail-ej1-f58.google.com [209.85.218.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 58JCQsGs004097 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 19 Sep 2025 14:26:54 +0200 Received: by mail-ej1-f58.google.com with SMTP id a640c23a62f3a-b1f5d6c9787sf210625066b.0 for ; Fri, 19 Sep 2025 05:26:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1758284809; cv=pass; d=google.com; s=arc-20240605; b=MNlRIKyDR3g5FEFSwoF/I1XzyR3OMR4MUvBpMkt/qqAFGkdDbMSn/AIvU52++FP7lZ LTC29AjFrxKNa0UyGUypw+/rnAjjtY8Zuhx0FdpDhaiGrcFh9eQB0NHnj7rRfjwfbmwn dYyd8p914lJZk3v/Ul0YkSZdtOeTZIWTcaFkeanFE34Yq9FREG53RM/HYeyFUIFcT2E+ L/w+DxbvGzm3c/nBB8reeJ6pNA6xI54ZcaXkejDG09SzViwYaDWIDwwZl1qf9Oy6cqKk XN9a/N1nCFiU7W4mx/Kfo6Z/SgU+wjjJqLorqAvSHAYjoNwDknRvWaHmK497pVOAju7h UjDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:sender:dkim-signature; bh=1xPfnym2+Cdgx2JHHW8yys3QpLncXlvrOu/q31HKib0=; fh=lZrEmrm6w9NQLJce3AE1uFSWKpM5C5nPnt01v4glOr4=; b=edowx/kfryNkZbtjjkRHybbbKBzu3H0fZO+/NJ0QU7ihIM1ssteASChIivHnBkRRhR 06bmf1FYwfmL0ETOZDgLcJ5b3Gry1iFLMT3B+OxpqYGdQSHX5Mb8XlwDbTzI8Azv4GSR fRWG/23cmMGRlv9Upsy20tN8R781ezCYYFTWWJvHe5SK+GlVGUfT2g2YksW0s3u6lvPa 7zM2BS58IxpTYE90dcANFHHEfQ1gQJkQcK8EWCaMCBCfy9DcrYI/iOzJCmjRv+oyuZTG aZcmo5oCD7rnZg7BKtMPT8/5ff5Tp+dsuvXP6v6ItZ11U3HZA6qjvRf3i4kUkjVSWrCn WK3A==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1758284809; x=1758889609; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :references:in-reply-to:date:to:from:subject:message-id:sender:from :to:cc:subject:date:message-id:reply-to; bh=1xPfnym2+Cdgx2JHHW8yys3QpLncXlvrOu/q31HKib0=; b=mEbyo3exsoPEC2auIbYUdWLupoZtNnchuPIuylbPviOajAXvbCkC/HOVuDwH/lZhJR EcXTV/Jc1UZDp77hq7rcljuFtu2kayFLUD3vOO9w92mq3Yy4u9Y9JS84kAky7JieGCPQ RGGJKjax9un/pMLFB19DxxQsMojSkoFAtaiRjSPOdt+vXJNXx8+xUeEjKq+r4AbG5APi 4HdblNM+OC+5n9bk5JRd/9YCJvdxLPxnxErdTUck8LVFbKBYjoPsl+kMxXrXtCBQtbFT RHsTlV8WBn5nnGmGaiVxJnkBEHjI+1W3e/NkRsWeiOioqa5iYLHKuAd6bqASXqnUBaC6 Jv6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758284809; x=1758889609; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=1xPfnym2+Cdgx2JHHW8yys3QpLncXlvrOu/q31HKib0=; b=sRYTiU2N5MzzOY1MnOBC16PnWvVVeoRi1x48x+LeCHCq8thgMI3Rl4Vn7yTXRwpM1z 6AeorSY0rKrO/Tu2wgJC6lZR0X7HfjuAJhLErbj3EdDwaZjtKE3zeEZud4Rcr1ri+XkI Tk/psZQFe5QPwycJ7eGUKbp5tuDPIw051R5HeQgU9JEk/nWhpgFSQVQ9886uVlXb0o8k xRBq1sN+m0TZazAAw6IXLicHcNBBh2ht+kBMtRAvBbRclYzh0KBWqsganZHv+M3V+Yfw 2VN48VG05DxcVOW62PrcQpuX4MSjM7u+unD5upDqZtvxhiee6+rsjodcaGUH8dfmx5ER MrIg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCU5vrMdgK4+vOES/leCwAA+ynwiaUL5AdoxDlo93Jt/P8f60JrGQuduH4XkwWpGpQvxcWCE@ilbers.de X-Gm-Message-State: AOJu0YwZbcNn5KZ8XU/qQa965TyX6VXMaiOGRDfHiK9UsB01nH6HX3EM y3pH6g0A+qS4z3uEo49D5p6LnF3lICZfWNKGlAWrZi37dVJnP5vLFOiA X-Google-Smtp-Source: AGHT+IGrznPwixTEV5UBTaQXUF4Md6Rtoy/uwRQsRJFvDYZxCADzWKFxQXahtxfqd3Laj38TJkWBIw== X-Received: by 2002:a17:907:7251:b0:b07:e080:88b5 with SMTP id a640c23a62f3a-b24ed886e16mr317763066b.8.1758284808511; Fri, 19 Sep 2025 05:26:48 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h=ARHlJd7p53Qx4UWsn74Qg0hv1hsNp/95QU6YOtRb3Ggw4yIHwA== Received: by 2002:a50:d6cd:0:b0:61c:61c3:b9b8 with SMTP id 4fb4d7f45d1cf-62fa7713acbls1661061a12.1.-pod-prod-08-eu; Fri, 19 Sep 2025 05:26:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV9RXgpwoBBU41qqmr73ypnQH7wXDjpMW7NjlAG0IsdOjNjlqihy9vtIEJ0KRC14W1v86BsMD5BaofX@googlegroups.com X-Received: by 2002:a05:6402:90a:b0:62b:53af:78ca with SMTP id 4fb4d7f45d1cf-62fc08f8a65mr2702480a12.9.1758284805118; Fri, 19 Sep 2025 05:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1758284805; cv=none; d=google.com; s=arc-20240605; b=ABKqusjTB3xPiCvao8x9hCc9KPX/7hRZQ9YaZJgRoi633Ri9Km+8s7AqTgMYsh8im/ 5kXA2qOS0fQRCIatQSVW3Iz++6Ee9awQTud1yQLXc6MN3Xhjlkp4AXvAFNK8oSdeVONm NG6CEqx+0bK0RtEG0CcFrDK2DyzZNrnRZZQbmb1xUffawRkp5W6goCS0QdSte55LwRcP EpY3U5QVkLm6v8+uz+NzFz66I6rhAMkQXyRphw7P6dUcYLEH9olNXKnHo1pzZhqWigaj 41VmMNCSYrv69vY+7KgrzQZjrc3I4XIZKpxQ1kzoOq5hnhjv/apgfa4TgBrhFYCCuEGR 5pDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=ZldGcTqf6BwTaPHAZeSIY1kNZHCJLjTuv+6nQUzaIA0=; fh=jiR68nWCkWQ7iUOEmlEsa/bJiAPJR7HWc1CoiRmI2QQ=; b=JFMGmkguGt0I8doJDizbyIvc4gVRSoSYhrtVK/0TkPHdGjX99J0ZF74vIDYCBu/7zN sUOTSTG4askicpIG+y0NmMtTLUBdvdecxrwEqkRsk9bLD8BNlWZtWBquwoG2jNdgTZAL iGMBAAyHILrbWPrvQejiHZ0Rb5L4IQoXumPwnlaZvf7r1zo5Az0oTpMNqCQoOsItBSGn EV5WOIsLYN5WdRb/R/jwnVGUklPwJdMlCRctbJg+/FcbG+330uUW0I/iqhSLYEkjal55 Y6fCqKxgJYhDiVPjBv5jPR7Fhtvvui/UGkdVEaLnOPp0Ih6EbIniRIqsEi0qljzEYgxK vr+A==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 4fb4d7f45d1cf-62fa5f13997si137771a12.4.2025.09.19.05.26.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Sep 2025 05:26:45 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 58JCQg9L004092 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Sep 2025 14:26:43 +0200 Message-ID: Subject: Re: [PATCH 1/1] enable-fsck: don't run update-initramfs after fstab modification From: Uladzimir Bely To: Jan Kiszka , isar-users@googlegroups.com, Quirin Gylstorff Date: Fri, 19 Sep 2025 15:26:42 +0300 In-Reply-To: <70095639-d103-4e7f-8c26-1f79b80efe9c@siemens.com> References: <20220121074218.23943-1-ubely@ilbers.de> <20220121074218.23943-2-ubely@ilbers.de> <70095639-d103-4e7f-8c26-1f79b80efe9c@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: 3GNa5syz/Ota On Fri, 2025-09-05 at 17:06 +0200, Jan Kiszka wrote: > On 21.01.22 08:42, Uladzimir Bely wrote: > > On first machine run, if enable-fsck recipe was enabled, it takes > > much time to start because of spending too much time on > > the 'update-initramfs -u' call. > >=20 > > Removing it while it really does nothing useful. > >=20 > > Signed-off-by: Uladzimir Bely > > --- > > =C2=A0meta/recipes-support/enable-fsck/files/enable-fsck.sh | 2 -- > > =C2=A01 file changed, 2 deletions(-) > >=20 > > diff --git a/meta/recipes-support/enable-fsck/files/enable-fsck.sh > > b/meta/recipes-support/enable-fsck/files/enable-fsck.sh > > index d09e35df..72d6bd78 100644 > > --- a/meta/recipes-support/enable-fsck/files/enable-fsck.sh > > +++ b/meta/recipes-support/enable-fsck/files/enable-fsck.sh > > @@ -12,5 +12,3 @@ set -e > > =C2=A0ROOT_DEV=3D"$(/bin/findmnt -n -o SOURCE /)" > > =C2=A0sed -i -e > > 's|^/dev/root\([=C2=A0 ]\+.*[=C2=A0 ]\+\)0[=C2=A0 ]\+0|'"$ROOT_DEV"'\10= 1|' \ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -e > > 's|^\(/dev/.*[=C2=A0 ]\+\)0[=C2=A0 ]\+0|\10 2|' /etc/fstab > > - > > -update-initramfs -u >=20 > This was wrong, unfortunately: The original purpose of this whole > recipe > is to generate an initramfs that contains all tools needed to perform > early filesystem checks. As this information is not available at the > time we build the rootfs, only after wic ran, I once decided achieve > the > desired effect by recreating the initramfs on first boot. >=20 > If anyone has a better idea how to model that more elegantly, I'm all > ears. Otherwise, we need to revert this and address the boot time > issue > by reducing the number of targets where it is run. >=20 > Jan Hello. It seems that "enable-fsck" doesn't look like some mandatory for Isar itself, that's why the patch was applied earlier. First, the script tries to modify "/dev/root..." line that none of meta-isar's targets have at all. This probably works only with downstreams that use `cip-core` with `readonly-roofs.bbclass` or in some other (which?) cases with "/dev/root..." in fstab. Second, other "/dev/..." lines in fstab are also uncommon for meta- isar's targets that are quite simple (e.g., have only rootfs or at most boot/rootfs). Third, real benefit from enable-fsck seems to become visible only after some hardware crashes that require filesystem reparing. I tried to revert the patch and this brought the following issues again: - qemuarm/qemuarmhf machines (at least) take more than 10 minutes to start when run on quite decent CI server. Default value for DEF_VM_TO_SEC value in testsuite should be increased to avoid "timeout" failures. - generating new initrd on first run requires additional space on rootfs, otherwise some targets fail. Changes in some WKS files (adding extra space for root partition) are required. When both issues are solved, CI seems to pass. So, if having "update-initramfs" is mandatory for downstreams, we can propose the following patchset as a solution: - original patch revered - increased CI timeout - extra space added to .WKS/.conf used by failing qemu targets. If OK, the patchset will be sent after testing in CI. --=20 Best regards, Uladzimir. --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= ec66909ef9307cc07f38bb2b51b52e43fbfc5a31.camel%40ilbers.de.