From owner-freebsd-stable@FreeBSD.ORG Tue Sep 30 10:32:32 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7F53106568B for ; Tue, 30 Sep 2008 10:32:32 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw1.york.ac.uk (mail-gw1.york.ac.uk [144.32.128.246]) by mx1.freebsd.org (Postfix) with ESMTP id 5B1C78FC15 for ; Tue, 30 Sep 2008 10:32:31 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw1.york.ac.uk (8.13.6/8.13.6) with ESMTP id m8UAWRr6019877; Tue, 30 Sep 2008 11:32:28 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KkcWp-0007GL-TV; Tue, 30 Sep 2008 11:32:27 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.2/8.14.2) with ESMTP id m8UAWQFi030191; Tue, 30 Sep 2008 11:32:27 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.2/8.14.2/Submit) id m8UAWQZA030190; Tue, 30 Sep 2008 11:32:26 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: Oliver Lehmann In-Reply-To: <20080929221408.54e6a03a.lehmann@ans-netz.de> References: <20080929221408.54e6a03a.lehmann@ans-netz.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 30 Sep 2008 11:32:26 +0100 Message-Id: <1222770746.29968.6.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-stable@FreeBSD.org Subject: Re: system hangup - I'm lost X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 10:32:32 -0000 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. Gavin