Date: Wed, 20 Nov 2002 14:36:03 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: John Baldwin <jhb@FreeBSD.org> Cc: "Joel M. Baldwin" <qumqats@outel.org>, current@FreeBSD.org Subject: Re: panic: sleeping thread owns a mutex - with debug traceback Message-ID: <Pine.NEB.3.96L.1021120143519.44513M-100000@fledge.watson.org> In-Reply-To: <XFMail.20021120142746.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Nov 2002, John Baldwin wrote: > Erm. Did you manage to look at dmesg then? If so, you would have seen > warnings from WITNESS earlier about the locks messing up. If you can > reproduce this and are letting it sit unattended, a better plan might be > to turn on witness_ddb (it's a kernel option, loader tunable, and sysctl > (debug.witness_ddb)) and then when the original error occurs it will > drop into the debugger with a very useful error message. You can also > get a useful trace at that point from ddb. Word of warning though: either use a serial console, or don't run X, because you'll want to be able to see the debugger, and you probably won't get much warning when it's about to drop in. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1021120143519.44513M-100000>