From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 06:36:18 2003 Return-Path: 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 13F7F37B401 for ; Wed, 23 Jul 2003 06:36:18 -0700 (PDT) Received: from gidgate.gid.co.uk (gid.co.uk [194.32.164.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB89443FAF for ; Wed, 23 Jul 2003 06:36:16 -0700 (PDT) (envelope-from rb@gid.co.uk) Received: (from rb@localhost) by gidgate.gid.co.uk (8.11.6/8.11.6) id h6NDa6334472; Wed, 23 Jul 2003 14:36:06 +0100 (BST) (envelope-from rb) Message-Id: <4.3.2.7.2.20030723143542.031e8948@gid.co.uk> X-Sender: rbmail@gid.co.uk X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 23 Jul 2003 14:36:04 +0100 To: "Harald Schmalzbauer" From: Bob Bishop Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: current@freebsd.org Subject: Re: How to provide useful debug info X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 13:36:18 -0000 Hi, Generally the minimum required information is /var/run/dmesg.boot and a stack backtrace at the crash. See http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html, particularly 17.4 and 17.5 At 13:13 23/7/03, Harald Schmalzbauer wrote: >Hi all, > >I have currently at least 4 scenarios when my 5.1-release crashes on >different hardware. >So I built a kernel (GENERIC) with debugging symbols and DDB option. >Now I'd like to provide usefull info about the following crashes: > >1. booting from degraded RAID1 with HPT372 (machine crashes and I see db>) > >2. crash when unquirked UMASS is unpluged > >3. crash when /stand/sysinstall is called after some uptime > >4. machine hangs when LPT is removed in BIOS and ACPI enabled (no crash, I >think I have to enter DDB with ctrl-alt-esc?) > >I read the FAQ (18.13. How can I make the most of the data I see when my >kernel panics?) but I think this isn't applicable to my crash when the >machine crashes before rc.conf can be read. And I really don't understand >what he's talking about :( but perhaps I can help. > >Please tell me if I should do something like "trace" and write it down or >something like that. > >Thanks, > >-Harry -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254