NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/56557: Boot fails with DRM assertion failure
The following reply was made to PR kern/56557; it has been noted by GNATS.
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gson%gson.org@localhost
Subject: Re: kern/56557: Boot fails with DRM assertion failure
Date: Fri, 24 Dec 2021 14:21:50 +0000
This is a multi-part message in MIME format.
--=_QSVhpQW7wL2t2ZyM0lNb6kI+m4HN6cIl
Can you get a log with the attached patch? Won't fix anything, but
the stack trace it prints might help with diagnosis.
--=_QSVhpQW7wL2t2ZyM0lNb6kI+m4HN6cIl
Content-Type: text/plain; charset="ISO-8859-1"; name="wwacqdone"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="wwacqdone.patch"
diff --git a/sys/external/bsd/drm2/linux/linux_ww_mutex.c b/sys/external/bs=
d/drm2/linux/linux_ww_mutex.c
index 5e443aa3f54b..4dd077c0b1e0 100644
--- a/sys/external/bsd/drm2/linux/linux_ww_mutex.c
+++ b/sys/external/bsd/drm2/linux/linux_ww_mutex.c
@@ -98,6 +98,7 @@ ww_acquire_init(struct ww_acquire_ctx *ctx, struct ww_cla=
ss *class)
ctx->wwx_acquire_done =3D false;
}
=20
+#include <ddb/ddb.h>
void
ww_acquire_done(struct ww_acquire_ctx *ctx)
{
@@ -105,6 +106,8 @@ ww_acquire_done(struct ww_acquire_ctx *ctx)
KASSERTMSG((ctx->wwx_owner =3D=3D curlwp),
"ctx %p owned by %p, not self (%p)", ctx, ctx->wwx_owner, curlwp);
=20
+ printf("%s ctx=3D%p\n", __func__, ctx);
+ db_stacktrace();
ctx->wwx_acquire_done =3D true;
}
=20
--=_QSVhpQW7wL2t2ZyM0lNb6kI+m4HN6cIl--
Home |
Main Index |
Thread Index |
Old Index