From nobody Mon Jul 18 14:34:40 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 4Lmkxz2Bjnz4TKhY for ; Mon, 18 Jul 2022 14:34:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lmkxy4Qlqz46r4 for ; Mon, 18 Jul 2022 14:34:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658154884; bh=YrKX9OXHj1609Xhq+OrZkcTZRoUzb9fTi6XD9owCASs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=DvCVriEGwSg8ytqKVA04aghG4EKVtQTxlbnvDLNBRliuMRIkZH3AepoD2bwanS+Gj/oozDDZS+CtYhHIEZ/G+zCkGgAwWjlkXOB8Kdh+GbkLHu7RDNsie5etqjvlgmaLqMQwmKyDqj+9d2CGh6h3uBi2w+bcRfHWKc402wqZtR/Y6zg8gG6tijXloOWk6UNnxU06Xw5d24y9TXomgGXy96ATYn9nARracCNWtPCEfiCXlR88J3u93wvWuKo/tg4blxooJ40r+Ei8xu4CtU5N13sRXL6gijo5CnVxYLNA1k6jY1QcTD3Ge7WACWRFkxXEkiQpi9BG9wZdTv+a0HIkfg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658154884; bh=EAD4CtkTMhHPg3eDMKxB2HTjzc0TB67EkJu8X84Dfnd=; h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4_JndscieCliAkc7k5OK8gD1uTqH3ghmJan iC_PzUDhFgF5rGs9f2jI7_Ty8xUnoE4X33ea9u8wlWDa.Jul0xibdrG8DoWp7lcNncijsMBbeaTF 4r57MR_ZaqfZ7BJq9tvRfvHdCgQ5vsrfUgm.NyB.mgnPZ.U0WOCbtgGlailc0sI7PWzmO2dmviOn eTW.unWkyiL7wglaOrfknkv3Dh7.4Ki62K6ksAIYmhK2t3hbNcyU30Y0ARm7ExvLP4F8j89psSVS rj0Vk8V.ZjxXMz7cEF1seQmlsQnI2EIGItQXQo3jUNLV_UX7fmMW1PrLnlsUTblw0iy1hs0shdjf ty._F1TGht5UhdV4qKhE1GxDszSry67DURwguxgWqB_lhhsU4fE6mKlvqRvcaVil7Wh2ZTryc.rF oI9A3Xi7FYPDpzUKpwnisGQV0tJiLOpb96Mfv7sKp57_yCYepVfKpzynB_E0ulJ1bfDNEJGTprLD aezYIJR77YhvrLeV5iBBw2IEdYlJ1.hwFtlxEux7Fy5t3CA38hLa4ps60LXxWr9qD7KYI4XT1q6g CP1Ma X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Mon, 18 Jul 2022 14:34:44 +0000 Received: by hermes--production-ne1-7864dcfd54-hwfdm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f05cfc7979a9e8fe0d654e53284cc075; Mon, 18 Jul 2022 14:34:42 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: git: 1dfcff294e44 - main - release: increase IMAGE_SIZE for arm, arm64, riscv From: Mark Millard In-Reply-To: <20220718140851.GA95937@FreeBSD.org> Date: Mon, 18 Jul 2022 07:34:40 -0700 Cc: dev-commits-src-main@freebsd.org, Warner Losh Content-Transfer-Encoding: quoted-printable Message-Id: <037C78F9-CA37-4D1C-8F68-22A85183E8AF@yahoo.com> References: <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> <20220714152125.GB30607@FreeBSD.org> <3E2DCFBD-CC8F-4C13-B18C-B7DA26ED8E84@yahoo.com> <20220718140851.GA95937@FreeBSD.org> To: Glen Barber X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Lmkxy4Qlqz46r4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=DvCVriEG; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.21 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; NEURAL_HAM_MEDIUM(-0.71)[-0.713]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.147:from]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-18, at 07:08, Glen Barber wrote: > On Sat, Jul 16, 2022 at 11:24:47PM -0700, Mark Millard wrote: >>=20 >>=20 >> On 2022-Jul-15, at 17:41, Mark Millard wrote: >>=20 >>> FYI for the new snapshot build of 13.1-STABLE: >>>=20 >>> # mdconfig -u0 -f = FreeBSD-13.1-STABLE-arm64-aarch64-RPI-20220715-831c6b8edda-251792.img=20 >>> # gpart show md0 >>> =3D> 63 10485697 md0 MBR (5.0G) >>> 63 2016 - free - (1.0M) >>> 2079 102312 1 fat32lba [active] (50M) >>> 104391 10381329 2 freebsd (5.0G) >>> 10485720 40 - free - (20K) >>>=20 >>> So: still has the 2016 and 2079 that do not seem to match >>> what /usr/src/release/ materials would indicate --and the >>> 2079 leads to poor alignment for a microsd cards, for >>> example. >>>=20 >>> But, at least something was produced this time. There is >>> now a 13.1-STABLE snapshot to test the handling related >>> to the new UFS/FFS superblock validations. >>=20 >> In the live build environment that makes the images, >> what is: >>=20 >> # sysctl kern.geom.part.mbr.enforce_chs >> kern.geom.part.mbr.enforce_chs: 0 >>=20 >> I ask because of the description: >>=20 >> QUOTE >> kern.geom.part.mbr.enforce_chs: 0 >> Specify how the Master Boot Record (MBR) module does = alignment. >> If this variable is set to a non-zero value, the module = will >> automatically recalculate the user-specified offset and = size for >> alignment with the CHS geometry. Otherwise the values = will be >> left unchanged. >> END QUOTE >>=20 >> In particular, the text about non-zero values leading to: >>=20 >> QUOTE >> the module will >> automatically recalculate the user-specified offset and = size for >> alignment with the CHS geometry >> END QUOTE >>=20 >> This sounds like a potential way to not end up with the >> what the /usr/src/release handling requests for the >> small board computer images. It might explain the >> mismatched alignment that I've been reporting. >>=20 >=20 > It is set to '1' on all three systems. If this is causing a problem, = it > is weird we have a problematic setting as the default. >=20 0 is the default that shows up on the systems that I have access to. It has not been the default since 2014-08-12: author Andrey V. Elsukov 2014-08-12 10:31:31 = +0000 committer Andrey V. Elsukov 2014-08-12 = 10:31:31 +0000 commit 36b16d1f7d1bb7fba28a92aaf802bf4cfbfbb41f (patch) tree cc947686f44a14cc26f61bf64cdb06d7dab35fb3 = /sys/geom/part/g_part_mbr.c parent a327e0b08aa16a3fbce30b21be7f59363db035a6 (diff) download src-36b16d1f7d1bb7fba28a92aaf802bf4cfbfbb41f.tar.gz src-36b16d1f7d1bb7fba28a92aaf802bf4cfbfbb41f.zip Turn off kern.geom.part.mbr.enforce_chs by default. Notes Notes: svn path=3D/head/; revision=3D269857 Diffstat (limited to 'sys/geom/part/g_part_mbr.c') -rw-r--r-- sys/geom/part/g_part_mbr.c 4=09 1 files changed, 2 insertions, 2 deletions diff --git a/sys/geom/part/g_part_mbr.c b/sys/geom/part/g_part_mbr.c index 8b32778d23df..5073398c954c 100644 --- a/sys/geom/part/g_part_mbr.c +++ b/sys/geom/part/g_part_mbr.c @@ -53,9 +53,9 @@ SYSCTL_DECL(_kern_geom_part); static SYSCTL_NODE(_kern_geom_part, OID_AUTO, mbr, CTLFLAG_RW, 0, "GEOM_PART_MBR Master Boot Record"); =20 -static u_int enforce_chs =3D 1; +static u_int enforce_chs =3D 0; SYSCTL_UINT(_kern_geom_part_mbr, OID_AUTO, enforce_chs, - CTLFLAG_RWTUN, &enforce_chs, 1, "Enforce alignment to CHS = addressing"); + CTLFLAG_RWTUN, &enforce_chs, 0, "Enforce alignment to CHS = addressing"); =20 #define MBRSIZE 512 =3D=3D=3D Mark Millard marklmi at yahoo.com