From owner-freebsd-hackers@FreeBSD.ORG Thu May 17 15:00:41 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BAF41065670 for ; Thu, 17 May 2012 15:00:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 50FFA8FC17 for ; Thu, 17 May 2012 15:00:41 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C6D21B9BB; Thu, 17 May 2012 11:00:40 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 17 May 2012 10:42:08 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p13; KDE/4.5.5; amd64; ; ) References: <20120516003020.82068pr8h9dyqjfw@webmail.teithe.gr> <20120516140033.GB2470@dft-labs.eu> In-Reply-To: <20120516140033.GB2470@dft-labs.eu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201205171042.08597.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 17 May 2012 11:00:40 -0400 (EDT) Cc: Mateusz Guzik , tzabal@it.teithe.gr Subject: Re: GSoC Project: Automated Kernel Crash Reporting System - Discussion X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 15:00:41 -0000 On Wednesday, May 16, 2012 10:00:33 am Mateusz Guzik wrote: > Are you going to support textdumps? > > I would like to note that some machines have swap space only for > textdumps, so I think you should support these. > > ddb is equiped with a lot of cool commands that show various important > debugging information(e.g. show alllocks). AFAIK kgdb doesn't have such > facilities so you will have to implement those first if you decide to > use it (btw I think these would be useful even without this project). > Take a look at tools/debugscripts. > > That being said, I would give a priority to support for textdumps (and > in case kgdb support cannot be finished in time, I would make sure that > the project is expendable enough to support information obtained from > kgdb and possibly other sources). Note that it is not hard to support these in kgdb. I have gdb scripts that already provide equivalents to 'show lockchain' and many other commands. However, the problem with textdumps (which are still worth reporting), is that for hard bugs a developer often wants to ask the submitter for specific information, and won't know what to ask for until looking at the general information. There simply isn't a way to grab all the possible information up front in textdumps. -- John Baldwin