From nobody Wed Jul 13 20:34:29 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 58A1117F91E0 for ; Wed, 13 Jul 2022 20:34:36 +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 4Ljq9S1mMbz3FJk; Wed, 13 Jul 2022 20:34:36 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657744476; 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=fYyBHCQ6+BasQ8zDXh15SV4FpwTuMdkqqYtu5G/NPaA=; b=Hk1YXmz4aDSVgpCTKAKJ5Q+4Ol6Od57KTgBaWOFeKjYe9wK/V0UqA2orClpG1SXKwWiGh+ lvffj3d39WZovSIkNy7Y+FSIU3uWRvNTcgpkY4YBWTeyJ59J7+MLz7sSbNK7VmNSMeWtRH b2G1PAXjGNO8LW4XgwFI2dvGB1THu7/zr+9f9PKiShSu6FT+zw/H+YqtnvBppZeCGXpSex wZLU2XaLmSAzSEDXTynPQJzbrsmko0gwQtASli88WNOznKMc0sfivmyeABpEIv8dF0SZa8 S4IUADJWR50O3QSua8HFZeo/TpkjPNnbMdLT7DrVRZ+gB2pJMiY//Iyvcq7dCg== 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 B3B6E1D7C7; Wed, 13 Jul 2022 20:34:35 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 13 Jul 2022 20:34:29 +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: <20220713203429.GZ30607@FreeBSD.org> References: <84410D65-6F86-44E5-8B14-8A523C9919C7.ref@yahoo.com> <84410D65-6F86-44E5-8B14-8A523C9919C7@yahoo.com> <20220713201327.GY30607@FreeBSD.org> 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="G2f4KVJdnHWgnG1a" Content-Disposition: inline In-Reply-To: <20220713201327.GY30607@FreeBSD.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657744476; 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=fYyBHCQ6+BasQ8zDXh15SV4FpwTuMdkqqYtu5G/NPaA=; b=M9ryxHwPGL7EX/FdTMFla/d4Fa7Z7l6KF3OI0digvmqc67mtjkN3gs3RhgKMD3cdu3/zT5 36g0ZoCiUJojbjgvFqxo5m5b7jnsWCEzuCMCQII+Q9iGY0B3uC2EyvDB2ENjBofo/SWwTD FdULFrYM1xPGT1iFxfCcfpIWaL3V7ix170+IJl2CYXKI02LMv7LxrCpSw1P2IX7EoEhxep BrfoO6YHkQly7JHyQg6Lsp6YoW30mmXnh96FSAc761c5FrFXv5hVZmj44Oafon6c1RiDGA Zk+0pgymOPGko1ZOgxB4OU9Mm4qC8zDjY7/bOM3NO7xZZtgukWlxGysNVv7T0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657744476; a=rsa-sha256; cv=none; b=y2op0gzmHNRw95hUQ8IbtMOAcn1AwenNmzFpMPVag9d0Lx0bi0lSAF9ZUMkt2uZ3mn3+oY GEw9hlm4HsRbCJhqje2swFPpvUeZCtENEkRU3OMUjvTIl73mYmgK96bwtC2FKIKWedxQxs wJ7G6znV3qkRZEDYA7L7hpIxgwLnjvSwd9z+eR0RL1MGbulI1ZcEx6XyufiJ0xm14yRMKa DP12MDGUl5qVi4gcDxYfR+MB69CM/PjYPylYF8tmu0SdDDSKO97Bjwm5PZBce42l2+xwCQ 3vH+JhJB0HZh5l8fukJBkuM5GhFdirTkFmlcYfpvtI/wWakTJuSLCxBr8Pbf4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --G2f4KVJdnHWgnG1a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 13, 2022 at 08:13:27PM +0000, Glen Barber wrote: > On Wed, Jul 13, 2022 at 12:06:55PM -0700, Mark Millard wrote: > > Glen Barber wrote on > > Date: Wed, 13 Jul 2022 18:37:34 UTC : > >=20 > > > The branch main has been updated by gjb: > > >=20 > > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D1dfcff294e44d4b4581328= 8ef4095c36abb22f0e > > >=20 > > > commit 1dfcff294e44d4b45813288ef4095c36abb22f0e > > > Author: Glen Barber > > > AuthorDate: 2022-07-13 18:36:22 +0000 > > > Commit: Glen Barber > > > CommitDate: 2022-07-13 18:36:22 +0000 > > >=20 > > > release: increase IMAGE_SIZE for arm, arm64, riscv > > > =20 > > > Related to: PR 264032 > > > MFC after: 5 minutes > > > Sponsored by: Rubicon Communications, LLC ("Netgate") > >=20 > > I may have some evidence that, for example, > >=20 > > http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/14.0/FreeBSD-1= 4.0-CURRENT-arm64-aarch64-RPI-20220708-a0b956f5ac5-256605.img.xz > >=20 > > and: > >=20 > > http://ftp3.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/13.1/FreeBSD-13= =2E1-RELEASE-arm-armv6-RPI-B.img.xz > >=20 > > were not built fully via the /usr/src/release procedures > > using modern builds of mdconfig and such. The below is > > taken from a different list exchange. > >=20 > > QUOTE > > I tried what it looks to me the /usr/src/release/ > > code would do initially for arm64/RPI.conf (but with > > my file naming and an explicit -u0 style of use): > >=20 > > # truncate -s3072m mmjnk.test > > # mdconfig -u0 -fmmjnk.test -x63 -y255 > > # gpart create -sMBR md0 > > md0 created > > # gpart show md0 > > =3D> 63 6291393 md0 MBR (3.0G) > > 63 6291393 - free - (3.0G) > > # gpart add -t'!12' -a512k -s50m -b1m md0 > > md0s1 added > > # gpart show md0 > > =3D> 63 6291393 md0 MBR (3.0G) > > 63 1985 - free - (993K) > > 2048 102400 1 fat32lba (50M) > > 104448 6187008 - free - (3.0G) > >=20 > > I tried the same sequence in a chroot into a 13.0-RELEASE-p11 > > tree on an aarch64 main [so: 14] machine. I got the same result. > >=20 > > But such is not what the 13.1-RELEASE build produced, for > > example: > >=20 > > # mdconfig -u0 -fFreeBSD-13.1-RELEASE-arm64-aarch64-RPI.img -x63 -y255 > > # gpart show md0 > > =3D> 63 6291393 md0 MBR (3.0G) > > 63 2016 - free - (1.0M) > > 2079 102312 1 fat32lba [active] (50M) > > 104391 6187041 2 freebsd (3.0G) > > 6291432 24 - free - (12K) > >=20 > > (There are no 13.1-STABLE snapshots available to download > > and look at.) > >=20 > > Looking at the recent 14.0-CURRENT snapshot: > >=20 > > # mdconfig -u0 -fFreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20220708-a0b956= f5ac5-256605.img -x63 -y255 > > # gpart show md0 > > =3D> 63 6291393 md0 MBR (3.0G) > > 63 2016 - free - (1.0M) > > 2079 102312 1 fat32lba [active] (50M) > > 104391 6187041 2 freebsd (3.0G) > > 6291432 24 - free - (12K) > >=20 > > So, also not matching. > > END QUOTE > >=20 >=20 > There are no local configurations on the builders that would produce > differing output. Why, though, are you specifying '-x' and '-y' to > mdconfig? I think that may be obfuscating something when attaching the > image as an md(4) device. >=20 Also, if you haven't already seen it, PR 264032 suggests there may be a bug, notably this comment: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264032#c17 I forgot to include this in my reply. Glen --G2f4KVJdnHWgnG1a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmLPLFUACgkQAxRYpUeP 4pNc3A/9HxNcnytJz1T9a2SemXttxSn9LzbkZz7HmGOu3vwHZNETP+Q6x6ypENGB /5jVyxESCLucCSohOfCBI5K7AQsxvJ9tPXKQNKB5LlXl0QoIS7MazwU5pII1XA7v g2O9bMgJ7+agaYB48fIwi9PPkON4DnkIGQ009+3z9WfoPEXWPuTAuJgTwcErGrfj IE+tyy1D4pi/yy75vbUe/gW3DkppX3Th9caW9bItjM5TaxPEwof5jU9nJn5lOS4X S+KHWdK76Cj2VCB8Z+WMUMRD36DBAX/M8gYp0gQTDlyfAm4GhxuTfIOSOtYoe5QJ w8jBLp0aaKFWsngZNP83BVvOPDQV6Dmza0tRUNqnZLSQ64n4xUwKjGs9oqKg+MpG LKBGd/7CnALTdRWIhNrjbIQhI+COoqmtt8r+NDYEgJpA8IFGe2lvIEW1OkeRYV0z 6nOz/xFSAVBmqBbdqVwEpRMRJxMgVpRT2wR1KyDw/G39s6NRatsNeu0SSzROcbkd yFRkeDrlkVfomEAvsWC319gQqUcMu4943hQSX2DOUlRIhAXn2jPXrGiYhpYcqTap jhVM80cwKBD6A0lBXpp4Noai/VrytDnTxYGD08VvQzPiF5Mj82Fe+1p0z0JfDd6Y /MQRnaqhvcEVnCUaxxcYFWGconP1cPOTW0he43lFN5wfToxKc68= =F5jM -----END PGP SIGNATURE----- --G2f4KVJdnHWgnG1a--