From owner-freebsd-stable@FreeBSD.ORG Tue Aug 2 22:32:28 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D53516A41F for ; Tue, 2 Aug 2005 22:32:28 +0000 (GMT) (envelope-from dpk@dpk.net) Received: from shared10.hosting.flyingcroc.net (shared10.hosting.flyingcroc.net [207.246.149.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAF6243D46 for ; Tue, 2 Aug 2005 22:32:27 +0000 (GMT) (envelope-from dpk@dpk.net) Received: from shared10.hosting.flyingcroc.net (localhost [127.0.0.1]) by shared10.hosting.flyingcroc.net (8.12.9p2/8.12.10) with ESMTP id j72MWRrR007420; Tue, 2 Aug 2005 15:32:27 -0700 (PDT) Received: from localhost (dpk@localhost) by shared10.hosting.flyingcroc.net (8.12.9p2/8.12.10/Submit) with ESMTP id j72MWRYY007414; Tue, 2 Aug 2005 15:32:27 -0700 (PDT) X-Authentication-Warning: shared10.hosting.flyingcroc.net: dpk owned process doing -bs Date: Tue, 2 Aug 2005 15:32:27 -0700 (PDT) From: dpk X-X-Sender: dpk@shared10.hosting.flyingcroc.net To: Mitch Parks In-Reply-To: <20050802141148.W871@kuoi.asui.uidaho.edu> Message-ID: <20050802153038.C64406@shared10.hosting.flyingcroc.net> References: <20050802133920.J64406@shared10.hosting.flyingcroc.net> <20050802141148.W871@kuoi.asui.uidaho.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: Kernel debugging, 5.4-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2005 22:32:28 -0000 On Tue, 2 Aug 2005, Mitch Parks wrote: > man kgdb > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html Thank you. I'm using kgdb now, and I get the following error: $ kgdb -r /dev/cuaa0 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 0xc035646c in kdb_enter () Segmentation fault The two servers (the panic one and the one running kgdb) are identical, except the one running kgdb is not using PAE. The kernel.debug file is identical to the remote server however.