From nobody Fri Mar 21 18:13:53 2025 X-Original-To: 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 4ZK9Yw3FvYz5rVd7 for ; Fri, 21 Mar 2025 18:13:56 +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 4ZK9Yv6r9Xz3TXC; Fri, 21 Mar 2025 18:13:55 +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 52LIDrda089398; Fri, 21 Mar 2025 18:13:53 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 52LIDrkR089397; Fri, 21 Mar 2025 11:13:53 -0700 (PDT) (envelope-from david) Date: Fri, 21 Mar 2025 11:13:53 -0700 From: David Wolfskill To: Mark Johnston Cc: Gleb Smirnoff , "Bjoern A. Zeeb" , current@freebsd.org, kib@freebsd.org, jhb@freebsd.org Subject: Re: Possible video driver issue after main-n275966-d2a55e6a9348 -> main-n275975-5963423232e8 Message-ID: Mail-Followup-To: David Wolfskill , Mark Johnston , Gleb Smirnoff , "Bjoern A. Zeeb" , current@freebsd.org, kib@freebsd.org, jhb@freebsd.org References: <01qqq28n-p1s3-n82q-9n1s-7o900ro5n62q@SerrOFQ.bet> 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="CycUQaKe6iBTE1/9" Content-Disposition: inline In-Reply-To: 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: 4ZK9Yv6r9Xz3TXC X-Spamd-Bar: ---- --CycUQaKe6iBTE1/9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 21, 2025 at 05:34:16AM -0400, Mark Johnston wrote: > ... > Can we not just add redzone padding to contigmalloc() allocations? > Compile-tested patch below: >=20 > diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c > index b1347b15e651..0b76e633b04a 100644 > --- a/sys/kern/kern_malloc.c > +++ b/sys/kern/kern_malloc.c > .... OK; I started on my secondary laptop (Dell Precision 7520) after having updated the "head" slice to main-n276038-6f6c07813b38 earlier today (and verifying that the initial concern -- that it doesn't appear to complete the transition to graphics mode and appears to emulate a power-consuming brick) still occurred), I copied that slice to a different one (slice 2) and booted from it (using a kernel from a week ago, main-n275966-d2a55e6a9348). I then applied Mark's patch (cleanly; no issues), then rebuilt/installed the kernel, then rebooted... and stuff seems to work; I get the xdm login banner Just Fine (and I can ssh into it normally). Any other testing I can do? Peace, david --=20 David H. Wolfskill david@catwhisker.org I wonder why "=D0=9F=D1=80=D0=B0=D0=B2=D0=B4=D0=B0 =D0=A1=D0=BE=D1=86=D0=B8= =D0=B0=D0=BB=D1=8C=D0=BD=D0=B0=D1=8F" ("Pravda Sotsial'naya") reminds me of the Cold War era. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --CycUQaKe6iBTE1/9 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZ92sYV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5QvkAP0SmpkrpW5F4AbbxQOE5PY+LZchUna2S2PwxgS08jINRwEA1ihh3Qla5AuK Ue3/FUyp6L0bVxpfIg7CalzUA1itfwg= =oGDy -----END PGP SIGNATURE----- --CycUQaKe6iBTE1/9--