Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2006 13:40:06 -0500
From:      "Michael R. Wayne" <wayne@staff.msen.com>
To:        freebsd-hackers@freebsd.org
Subject:   Debugging a hanging 5.4 system
Message-ID:  <20060125184006.GQ64778@manor.msen.com>

next in thread | raw e-mail | index | archive | help
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: <Adaptec aic7896/97 Ultra2 SCSI adapter>
because the machine remains pingable and I can hit <CR> 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.

/\/\ \/\/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060125184006.GQ64778>