From nobody Fri Jul 22 12:45:30 2022 X-Original-To: freebsd-arm@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 4Lq8L933bFz4X99n; Fri, 22 Jul 2022 12:45:37 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 4Lq8L92VZMz47Pk; Fri, 22 Jul 2022 12:45:37 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658493937; 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=NnJ8lEqdJCuFZpt9e/wxLzLYrRQXukPqKx84HIRFrho=; b=foB8dNU8AlLO/h7qNozF3bri4SOvydDEF3Q/lZgUA28EYwy6M8mU0+GO2HASXsDQ+kxsu7 7IJEOFRD5h2xqJZlLbB4gmSYVIo3rmTASRQYSJhmdYRVzqc7Z5slpIk7vFKV37qF3E895p TyqJyS0h5s9rpE82MxF5oBGptnqrNLk06SlnWXBVtxMm4RIjL+BNUFPLN2O7JdT/CU/jRc Vv3f6m/F22ftYQMRb7KExLGSOtHgd0Cfu1rgsvRQje7cpsx1n1eBo7xwfl5sGPjd1Excmy C9Z4db2yDrsQHEH1XwZIWlKIpUg6Yia04VT6oFN2eI7LMSKMrYDIlB19OFDM6g== 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 AD6D1131C; Fri, 22 Jul 2022 12:45:36 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Fri, 22 Jul 2022 12:45:30 +0000 From: Glen Barber To: Mark Millard Cc: Warner Losh , Ed Maste , "Rodney W. Grimes" , dev-commits-src-main@freebsd.org, "Dr. Rolf Jansen" , freebsd-arm Subject: Re: git: 1dfcff294e44 - main - release: increase IMAGE_SIZE for arm, arm64, riscv [odd alignment for SBC images] Message-ID: <20220722124530.GM30607@FreeBSD.org> References: <16906DFD-286B-4D59-9438-CA9CD9026C55@yahoo.com> <202207171708.26HH81bA062303@gndrsh.dnsmgr.net> <20220719204245.GL30607@FreeBSD.org> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+YUU1pJ1U2q9bSvj" Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658493937; 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=NnJ8lEqdJCuFZpt9e/wxLzLYrRQXukPqKx84HIRFrho=; b=UgCF1JZH424aTKW7AZmdxoXGlewH/5l5xafiwY0tFwQF9EOiMrFvCzORJpS4e7kn7ABIiE tR9UTZh5alnsJIApSEqaUjEJfk9PzDRedV48cCJR1pniQjV+cGC9ygHAnh0fX85kkmVkub h3Gz826DacEtKkv4q5jw7q7NjKj6VWhSPeDXttwb/qkEbehvWGKgpOnNPr8DuyLxteQmBo iwwq5Y7pj4gUnmAOy+wN0vbNYQMsGyAI4kWQnTI4WUuMrk+AWypcaHtV7pGQTRyDeaUg4t 87q+1XUu3lSQb+zhHppGsxN3+xTmP2NlEyGY5bm3KE5p4xGow33hLvV705Nn2A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658493937; a=rsa-sha256; cv=none; b=lnlEqMVCsJ7MrKUET9HsNqIYEqHrUr51paVTSys6uBX9kYY32UJ+wkK6UfD7RdV8q0ogAW 7JamVMRLb8QzYN4gHodscB19dDtRRutClvMkD4LsBHAErd3mScrg+/+KXa8GwIXB5Uj9N9 EJVAt0aBPaacgebIUePkqJe6O4TID2RPHCYfAykHx9n0TqQkRVvqGFM6aTgvTf6DkjvmfZ 3NcrTnzr1Qf4n8a5hbdLziPxXL8qMA56PXpbSIN3BjZlSme141ExZDowbWKp6vSdR/+xfS zRIA7kpVkAt6u98Zq1aFpxlmh76CcWHj44THoEEzEm1qslGzcDWD2oQFZDRcWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --+YUU1pJ1U2q9bSvj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 20, 2022 at 10:08:20AM -0700, Mark Millard wrote: > On 2022-Jul-19, at 15:45, Warner Losh wrote: >=20 > > On Tue, Jul 19, 2022, 2:42 PM Glen Barber wrote: > >>> . . . > >>=20 > >> My concern with this is kern.geom.part.mbr.enforce_chs is always '1' on > >> the builders, which effectively means all arm builds will fail every > >> time. I think we need to get to the actual root of the problem here, > >> versus applying band-aids to a shark bite. > >=20 > > I think this is the actual problem. While such pedantry can be useful f= or ancient picky BIOSes, these days only the LBA fields of the MBR are used= =2E And the fake BIOS geometry is crazy weird. We can likely tweak it to be= more friendly.=20 > >=20 > > Why is it =3D=3D 1 on the builder? If people want things aligned gpart = has an option for years iirc to do that. And we want that off for the build= s. >=20 > Would it seem appropriate to use a week (this week?) to do all > the snapshot builds with the builders all set to have > kern.geom.part.mbr.enforce_chs=3D0 and see what breaks, if anything? > (Sort of a snapshot exp run.) >=20 Sorry, it is too late for this week's snapshots, but I will set it to '0' for next week's (I was out the past two days, so did not see this email until now). > More than just the SBC images might be involved for > kern.geom.part.mbr.enforce_ch consequences, for all I know. >=20 This vaguely rings a bell. I am still trying to find the original problem being reported that caused me to set enforce_csh=3D1, but I have not had much luck. I do recall it being a strange case that enforce_csh=3D1 had apparently fixed (or masked something else going on). Glen --+YUU1pJ1U2q9bSvj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmLam+UACgkQAxRYpUeP 4pPlgRAAiqGGR4NL+bdFSruB/9DycuO7ZyVVUMb7hFMcQDiCzBF3cR30WVRzsWtW KGaXttwBMC7dMPsYdChR8K6PZeQALWRbov5SoVW4xoh64jGLuYDimVY955C0t9P1 Sha0wnp+JYDkXZEnxI43MTBaJKEob9HHUqJJrowEkFQkDyL37wYsruVg2TcmTyjV a9PoNumpIlRX8bsZAcRLNLL70Yl9MFw+bEIJsVhJpPC0Y+k7sxq1pEolOrZJWO+z mrjRByNASZwiBy1qolTDhhCFXdc4jie3hFzr+D8sHM1/phr/rkmG9nv7qlQyP5+b SE9ld/qrHzoes60jWw8j9fJp+w4GwCjHV9ZkrLl2lfBMRd9+HW5sJzKuSG73wftJ nZW2bm+2FAfpwzLQZKPJeFKcHcBnmRpGU/ffPtzWO8yeVTC+EMTYxfabIYcuJ/ZY keNQ+DCIf6OByqacILOy2WrPFJt8fncI/JTwWjFTXZuhahk/0ZK2R327fV9zREXc FoHBm2TEAo5gUICNcnozdP9PNH3F15VfALn1S4Uh3oB5TAtUSnASyYrHIwCJ2Dif jImyajnj8Ml8ioawWpRxMhOdmRPVDTngLPZhB9X4FZ89i1jt0CNNbrZ00CKqWfwR 28uBqUy3luB8+zY6SHAJSYFfIV9Idz7LXcw0jQ3SmonKs+tar+M= =OPeq -----END PGP SIGNATURE----- --+YUU1pJ1U2q9bSvj--