Subject: Re: X2 with ext2 crashes
To: Hubert Feyrer <feyrer@cs.stevens.edu>
From: Burchard Steinbild <bs@ux3.de>
List: port-amd64
Date: 12/16/2005 19:44:28
Hello,

On Fri, 16 Dec 2005, Hubert Feyrer wrote:

> 
> On Fri, 16 Dec 2005, Burchard Steinbild wrote:
>> (gdb) target kcore netbsd.0.core
>> panic: lockmgr: locking against myself
>> #0  0x0000000000000104 in ?? ()
> ...
>> What do I have to do next, to get the bug tracked down?
>
> Run 'bt' for a stack backtrace of all functions called.


bt says the same:

GNU gdb 5.3nb1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "x86_64--netbsd"...(no debugging symbols 
found)...
(gdb) target kcore netbsd.0.core
panic: lockmgr: locking against myself
#0  0x0000000000000104 in ?? ()
(gdb) bt
#0  0x0000000000000104 in ?? ()
(gdb)

> If this only gives numbers, having a kernel with debugging symbols would be 
> good.
>
> Here are a few more ideas, you won't need all that 'remote' stuff:
> http://www.netbsd.org/Documentation/kernel/kgdb.html

Thanks, I'll take a look tomorrow and mail more details.

Am I right, that I should use send-pr now?  Or should I collect some more 
infos first.  (sorry, I'm new here :) ).


cu
       ...bs

---
   Burchard Steinbild   <bs@ux3.de>