From owner-freebsd-current@FreeBSD.ORG Fri May 23 07:30:08 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC8AA37B401 for ; Fri, 23 May 2003 07:30:08 -0700 (PDT) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61D4843FA3 for ; Fri, 23 May 2003 07:30:08 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 28316 invoked from network); 23 May 2003 14:30:07 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 23 May 2003 14:30:07 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h4NEU6p0064387; Fri, 23 May 2003 10:30:06 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <7my90yjwdw.wl@black.imgsrc.co.jp> Date: Fri, 23 May 2003 10:30:18 -0400 (EDT) From: John Baldwin To: Jun Kuriyama cc: Current Subject: Re: Panic in _mtx_lock_flags+0x40 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 14:30:09 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/