From nobody Sun May 26 13:18:03 2024 X-Original-To: freebsd-current@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 4VnK8g1VHlz5LQXs for ; Sun, 26 May 2024 13:18:11 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VnK8f4r5dz4dDH; Sun, 26 May 2024 13:18:10 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 44QDI4MQ012575; Sun, 26 May 2024 13:18:04 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 44QDI3Na012574; Sun, 26 May 2024 06:18:03 -0700 (PDT) (envelope-from david) Date: Sun, 26 May 2024 06:18:03 -0700 From: David Wolfskill To: Bojan =?utf-8?B?Tm92a292acSH?= Cc: Ryan Libby , Nuno Teixeira , Tomoaki AOKI , FreeBSD CURRENT Subject: Re: main cadd2ca217 doesn't boot Message-ID: Mail-Followup-To: David Wolfskill , Bojan =?utf-8?B?Tm92a292acSH?= , Ryan Libby , Nuno Teixeira , Tomoaki AOKI , FreeBSD CURRENT References: <20240526094658.eb49ee3046a7ea21c9329d60@dec.sakura.ne.jp> <2450aa9c-7c4d-467e-9156-f5bfefc8cce0@freebsd.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JbfMlI7zgqtXNwAt" Content-Disposition: inline In-Reply-To: <2450aa9c-7c4d-467e-9156-f5bfefc8cce0@freebsd.org> X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] X-Rspamd-Queue-Id: 4VnK8f4r5dz4dDH --JbfMlI7zgqtXNwAt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 26, 2024 at 09:29:08AM +0200, Bojan Novkovi=C4=87 wrote: > Hi, >=20 > da76d349b6b1 replaced a UMA-related symbol but missed three instances whe= re > the old one was used, ultimately causing the wrong UMA page allocator to = get > selected and crashing the machine. >=20 > I tested this patch as a part of a bigger series where it works fine, so > this slipped through cracks without getting noticed. >=20 > I've attached a patch with a fix, I can boot an amd64 VM with it applied. > Could you please give it a try and let me know if it fixes the issue? TL;DR: Yes, it fixes it (for 2 of my laptops, at least). Details: Laptops were running (e.g.): FreeBSD 15.0-CURRENT #155 main-n270400-02d15215cef2: Sat May 25 14:19:27 UT= C 2024 root@g1-70.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys= /CANARY amd64 1500018 1500018 After updating sources to main-n270407-73eb53813fe3 and doing a normal in-place source-based update (which owrked, as such), I (attempted) rebooting, which exhibited the previously-documented failures. I rebooted using the kernel from main-n270400-02d15215cef2, applied the patch, rebuilt the kernel, and ... the reboot this time was successful: FreeBSD 15.0-CURRENT #157 main-n270407-73eb53813fe3-dirty: Sun May 26 13:02= :07 UTC 2024 root@g1-51.catwhisker.org:/common/S4/obj/usr/src/amd64.amd= 64/sys/CANARY amd64 1500018 1500018 (My 3rd "development" machine -- the fastest one -- is still bogged down with Yet Another Chromium Rebuild on behalf of production machines that are due to be updated once that completes.) Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org I will not be voting for a "unified reich" in the US. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --JbfMlI7zgqtXNwAt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZlM2i18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5UljAQDkCwIHUDiIvqIu10b9yPxemsUp2Kze/WlwVxka5W3EFgEAw5lMcQtQ3smB KzzmSsh06U6WbEitWMr5KGnA06I2vQY= =fQvt -----END PGP SIGNATURE----- --JbfMlI7zgqtXNwAt--