From owner-freebsd-questions@FreeBSD.ORG Fri Jun 29 16:35:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BAF4116A469 for ; Fri, 29 Jun 2007 16:35:13 +0000 (UTC) (envelope-from kramer@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9A59613C4AE for ; Fri, 29 Jun 2007 16:35:12 +0000 (UTC) (envelope-from kramer@centtech.com) Received: from roddick.centtech.com (dhcp-171-153.centtech.com [10.177.171.153]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l5TGZB4X090937; Fri, 29 Jun 2007 11:35:11 -0500 (CDT) (envelope-from kramer@centtech.com) Message-ID: <468534BF.2060004@centtech.com> Date: Fri, 29 Jun 2007 11:35:11 -0500 From: Kevin Kramer User-Agent: Thunderbird 2.0.0.0 (X11/20070424) MIME-Version: 1.0 To: Tom Evans References: <46851860.1030401@centtech.com> <1183133636.1511.66.camel@localhost> In-Reply-To: <1183133636.1511.66.camel@localhost> X-Virus-Scanned: ClamAV 0.88.4/3555/Fri Jun 29 10:12:20 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 7-Current: turn off debugging (kqread?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kramer@centtech.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 16:35:13 -0000 yes. that is where I have started, but I cannot get buildkernel to build with those commented out. the UPDATING file also lists heavy debugging turned on in userland, which I can't track down to any config files. I've cvsup'ng now to see if I can build today. Tom Evans wrote the following on 06/29/07 11:13: > On Fri, 2007-06-29 at 09:34 -0500, Kevin Kramer wrote: > >> I know that debugging is turned on everywhere on 7-Current and I've read >> UPDATING. But what I can't find is how to turn off debugging. I've tried >> removing all debugging from the kernel, but it won't build. I can't find >> any userland debugging notes to turn it off. >> >> It is taking literally 5 minutes to login to my host and the same amount >> of time to run top. Processes get stuck in kqread. Maybe this is not a >> 7-Current debugging problem, but I need some guidance on where to go or >> what to look for. >> >> Any help appreciated. >> > > In your kernel config, remove these lines if they exist: > > 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 > > You can leave the "options {K,D,G}DB" lines, they incur virtually now > performance costs. > > You would get more help (possibly) if you tried posting on current@ > >