From owner-freebsd-current@FreeBSD.ORG Sat Jul 31 20:04:51 2004 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 646FC16A4CE for ; Sat, 31 Jul 2004 20:04:51 +0000 (GMT) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ED5243D45 for ; Sat, 31 Jul 2004 20:04:50 +0000 (GMT) (envelope-from k@numeri.campus.luth.se) Received: from numeri.campus.luth.se (localhost [127.0.0.1]) i6VK4mSs085584 for ; Sat, 31 Jul 2004 22:04:48 +0200 (CEST) (envelope-from k@numeri.campus.luth.se) Received: (from k@localhost) by numeri.campus.luth.se (8.12.11/8.12.11/Submit) id i6VK4muK085579 for current@freebsd.org; Sat, 31 Jul 2004 22:04:48 +0200 (CEST) (envelope-from k) Date: Sat, 31 Jul 2004 22:04:48 +0200 From: Johan Karlsson To: current@freebsd.org Message-ID: <20040731200448.GA76271@numeri.campus.luth.se> References: <20040726133407.GA1944@numeri.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040726133407.GA1944@numeri.campus.luth.se> User-Agent: Mutt/1.4.2.1i Subject: Re: kernel crash in kdb_enter 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: Sat, 31 Jul 2004 20:04:51 -0000 On Mon, Jul 26, 2004 at 15:34 (+0200), Johan Karlsson wrote: > Hi > > I got the following in my /var/log/messsage: > > Jul 26 14:04:41 numeri kernel: Fatal trap 3: breakpoint instruction fault while in kernel mode > Jul 26 14:04:41 numeri kernel: instruction pointer = 0x8:0xc04de1c4 > Jul 26 14:04:41 numeri kernel: stack pointer = 0x10:0xde3c9304 > Jul 26 14:04:41 numeri kernel: frame pointer = 0x10:0xde3c9304 > Jul 26 14:04:41 numeri kernel: code segment = base 0x0, limit 0xfffff, type 0x1b > Jul 26 14:04:41 numeri kernel: = DPL 0, pres 1, def32 1, gran 1 > Jul 26 14:04:41 numeri kernel: processor eflags = IOPL = 0 > Jul 26 14:04:41 numeri kernel: current process = 676 (mozilla-bin) > Jul 26 14:04:41 numeri kernel: trap number = 3 > Jul 26 14:04:41 numeri kernel: panic: breakpoint instruction fault > Jul 26 14:04:41 numeri kernel: KDB: enter: panic > > > I got a gassilion of them with different stack/frame pointers but all with the > same instruction pointer. According to nm this instruction pointer is in > kdb_enter: > > k@numeri ~ >nm -n /boot/kernel/kernel | grep c04de1 > c04de114 T kdb_backtrace > c04de144 T kdb_dbbe_select > c04de198 T kdb_enter > c04de1c8 T kdb_init > > It seems likt the trap was repeated until it finally rebooted itself. > Unfortunatly I did not get a kernel dump since it just reboot without > trying to dump. > > This is with a kernel built from source from 20040719. I'm rebuilding with > current source from now and hopefully its fixed. This is still happening every now and then with a kernel from 20040726. I will compile a kernel w/o GDB and see if the problem is that I have it compile into the kernel w/o having any remote debugging setup. /Johan K -- Johan Karlsson mailto:johan@FreeBSD.org