From owner-cvs-src@FreeBSD.ORG Tue Jan 20 11:31:05 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2FB516A4D7 for ; Tue, 20 Jan 2004 11:31:05 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 2957643D6B for ; Tue, 20 Jan 2004 11:31:02 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 97035 invoked by uid 1000); 20 Jan 2004 19:31:03 -0000 Date: Tue, 20 Jan 2004 11:31:03 -0800 (PST) From: Nate Lawson To: Mike Silbersack In-Reply-To: <20040120015009.W39477@odysseus.silby.com> Message-ID: <20040120111923.T96919@root.org> References: <200401192127.i0JLRBL3041817@repoman.freebsd.org> <20040120015009.W39477@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Poul-Henning Kamp cc: Bruce Evans Subject: Re: cvs commit: src/sys/alpha/alpha support.s src/sys/i386/i386 swtch.s src/sys/kern kern_shutdown.c src/sys/sys systm.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 19:31:05 -0000 On Tue, 20 Jan 2004, Mike Silbersack wrote: > On Tue, 20 Jan 2004, Bruce Evans wrote: > > > This can be obtained by running a debugger on the panic dump. Line > > numbers and source file names can also be printed by the debugger > > if the executable has at least line numbers in its debugging info. > > True, if you can convince the reporter to enable crashdumps and recreate > the panic... having even roughly accurate line numbers would increase the > usefulness of PRs quite a bit. Except when crashdumps don't work or are 1 GB+. There are a few things we need: * Fix crash dumps. I can't get a dump on my laptop, ATA. * Sparse crash dumps. We don't need non-anonymous pages, for instance. * Fix GDB backtrace output (patch posted by gallatin@ and obrien@ may be working on integrating it.) * Fix backtrace() so the output goes to the console log. Right now, we get output that needs to be hand-transcribed or use a serial console. * Clean up the overly verbose page fault code. Maybe put the full output under some VERBOSE option. All you need is the PC, trap type, faulting address, and curproc. Everything else is better gotten through DDB or a dump. * Fix printf on SMP. This combined with overly verbose page fault code often creates scrambled console output. There are some things that would be nice: * Dumps over Ethernet * GDB over Ethernet We don't need file/line added to the panic message since panic messages are unambiguous. -Nate