From owner-freebsd-current@FreeBSD.ORG Wed Oct 13 07:52:00 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 011C416A4CE for ; Wed, 13 Oct 2004 07:51:59 +0000 (GMT) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1987F43D46 for ; Wed, 13 Oct 2004 07:51:59 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received-SPF: pass (mp2.macomnet.net: domain of maxim@macomnet.ru designates 127.0.0.1 as permitted sender) receiver=mp2.macomnet.net; client_ip=127.0.0.1; envelope-from=maxim@macomnet.ru; Received: from localhost (lctiv83v@localhost [127.0.0.1]) by mp2.macomnet.net (8.12.11/8.12.11) with ESMTP id i9D7pv3o082368; Wed, 13 Oct 2004 11:51:58 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Wed, 13 Oct 2004 11:51:57 +0400 (MSD) From: Maxim Konovalov To: Doug White In-Reply-To: <20041012101849.U41628@carver.gumbysoft.com> Message-ID: <20041013114856.I82232@mp2.macomnet.net> References: <20041012154552.E60900@mp2.macomnet.net> <20041012101849.U41628@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: sparc64 kernel dump debug 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: Wed, 13 Oct 2004 07:52:00 -0000 On Tue, 12 Oct 2004, 10:25-0700, Doug White wrote: > On Tue, 12 Oct 2004, Maxim Konovalov wrote: > > > [Bcc: sparc64@ ] > > > > Hello, > > > > Are there any ways to debug a kernel dump on sparc64? On our SMP > > netra1440: > > Did you mean Netra 1400? I don't see a Netra 1440 on sunsolve. > > The 1400 is a quad-US2; looks like a 420R from the back (?) Oops, yes, it's 1400. Haven't seen it yet. > > # strings vmcore.3 | grep panic > > panic: trap: fast data access mmu miss > > ... > > > > # kgdb kernel.debug vmcore.3 2>&1| more > > Have you tried this with the kernel.debug in your kernel compile dir, > rather than the one that savecore thinks its getting? sun4u# pwd /usr/obj/usr/src/sys/SUN4U sun4u# kgdb kernel.debug /var/crash/vmcore.3 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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 "sparc64-marcel-freebsd". /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/regcache.c:1264: internal-error: regcache_raw_supply: Assertion `regnum >= 0 && regnum < regcache->descr->nr_raw_registers' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ... As Andrew Belashov suggested I installed gdb6 and it seems it works. -- Maxim Konovalov