From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 25 18:40:10 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED36816A41F for ; Wed, 25 Jan 2006 18:40:10 +0000 (GMT) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (manor.msen.com [148.59.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81FC043D46 for ; Wed, 25 Jan 2006 18:40:08 +0000 (GMT) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (localhost [127.0.0.1]) by manor.msen.com (8.12.9p2/8.12.9) with ESMTP id k0PIe6c1018352 for ; Wed, 25 Jan 2006 13:40:06 -0500 (EST) (envelope-from wayne@manor.msen.com) Received: (from wayne@localhost) by manor.msen.com (8.12.9p2/8.12.9/Submit) id k0PIe6MB018351 for freebsd-hackers@freebsd.org; Wed, 25 Jan 2006 13:40:06 -0500 (EST) (envelope-from wayne) Date: Wed, 25 Jan 2006 13:40:06 -0500 From: "Michael R. Wayne" To: freebsd-hackers@freebsd.org Message-ID: <20060125184006.GQ64778@manor.msen.com> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Debugging a hanging 5.4 system X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 18:40:11 -0000 We've got a system running 5.4-RELEASE-p8 that occasionally hangs while dump is running. I suspect it's something to do with the SCSI controller hanging: ahc0: because the machine remains pingable and I can hit on the serial console and keep getting login prompts until I enter a username at which point the machine ceases to respond. I've compiled a kernel with include GENERIC options ALT_BREAK_TO_DEBUGGER options KDB options DDB in preparation for the last crash. There is a portmaster hooked to the serial port so that I can telnet to it and break to the debugger. Obviously, I will not be able to create a crash dump. My question is what specific DDB commands I should use when the system is hung so that I can generate sufficient information to create a useful PR. Any other hints/tips would also be appreciated. /\/\ \/\/