Date: Fri, 23 May 2003 10:30:18 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Jun Kuriyama <kuriyama@imgsrc.co.jp> Cc: Current <freebsd-current@FreeBSD.org> Subject: Re: Panic in _mtx_lock_flags+0x40 Message-ID: <XFMail.20030523103018.jhb@FreeBSD.org> In-Reply-To: <7my90yjwdw.wl@black.imgsrc.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030523103018.jhb>