From owner-freebsd-questions Thu Dec 2 9:27:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 9B4DF14DE0 for ; Thu, 2 Dec 1999 09:27:15 -0800 (PST) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (cs1-gw.cs.binghamton.edu [128.226.171.72]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id MAA21125; Thu, 2 Dec 1999 12:26:29 -0500 (EST) Date: Thu, 2 Dec 1999 11:13:36 -0500 (EST) From: Zhihui Zhang To: Colin Campbell Cc: freebsd-questions@FreeBSD.ORG Subject: Re: kernel debugging and page faults In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 2 Dec 1999, Colin Campbell wrote: > Hi, > > We are getting an unacceptbale number of "panic: page fault" reboots. I am > assuming the problem is hardware (seems to be the consensus from the > archives) but to investigate further I have enabled core dumps etc. When I > try a "gdb -k" here's what happens: > > # gdb -k /sys/compile/MYKERNEL/kernel vmcore.4 > GNU gdb 4.18 > Copyright 1998 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-unknown-freebsd"... > IdlePTD 2588672 > > kernel symbol `gd_curpcb' not found. > (kgdb) where > No stack. > (kgdb) q > > Is this a gdb (version) problem or what? The archives revealed two people > asking this question and no answers. > I am no expert on this. I did the same thing on FreeBSD 3.2-release and saw the same thing. I repeat the process on FreeBSD 3.3-Release, everything works fine. I searched the archives, someone posted a message saying that there is a bug in gdb in FreeBSD 3.2-Release. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message