Re: Panic in _mtx_lock_flags+0x40

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 23 May 2003 10:30:18 -0400 (EDT)
On 23-May-2003 Jun Kuriyama wrote:
> At Thu, 22 May 2003 16:35:33 +0000 (UTC),
> John Baldwin wrote:
>> The real bug is probably here, probably a NULL pointer dereference.
>> I would use gdb to figure out what this file:line is and send the
>> report to Søren.
> 
> Unfortunatelly, I cannot dump a core of my kernel for there months.
> I'm using dumpdev="/dev/ad4s1b", but my box will freeze after
> resetting ata2 (ad4) bus.  I don't know where the problem is...

You don't need a dump, just do this:

% gdb -k kernel.debug
gdb> l *functoin+0xYYYYY

and you will get the file and line matching that frame in the DDB
trace.

-- 

John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Received on Fri May 23 2003 - 05:30:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC