From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 16 17:32:28 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC3FE106567A for ; Thu, 16 Sep 2010 17:32:28 +0000 (UTC) (envelope-from PMahan@adaranet.com) Received: from barracuda.adaranet.com (smtp.adaranet.com [72.5.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7C3618FC18 for ; Thu, 16 Sep 2010 17:32:28 +0000 (UTC) X-ASG-Debug-ID: 1284657190-506121d90001-P5m3U7 Received: from SJ-EXCH-1.adaranet.com ([10.10.1.29]) by barracuda.adaranet.com with ESMTP id uITb2gqaTP51pqht; Thu, 16 Sep 2010 10:13:10 -0700 (PDT) X-Barracuda-Envelope-From: PMahan@adaranet.com Received: from mycroft.adaranet.com (10.10.24.100) by SJ-EXCH-1.adaranet.com (10.10.1.29) with Microsoft SMTP Server (TLS) id 8.1.240.5; Thu, 16 Sep 2010 10:13:10 -0700 Message-ID: <4C925133.4060309@adaranet.com> X-Barracuda-BBL-IP: nil Date: Thu, 16 Sep 2010 10:17:39 -0700 From: Patrick Mahan User-Agent: Thunderbird 2.0.0.23 (X11/20091021) MIME-Version: 1.0 To: John Baldwin X-ASG-Orig-Subj: Re: odd issues with DDB vs GDB References: <4C915E4F.9030006@adaranet.com> <201009160815.18679.jhb@freebsd.org> In-Reply-To: <201009160815.18679.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: UNKNOWN[10.10.1.29] X-Barracuda-Start-Time: 1284657190 X-Barracuda-URL: http://172.16.10.203:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at adaranet.com Cc: "freebsd-hackers@freebsd.org" Subject: Re: odd issues with DDB vs GDB 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: Thu, 16 Sep 2010 17:32:28 -0000 John Baldwin wrote: > On Wednesday, September 15, 2010 8:01:19 pm Patrick Mahan wrote: >> All, >> >> I am trying to debug a system hang occurring on my HP Proliant G6 running some of our >> kernel software. I am seeing that under certain test loads, the system will hang-up >> complete, no keyboard, no console, etc. I suspect it is some of the kernel code that >> I have inherited that contains a lot of locking (lots of data structure, each having >> their own mutex lock (sleepable)). > > You need to use 'kgdb' rather than 'gdb' on kernel.debug. > Doh! *-( I'm so used to gdb even though I use kgdb for looking at crash dumps. Thanks, Patrick