Date: Tue, 30 Sep 2008 11:40:26 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: Gavin Atkinson <gavin@FreeBSD.org> Cc: freebsd-stable@FreeBSD.org, Oliver Lehmann <lehmann@ans-netz.de> Subject: Re: system hangup - I'm lost Message-ID: <alpine.BSF.1.10.0809301139410.75798@fledge.watson.org> In-Reply-To: <1222770746.29968.6.camel@buffy.york.ac.uk> References: <20080929221408.54e6a03a.lehmann@ans-netz.de> <1222770746.29968.6.camel@buffy.york.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Sep 2008, Gavin Atkinson wrote: > On Mon, 2008-09-29 at 22:14 +0200, Oliver Lehmann wrote: > >> Any idea what I could do to shed some more light on this behaviour? >> Why it is happening and what really is causing it? >> Would enabling the kernel debugger really help here? I mean the system >> is really hanging up - except ping response it is not responding to >> anything except the reset switch ;) > > If it's responding to ping, you should be able to get into the debugger. > Compile it in, along with "options WITNESS" and "options WITNESS_SKIPSPIN", > and press ctrl-alt-escape when the machine next hangs. > > From there, it should hopefully be possible to get more info. It's been a > long time since I've used the debugger under 6.x so some of the more useful > commands may not exist, but the output of at least "sh locks", "sh alllocks" > and "bt" on any processes that seem to be holding locks. Also "sh pcpu" and > "ps" will help to determine exactly what was running at the time. "show lockedvnods" is also quite useful if the problem originates in the file system, as it lists vnodes that have been locked, and by which threads. Robert N M Watson Computer Laboratory University of Cambridge
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.1.10.0809301139410.75798>