From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 18:25:28 2004 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 A021716A4CE for ; Thu, 19 Aug 2004 18:25:28 +0000 (GMT) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8A8743D49 for ; Thu, 19 Aug 2004 18:25:27 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 16237 invoked from network); 19 Aug 2004 18:25:08 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 19 Aug 2004 18:25:08 -0000 Message-ID: <4124F096.2050907@freebsd.org> Date: Thu, 19 Aug 2004 20:25:26 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a1) Gecko/20040520 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Jeremy References: <20040818200530.GA88370@abigail.blackend.org> <20040818205029.GA48028@xor.obsecurity.org> <6.1.2.0.0.20040818170232.05773880@64.7.153.2> <20040819072614.GA19508@abigail.blackend.org> <20040819090814.GM423@cirb503493.alcatel.com.au> In-Reply-To: <20040819090814.GM423@cirb503493.alcatel.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: Mike Tancsa Subject: Re: Weird performances: -CURRENT vs 5.2.1 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: Thu, 19 Aug 2004 18:25:28 -0000 Peter Jeremy wrote: > On Thu, 2004-Aug-19 09:26:14 +0200, Marc Fonvieille wrote: > >>It's not really documented. To sum up, you have to remove these lines > >>from your kernel configuration file: > >>makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols >> >># Debugging for use in -current >>options KDB # Enable kernel debugger support. >>options DDB # Support DDB. >>options GDB # Support remote GDB. > > The above lines have no measurable runtime performance impact. Removing > them just makes it far more difficult to debug any problems. I fully agree with two expections: 1. "options GDB" should not be included by default because it opens a nasty security hole via firewire and if someone has easy access to the serial ports. 2. Unattended should be compiled in. Thus the box panics and gives a traceback but will reboot after 15 seconds. -- Andre