From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 07:00:34 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 383AF37B401 for ; Wed, 23 Jul 2003 07:00:34 -0700 (PDT) Received: from lightpro1.lightpro.de (lightpro1.lightpro.de [213.133.98.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F5A943FB1 for ; Wed, 23 Jul 2003 07:00:33 -0700 (PDT) (envelope-from h@schmalzbauer.de) Received: from akima (ppp-62-245-210-236.mnet-online.de [62.245.210.236]) (authenticated bits=0)h6NE0RS5002604; Wed, 23 Jul 2003 16:00:30 +0200 From: "Harald Schmalzbauer" To: "Bob Bishop" Date: Wed, 23 Jul 2003 16:00:00 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <4.3.2.7.2.20030723143542.031e8948@gid.co.uk> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 14:00:34 -0000 Bob Bishop wrote: > 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-han > dbook/kerneldebug.html, > particularly 17.4 and 17.5 Thank you for that link, but that's far too complicated for me. I don't know any of these gdb commands, I can just feed you with info. So as far as I understand, if I enter "trace" at any point when I see "db>" that's what you need is it? Thanks, -Harry > > 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 >