From owner-freebsd-stable Thu Oct 18 16: 5:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.the-i-pa.com (mail.the-i-pa.com [151.201.71.132]) by hub.freebsd.org (Postfix) with SMTP id D97BA37B405 for ; Thu, 18 Oct 2001 16:05:10 -0700 (PDT) Received: (qmail 15194 invoked from network); 18 Oct 2001 23:15:08 -0000 Received: from unknown (HELO proxy.the-i-pa.com) (151.201.71.210) by mail.the-i-pa.com with SMTP; 18 Oct 2001 23:15:08 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Bill Moran Organization: Potential Technology To: Bjarne Wichmann Petersen (by way of Bjarne Wichmann Petersen ), freebsd-stable@freebsd.org Subject: Re: spontaneous crashes with STABLE Date: Thu, 18 Oct 2001 19:08:34 -0400 X-Mailer: KMail [version 1.2] References: <20011018125533.OPYG1982.fepF.post.tele.dk@there> In-Reply-To: <20011018125533.OPYG1982.fepF.post.tele.dk@there> MIME-Version: 1.0 Message-Id: <01101819083401.00322@proxy.the-i-pa.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 18 October 2001 08:58, Bjarne Wichmann Petersen wrote: > The last week I have had several spontaneous crashes. So I've followed some > advice (compiling the kernel with 'makeoptions DEBUG=-g' and activating > savecore). > > Now, I've got some core-images, but since I'm not a programmer I really > don't know what to do with them. Tried following some of the steps outlined > in developers-handbook but I just got some errors, eg.: > > root:/sys/compile/MEKANIX$ gdb -k > 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". > (kgdb) symbol-file kernel.debug > kernel.debug: No such file or directory. The problem here appears to be that you're not in the right directory to find kernel.debug, or that kernel.debug doesn't exist. Without it, gdb won't really know what to do with the the other files. Verify that you have a kernel.debug. If you do, give the full path when you enter "symbol-file" and make sure it finds it. If you don't have a kernel.debug, rebuild a debugging kernel and try again. If the system version and kernel config file are the same as the running kernel, you won't have to wait for another crash, but can use the existing crash dump files. -- Bill Moran Potential Technology technical services (412) 793-4257 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message