Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 20:25:26 +0200
From:      Andre Oppermann <andre@freebsd.org>
To:        Peter Jeremy <PeterJeremy@optushome.com.au>
Cc:        Mike Tancsa <mike@sentex.net>
Subject:   Re: Weird performances: -CURRENT vs 5.2.1
Message-ID:  <4124F096.2050907@freebsd.org>
In-Reply-To: <20040819090814.GM423@cirb503493.alcatel.com.au>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4124F096.2050907>