Date: Sun, 13 Sep 2009 10:42:57 +0200 From: Gary Jennejohn <gary.jennejohn@freenet.de> To: freebsd-hackers@freebsd.org Subject: Re: DDB capture buffer Message-ID: <20090913104257.7e042f45@ernst.jennejohn.org> In-Reply-To: <86fxasl154.fsf@ds4.des.no> References: <86fxasl154.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Sep 2009 15:53:59 +0200 Dag-Erling Sm__rgrav <des@des.no> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090913104257.7e042f45>