Date: Fri, 21 Mar 2025 11:13:53 -0700 From: David Wolfskill <david@catwhisker.org> To: Mark Johnston <markj@freebsd.org> Cc: Gleb Smirnoff <glebius@freebsd.org>, "Bjoern A. Zeeb" <bz@freebsd.org>, current@freebsd.org, kib@freebsd.org, jhb@freebsd.org Subject: Re: Possible video driver issue after main-n275966-d2a55e6a9348 -> main-n275975-5963423232e8 Message-ID: <Z92sYbvTaz5gGB6U@albert.catwhisker.org> In-Reply-To: <Z90ymKjH18bkj-nc@framework> References: <Z9WJsC4FcyHQkME-@albert.catwhisker.org> <Z9jRXIe5cNnlRfhU@albert.catwhisker.org> <01qqq28n-p1s3-n82q-9n1s-7o900ro5n62q@SerrOFQ.bet> <Z9l7vF_gt57AyzDC@albert.catwhisker.org> <Z9mN10KGg_pQXbly@albert.catwhisker.org> <Z9oBNVH7l8QKHSC3@cell.glebi.us> <rp062q43-939r-3o94-7s04-06s8669nsq1s@serrofq.bet> <Z90poZ960b6jCXqn@cell.glebi.us> <Z90ymKjH18bkj-nc@framework>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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:
>
> 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
--
David H. Wolfskill david@catwhisker.org
I wonder why "Правда Социальная" ("Pravda Sotsial'naya") reminds me of
the Cold War era.
See https://www.catwhisker.org/~david/publickey.gpg for my public key.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZ92sYV8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy
RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx
5QvkAP0SmpkrpW5F4AbbxQOE5PY+LZchUna2S2PwxgS08jINRwEA1ihh3Qla5AuK
Ue3/FUyp6L0bVxpfIg7CalzUA1itfwg=
=oGDy
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z92sYbvTaz5gGB6U>
