From nobody Sun Aug 07 22:16:19 2022 X-Original-To: freebsd-hackers@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 4M1DFS2Q98z4XxZm for ; Sun, 7 Aug 2022 22:16:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (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 4M1DFS1F2Lz3ZbB for ; Sun, 7 Aug 2022 22:16:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659910586; bh=q1/2YIMYpXRcIrFkcVOiazxroVFTq+djsanbzkZTRA8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=CsitsPvrTeqoMEv1OTMEccJbnviA2LJFfkgr+mKNpO7o7JnBbLzNEUqt2HrVPfU/wtl5mDhJat+hbqXd+HdF8PswssZk2HWw6OpyXbC6JPK4d+fIkHDWi54fpUv6LHHZMWuRixgqWEvaFoyKUet72N3KkXsrh1JdKpedMAg8/Q4bNkuFVxjWsi7/2wO3Ch9frji8yjbUeHYjSbSNRFCatXjJxslX/xp5ufkds3nE0YF5bUdjUZA+xpJ+fiJv4GrdSVfsZbzCvqYbTulwVZWuqsDEK8MTPgJIbYnYnV5WtjDjSTR/jdCE77bCr9yVvjB/uS69T3IWpdSKTeRTeYg08A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659910586; bh=57pN1WQ9GzQB09QQBikyGMlyPAO1ZH87JxigUw1O5o8=; h=X-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wm6XrJ3MIpHfVmgr1ag.rroVOXi0zd_sD3.AoPNTOmoUw35EUuuT LZcUYEaiqVMfmfUKrJvHc0fmD4fWzX8it5Y_X8jnUhZrSBRVg2Fip.1fytiyqpzb1pTj3wJGfgzU fVfzNAO8rSfWRKmSsNDkLV7mCpO9xR.becYjRIdZ5DFYX0ToofeMUZlg54cbyvAGAi7KtylBmpcb iQzo8hjWVK3A2CeirmjSUVy0cxPXY_Ue6F2yXShMda87ncWl6qKQvbStalw0- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sun, 7 Aug 2022 22:16:26 +0000 Received: by hermes--production-ne1-6649c47445-znbvb (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID afe50112fc0d2df2592cf31fd213da77; Sun, 07 Aug 2022 22:16:21 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Looks like the arm 20220805 snapshots are still odd, so probably kern.geom.part.mbr.enforce_chs=0 was still in use From: Mark Millard In-Reply-To: <99DC4046-AB8D-4D10-9475-94A8DC89DCFA@cyclaero.com> Date: Sun, 7 Aug 2022 15:16:19 -0700 Cc: freebsd-arm , Glen Barber , Warner Losh , "Rodney W. Grimes" , Ed Maste , FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <2016951A-BF16-4780-85FF-0B77E91FBBD4@yahoo.com> References: <6AF28022-A8E7-46B3-B64E-99D217E9B6AC@yahoo.com> <99DC4046-AB8D-4D10-9475-94A8DC89DCFA@cyclaero.com> To: "Dr. Rolf Jansen" X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Rspamd-Queue-Id: 4M1DFS1F2Lz3ZbB X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 2022-Aug-7, at 14:51, Dr. Rolf Jansen = wrote: >=20 >> Am 07.08.2022 um 16:50 schrieb Mark Millard : >>=20 >> On 2022-Aug-7, at 12:32, Glen Barber wrote: >>=20 >>> Correct, it was set to =E2=80=9C0=E2=80=9D for these builds. >>>=20 >>> I honestly do not have any idea where the problems you are seeing = are creeping in. >>>=20 >>> Should it be set back to =E2=80=9C1=E2=80=9D? I=E2=80=99m not sure = how to proceed otherwise. >>=20 >> My guess is that if the release/tools/arm.subr line: >>=20 >> chroot ${CHROOTDIR} gpart add -t freebsd-ufs -a 64k = ${mddev}s2 >>=20 >> was instead (note the added -b use): >>=20 >> chroot ${CHROOTDIR} gpart add -t freebsd-ufs -b 64k -a = 64k ${mddev}s2 >>=20 >> then the line: >>=20 >> chroot ${CHROOTDIR} newfs -U -L rootfs /dev/${mddev}s2a >>=20 >> would work as expected and things would still be aligned: >> no aliasing of BSD vs. freebsd-ufs. (In part this is by >> prior steps already having achieved alignment of BSD.) >=20 > =46rom a strict mathematical stand point of view, -a is not necessary = when using -b with an aligned value. "-a" controls more than the start offset: also the size. QUOTE -a alignment If specified, then the gpart utility tries = to align start offset and partition size to be multiple of alignment value. END QUOTE I expect your statement would at most apply to the start offset, not to everything "-a" does. > Personally I don=E2=80=99t use the -a option of gpart anymore since it = started to do funny magics in front of face. If I remember correct, = gpart of the FreeBSD 9.x-RELEASES was still OK (or was it 8?). Nowadays, = I align all my storage media by employing -b with a reasonable value. >=20 I've no clue of the specifics that you are referencing and so can not = check. =3D=3D=3D Mark Millard marklmi at yahoo.com