Subject: Re: X2 with ext2 crashes
To: Burchard Steinbild <bs@ux3.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-amd64
Date: 12/16/2005 20:15:36
On Fri, Dec 16, 2005 at 07:44:28PM +0100, Burchard Steinbild wrote:
> 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
Intead of getting a core dump and trying to read it in gdb, try to get a stack
trace from the in-kernel debugger ('tr' at the db> prompt).
You'll need a kernel compiled with options DDB for this (and ddb.onpanic set
to 1, but this should be the default)
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--