From owner-freebsd-current@FreeBSD.ORG Tue Sep 6 16:27:27 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 F091B16A420 for ; Tue, 6 Sep 2005 16:27:26 +0000 (GMT) (envelope-from Lonnie.Vanzandt@ngc.com) Received: from xcgca810.northgrum.com (xcgca810.northgrum.com [208.12.122.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 901CA43D48 for ; Tue, 6 Sep 2005 16:27:26 +0000 (GMT) (envelope-from Lonnie.Vanzandt@ngc.com) Received: from xcgca800.northgrum.com ([157.127.103.70]) by xcgca810.northgrum.com with InterScan Messaging Security Suite; Tue, 06 Sep 2005 09:27:23 -0700 Received: from xcgco501.northgrum.com ([158.114.104.53]) by xcgca800.northgrum.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Sep 2005 09:27:22 -0700 Received: from [192.168.217.128] ([158.114.106.12]) by xcgco501.northgrum.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Sep 2005 10:26:54 -0600 From: Lonnie VanZandt Organization: Northrop Grumman To: freebsd-current@freebsd.org Date: Tue, 6 Sep 2005 10:26:58 -0600 User-Agent: KMail/1.8.1 References: <20050902120114.82685.qmail@istanbul.enderunix.org> In-Reply-To: <20050902120114.82685.qmail@istanbul.enderunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509061026.59175.lonnie.vanzandt@ngc.com> X-OriginalArrivalTime: 06 Sep 2005 16:26:54.0101 (UTC) FILETIME=[CAEF4450:01C5B2FF] Subject: Re: kgdb core dumps X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lonnie.vanzandt@ngc.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 16:27:27 -0000 Confirm that your kgdb source is up to date by running ident on it. Marcel added a few changes (which are on the 5.4 stable branch and, I believe, on the 6.x latest) lonnie@aperiodic$ ident `which kgdb` /usr/bin/kgdb: $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.6.8.1 2005/05/26 09:33:28 dfr Exp $ $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc Exp $ $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc Exp $ $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc Exp $ $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc Exp $ $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc Exp $ $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc Exp $ $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.5.8.1 2005/05/26 09:33:28 dfr Exp $ $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter Exp $ $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.13.2.1 2005/05/26 09:33:28 dfr Exp $ $FreeBSD: src/gnu/usr.bin/gdb/kgdb/kthr.c,v 1.1.2.1 2005/03/01 20:35:14 obrien Exp $ $FreeBSD: src/gnu/usr.bin/gdb/kgdb/main.c,v 1.2.2.5 2005/08/16 03:52:30 marcel Exp $ $FreeBSD: src/gnu/usr.bin/gdb/kgdb/trgt.c,v 1.1.2.2 2005/08/16 03:52:30 marcel Exp $ $FreeBSD: src/gnu/usr.bin/gdb/kgdb/trgt_i386.c,v 1.1.2.1 2005/03/01 20:35:14 obrien Exp $ On Friday 02 September 2005 06:01 am, Omer Faruk Sen wrote: > Hi, I am trying to remote dump but I get the following erros. The > kernel.debug is the file that I copied to my host system from target > (remote). Why I am getting that error? Is there anything that I can do. > What I have done is: > > 1) boot system with a kernel (target) > 2) set 0x80 in device.hints on target > 3) Copy kernel.debug from target to host > 4) CTRL-ALT-ESC on target > 5) kgdb -r /dev/cuad0 /boot/kernel/kernel.debug on host and I get the > following error. By the way with the src/ that comes with 6.0BETA-3 I can't > get any output using kgdb -r /dev/cuad0 /boot/kernel/kernel.debug. I have > cvsup'ed my source files yesterday but now I get these errors: > > root@balli# kgdb -r /dev/cuad0 /boot/kernel/kernel.debug > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: > Undefined symbol "ps_pglobal_lookup"] > 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 "i386-marcel-freebsd". > Switching to remote protocol > 0xc064ad9b in kdb_enter (msg=0x26
) at > cpufunc.h:60 > 60 cpufunc.h: No such file or directory. > in cpufunc.h > Segmentation fault: 11 (core dumped) > > ----------------------- > Omer Faruk Sen > http://www.EnderUNIX.ORG > Software Development Team @ Turkey > http://www.Faruk.NET > For Public key: http://www.enderunix.org/ofsen/ofsen.asc > ******************************************************** > > > First Turkish Qmail book is out! Go check it. > Duydunuz mu! Turkiye'nin ilk Qmail kitabi cikti. > http://www.acikakademi.com/catalog/qmail/ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"