From owner-freebsd-questions@FreeBSD.ORG Fri Jun 29 16:14:01 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 3C3E116A400 for ; Fri, 29 Jun 2007 16:14:01 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.182]) by mx1.freebsd.org (Postfix) with ESMTP id C5CC813C480 for ; Fri, 29 Jun 2007 16:14:00 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ik-out-1112.google.com with SMTP id c21so919148ika for ; Fri, 29 Jun 2007 09:13:59 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=sN670VuH0GmVTUBtJ8snZwtjW+jywgG0gwSwrL85tNfzzYUoQ7LXmQUragV5tGR3JJF31jo5448Or9EkJibwfNxyqFAaDH+1ay85e04wCweFfwMvxXa4484OuBMFFGP9MK77OI1SR6Qhll/OMRa7zcBqqga3acqBEdYC3vETWjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=IiATERCkA8AJcuznZXa1b8Rd2jHhrivud481UGMoGWpY8yk4697uD++LWOfkVK1WYwq3SW/nVRkJDNPErmfjJYaS6ibrOzmfnxAKH4QQG4mkdmkaSn2/nasp5+7Ex7k/h23aJMSKaR41EablwHI01oyWK1xwvY9nsuec9DcCqTQ= Received: by 10.78.193.5 with SMTP id q5mr1706376huf.1183133639398; Fri, 29 Jun 2007 09:13:59 -0700 (PDT) Received: from ?IPv6:::ffff:127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTP id 6sm23218675nfv.2007.06.29.09.13.57 (version=SSLv3 cipher=RC4-MD5); Fri, 29 Jun 2007 09:13:58 -0700 (PDT) From: Tom Evans To: Kevin Kramer In-Reply-To: <46851860.1030401@centtech.com> References: <46851860.1030401@centtech.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FfBEEJNOETIPrGATVnyk" Date: Fri, 29 Jun 2007 17:13:56 +0100 Message-Id: <1183133636.1511.66.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 16:14:01 -0000 --=-FfBEEJNOETIPrGATVnyk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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=20 > UPDATING. But what I can't find is how to turn off debugging. I've tried=20 > removing all debugging from the kernel, but it won't build. I can't find=20 > any userland debugging notes to turn it off. >=20 > It is taking literally 5 minutes to login to my host and the same amount=20 > of time to run top. Processes get stuck in kqread. Maybe this is not a=20 > 7-Current debugging problem, but I need some guidance on where to go or=20 > what to look for. >=20 > 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@ --=-FfBEEJNOETIPrGATVnyk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGhS/ElcRvFfyds/cRAiINAKCSWLv8kfwRP79TrNrVqj8jJBVy4wCgtnNj VZ2vJ2odk2oL8hR0Ou1Ic8o= =yw3z -----END PGP SIGNATURE----- --=-FfBEEJNOETIPrGATVnyk--