From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 13 08:42:59 2009 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 E78C11065695 for ; Sun, 13 Sep 2009 08:42:59 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout6.freenet.de (mout6.freenet.de [IPv6:2001:748:100:40::2:8]) by mx1.freebsd.org (Postfix) with ESMTP id 8525E8FC1F for ; Sun, 13 Sep 2009 08:42:59 +0000 (UTC) Received: from [195.4.92.22] (helo=12.mx.freenet.de) by mout6.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #92) id 1Mmkfi-0001dP-En for freebsd-hackers@freebsd.org; Sun, 13 Sep 2009 10:42:58 +0200 Received: from te22e.t.pppool.de ([89.55.226.46]:22731 helo=ernst.jennejohn.org) by 12.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1Mmkfi-0001WF-7J for freebsd-hackers@freebsd.org; Sun, 13 Sep 2009 10:42:58 +0200 Date: Sun, 13 Sep 2009 10:42:57 +0200 From: Gary Jennejohn To: freebsd-hackers@freebsd.org Message-ID: <20090913104257.7e042f45@ernst.jennejohn.org> In-Reply-To: <86fxasl154.fsf@ds4.des.no> References: <86fxasl154.fsf@ds4.des.no> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.2; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: DDB capture buffer X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 08:43:00 -0000 On Sat, 12 Sep 2009 15:53:59 +0200 Dag-Erling Sm__rgrav wrote: > The default maximum size of the DDB capture buffer is 48 kB. This is > ridiculously low; it's not even nearly enough to capture the output from > the first example in textdump(4): > > script kdb.enter.panic=textdump set; capture on; show allpcpu; bt; > ps; alltrace; show alllocks; call doadump; reset > > Would anyone object to increasing it to 1 MB? DDB is opt-in, so it will > only affect people who compile it into their kernel (or -CURRENT users > who don't compile it out; they have it coming). > I'd say it's a good idea, as long as you put a warning in UPDATING for people using e.g. embedded devices with little memory. It's reasonable to expect such users to customize their kernel configs. --- Gary Jennejohn