From owner-freebsd-stable@FreeBSD.ORG Fri May 11 21:38:31 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7BF416A405 for ; Fri, 11 May 2007 21:38:31 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B6CA113C48C for ; Fri, 11 May 2007 21:38:31 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 5BC9D1A3C19; Fri, 11 May 2007 14:39:17 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CE56B514C7; Fri, 11 May 2007 17:38:30 -0400 (EDT) Date: Fri, 11 May 2007 17:38:30 -0400 From: Kris Kennaway To: Roger Miranda Message-ID: <20070511213830.GA31604@xor.obsecurity.org> References: <200705111442.52523.rmiranda@digitalrelay.ca> <20070511210002.GA29988@xor.obsecurity.org> <200705111621.26691.rmiranda@digitalrelay.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705111621.26691.rmiranda@digitalrelay.ca> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: Hard Hang, nothing in logs / no panics 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: Fri, 11 May 2007 21:38:31 -0000 On Fri, May 11, 2007 at 04:21:25PM -0500, Roger Miranda wrote: > On Friday 11 May 2007 16:00, Kris Kennaway wrote: > > See the developers handbook chapter on kernel debugging. > > Kris, I have gone through the kernel debugging sections of the developers > handbook. The one problem is when I get a hard hang, I do not get any error > or panics. And there is no crash or dump data on reboot. Yes. I have enabled > DDB and KDB and a dumpdir (in /etc/rc.conf) > > Am I missing something in the kernel debugging section? I see "11.9 Debugging > Deadlocks" talk about Deadlocks. But at the time of the lock I have no way > of doing a ps or really anything as the system is locked up solid. You missed that the debugger is there to debug bugs (including deadlocks). Break to the debugger and obtain the necessary debugging :) Kris