From owner-freebsd-current@FreeBSD.ORG Sat Dec 9 22:23:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7602216A501 for ; Sat, 9 Dec 2006 22:23:15 +0000 (UTC) (envelope-from dthomas53@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3F1243C9F for ; Sat, 9 Dec 2006 22:22:07 +0000 (GMT) (envelope-from dthomas53@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so940090uge for ; Sat, 09 Dec 2006 14:23:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=M6BREu3f740E9Yli07KcNKnJ1pUFgqrz43uPB+bUXkN3d18axmKbEnNjerjUQlWJJTMBHoOHkP/81oB/3l/rKwc62ARv8AYFBlAm13nKWVsHJp/EWMeNXUL/B6nxEtFkXOAQFdMSMizgGVDNRNUrjpAz5okaZ1+sW5uqwwk0U40= Received: by 10.78.201.10 with SMTP id y10mr445663huf.1165702992427; Sat, 09 Dec 2006 14:23:12 -0800 (PST) Received: by 10.78.156.2 with HTTP; Sat, 9 Dec 2006 14:23:12 -0800 (PST) Message-ID: Date: Sat, 9 Dec 2006 17:23:12 -0500 From: "David Stanford" To: davidn@datalinktech.com.au In-Reply-To: <457B352A.1040202@datalinktech.com.au> MIME-Version: 1.0 References: <4579EB08.8080704@intersonic.se> <457A3B9B.5000304@datalinktech.com.au> <457B352A.1040202@datalinktech.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: Am I an Idiot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 09 Dec 2006 22:23:15 -0000 On 12/9/06, David Nugent wrote: > > David Stanford wrote: > > This is a somewhat OT question, but what needs to be done to turn off > > the on-by-default debugging features when running -CURRENT? > Don't use WITNESS, INVARIANTS and associated options in your kernel > configuration. These enable the debugging features. > It was my assumption to simply remove this entire section to disable debugging: ===================== # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB # Support DDB. options GDB # Support remote GDB. options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed ===================== Correct? -David -- [root@fbsd ~]# fortune Happiness is just an illusion, filled with sadness and confusion.