From owner-freebsd-hackers Sun Feb 27 20:19:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from xena.cs.waikato.ac.nz (xena.cs.waikato.ac.nz [130.217.241.20]) by hub.freebsd.org (Postfix) with ESMTP id 3B52C37B54F for ; Sun, 27 Feb 2000 20:19:44 -0800 (PST) (envelope-from joerg@lucy.cs.waikato.ac.nz) Received: from lucy.cs.waikato.ac.nz (joerg@lucy.cs.waikato.ac.nz [130.217.241.12]) by xena.cs.waikato.ac.nz (8.9.3/8.9.3) with ESMTP id RAA10632; Mon, 28 Feb 2000 17:19:34 +1300 (NZDT) Received: (from joerg@localhost) by lucy.cs.waikato.ac.nz (8.9.3/8.9.0) id RAA27401; Mon, 28 Feb 2000 17:19:31 +1300 (NZDT) Date: Mon, 28 Feb 2000 17:19:31 +1300 From: Joerg Micheel To: David Miller Cc: freebsd-hackers@freebsd.org, joerg@cs.waikato.ac.nz Subject: Re: Need help with crash debug Message-ID: <20000228171931.B24598@cs.waikato.ac.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from David Miller on Sun, Feb 27, 2000 at 10:40:47PM -0500 Organization: SCMS, The University of Waikato, Hamilton, New Zealand Project: WAND - Waikato Applied Network Dynamics, DAG Operating-System: ... drained by Solaris 7 SPARC Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David, I haven't done too much debugging with FreeBSD either. A few small notes, however. I don't think the gdb version shipped is ready to handle SMP kernels. This is a deficiency, not sure someone is working on it, I believe not. Having said this, it is probably impossible to find the kernel stack pointer (as there are several of them anyways). Which in turn will make it impossible to detect where exactly the kernel crashed. Unless you have seen the machine crashing plus the report on the console, there is not much you can hope for with this crash dump. If this error is repeatable, you may have luck. Disable SMP in the kernel and reboot, let the machine running until it crashes again. Then, have another try. FWIW, I do have a book on kernel crash dump analysis, it is for Solaris, but I expect a great deal to be identical to general kernel debugging, I haven't touched it in years. My debugging is somewhat different these days. Hope this helps. Joerg -- Joerg B. Micheel Email: Waikato Applied Network Dynamics Phone: +64 7 8384794 The University of Waikato, CompScience Fax: +64 7 8384155 Private Bag 3105 Pager: +64 868 38222 Hamilton, New Zealand Plan: TINE and the DAG's To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message