From nobody Thu Jul 14 15:21:25 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LkJ9m4Kzrz2pNMD for ; Thu, 14 Jul 2022 15:21:32 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LkJ9m3wgcz4Dkq; Thu, 14 Jul 2022 15:21:32 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657812092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MMP7elhkDW5CygmDqBsGUN7zlaZGmjYlpucVg0xR4Y8=; b=Qh2b3gv2WZNXmGdtvfnKErMLRghTC5miaIvKBlfrjtFFzcQ494GJN3BWeIv3a1X0YdPrmY Qo7idsgHRP311R2IFYqKJ6a9+oVPpmJXKloNeMZqYhP+JjyP+3GWL2JjQvGzQkXhFsICkH JqizlF4nd4ROqplMcpcAb9Plf4pEmcurnGXBr7DRY3Rbc4iHQ7PcpDy1pCtB6BETdZXWHq t13BVGTNRNW+NDHgVPnUgtavP/IYPUaq2jZLMyDGX9rSO0M4u3mcHFCyMD2mYYe1OabdzI DoChE3GgBd3uJJ82vTFJOhy2xSxbK5Mvo6HVAKYlUum/wNl8vZAQHoO+FtTNww== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 18435A5F; Thu, 14 Jul 2022 15:21:32 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Thu, 14 Jul 2022 15:21:25 +0000 From: Glen Barber To: Mark Millard Cc: dev-commits-src-main@freebsd.org Subject: Re: git: 1dfcff294e44 - main - release: increase IMAGE_SIZE for arm, arm64, riscv Message-ID: <20220714152125.GB30607@FreeBSD.org> References: <84410D65-6F86-44E5-8B14-8A523C9919C7.ref@yahoo.com> <84410D65-6F86-44E5-8B14-8A523C9919C7@yahoo.com> <20220713201327.GY30607@FreeBSD.org> <7F4F9683-B4DE-4F65-BBD7-027039A0C270@yahoo.com> <20220713204227.GA30607@FreeBSD.org> <8A02A4A4-9F3A-47F2-9985-EA2151043BB7@yahoo.com> <4D903E5A-58FB-4516-AC53-AEDFF48564A7@yahoo.com> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wGJqb8EFafMIlOCd" Content-Disposition: inline In-Reply-To: <4D903E5A-58FB-4516-AC53-AEDFF48564A7@yahoo.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657812092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MMP7elhkDW5CygmDqBsGUN7zlaZGmjYlpucVg0xR4Y8=; b=OG3r8Hf6t8bPvsoOsb9O1aJc8jYDKWRx05rATON4WBmTo5OPfD8HYO4+cyFMwglyM4WeKE 9gAppWYnGVJkIIvGP+w2B6EX8wg9E5MCFV8TDuKYnJZ2b8s+aYkGmj6AIvwVLt+KTA5b9O S0N1YfjJYFtN1r3X4Jbe/wuNs+xddHok7dVDLhYJeOYEBbJBtln9bR0TRprDcuiLhMoA00 Le8cAlnYqt1kRFkFMW0qF+fRfBqtLYGI+pSP6xHpkls2cwmGffsNJkELBbLvML+lNcXXpS GzUTVqawOHV4cLvskkUPjelxfbCyx8lIxR4V9alYmQIamzxMmoj5y5w6Ls1g9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657812092; a=rsa-sha256; cv=none; b=ipecwoQ46w8uzuyZmIfv5T91QTTJwgCCB2vHTBHJiJhg3oiQSDt65CsiPCVC3DCbqg9xDl L5hRsJgaX3hpRPL1ha8QZr3gYdnkxoVP6aqJjPrGQgOWZQS0i9P84rdIoV8JoVMl4vGhjR CaUnMUv1gij3s5U4g3fyVCBnARbarABBzOMNBvZGYwgzw3G60nveG8P1rUFf1tzoz6Lhcy f4yOfe2jUvbYDX6smXBkmFldOUE6Df9U7cBj2kr7pct5BRS8Fvf6drQDP6H6f0I0yvywc9 lOYtAirNdX/LNjzRjhb7dTZC/gGbq8W6xmjmhsVWH+Ng5vZwuNoZCRo6olo8bA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --wGJqb8EFafMIlOCd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 14, 2022 at 08:10:12AM -0700, Mark Millard wrote: [... snip ...] > But it does not appear that modern /usr/src/release/ by itself > would produce the inefficient alignments unless the mdconfig > and gpart combination used did something odd overall that > did not happen in my example sequence. >=20 > Here, I'm just using the mismatch to indicate that the snapshot > and release builds do not seem to match what /usr/src/release/ > is set up to do. I've not managed to reproduce the alignment > that the snapshot and release .img files have in them by > following the /usr/src/release steps for the example Small > Board Computer that I'm using to illustrate the issue. >=20 > It suggests something odd is going on for the official image > builds that makes the difference. What, I've no clue. >=20 I do not know either, but I have been looking into it. All of the userland utilities (mkimg, makefs, etc) that are used are used *within* the build chroot, so I see no sign of any "leakage" from the build host itself creeping into the process. Additionally, I double-checked (and triple-checked) the configuration files used for these builds, and there are no stale artifacts of overriding IMAGE_SIZE or any other variables - everything sources the in-tree ${srcdir}/release/${TARGET}/${TARGET_ARCH}.conf (i.e., release/riscv/riscv64.conf, for example). That said, there have been a few updates to PR 264032 overnight that has lead to some head-scratching. By the way, thank you for poking into this in the depth that you had. It is very much appreciated. Glen --wGJqb8EFafMIlOCd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmLQNHAACgkQAxRYpUeP 4pOtrA/+Ky3DaFAqaj9xIby2mr94qkzwc58z/Z7hxlQbglOOosKKdM1qLc3h1Qgr rkmN+tS2lAwxmNOXCtuTscYtyQTKsXCx88izqjk4WLv6yG2xa3HKyt/yKMi+ORKP XcaHkZ+M2/jsUsunOSilBkJMlgrV/Egmdi48WCCC8nchmSOMgfIDdxtYZ/7G91S9 lNaSrn6NIPZbfGZT/8xL5ZuzVZNTZ8AODoYCcklClMY8e8HDRg5v7E/OhMh6bUiV IWlPVY2KzxNzRScq5+dhEYMTJiECJjzeQadwCDPXVjHD4mDkq4LusO55ZNuvYwKI 3Daj8tGfJ+YlrlBa2aLIX/MlUvzMR0AE8/Qfkkj1WIKx4l82k0pxbyU7KIJ2xuQO zKngn6dwn3euTDk6/j61m9y6DTXZWGxNs5iLzCZhdnTSK77rBewxMXl/sZkwg9a2 sptXqkUfMOM74f6KzWY2jFOpD6aHRpleAbYNlgLj+XoFG68sQJpHEAvKnGuwM7RZ ph6jwWkkeXkiuAr0TIK6ufr1ZczpT4JPnaXLI/Tmxl9UXkrfc9ERiWVPTksTwENK OyhCSDYhJtuQR2mos/R08dnHj2dGk5ipKBk2zee6+U5skGrblbdSGWKuN1E+6L3f 3LmD8N17jxta24VposF2GDPJB3UfHWBXCJE06E7qgmHN0NQovFQ= =RS7E -----END PGP SIGNATURE----- --wGJqb8EFafMIlOCd--