Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2010 10:17:39 -0700
From:      Patrick Mahan <pmahan@adaranet.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: odd issues with DDB vs GDB
Message-ID:  <4C925133.4060309@adaranet.com>
In-Reply-To: <201009160815.18679.jhb@freebsd.org>
References:  <4C915E4F.9030006@adaranet.com> <201009160815.18679.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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



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