From owner-freebsd-stable@FreeBSD.ORG Wed Nov 16 12:21:11 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 120BB16A41F for ; Wed, 16 Nov 2005 12:21:11 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from web36213.mail.mud.yahoo.com (web36213.mail.mud.yahoo.com [209.191.68.239]) by mx1.FreeBSD.org (Postfix) with SMTP id 9175643D49 for ; Wed, 16 Nov 2005 12:21:10 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 97304 invoked by uid 60001); 16 Nov 2005 12:21:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TzTDDquT1J8q+QLQ9YiKYZGpGyYm8uYtlTxCzcTOYuuJnAEKAf9yT02F0s82RMZxy17TKozlOtpEcRKe4ZQoymjZlTsNWPKFSW6Me7NBQvptGNch5I8k1hqwE5OWTu+aBDbM1JLyGys23wk51xOvl3uCwjXc+7sBVXxek0XayQs= ; Message-ID: <20051116122110.97302.qmail@web36213.mail.mud.yahoo.com> Received: from [218.232.14.39] by web36213.mail.mud.yahoo.com via HTTP; Wed, 16 Nov 2005 04:21:09 PST Date: Wed, 16 Nov 2005 04:21:09 -0800 (PST) From: Rob To: freebsd-stable@freebsd.org In-Reply-To: <20051115103821.GJ39882@cirb503493.alcatel.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Swapfile problem in 6? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 12:21:11 -0000 --- Peter Jeremy wrote: > On Tue, 2005-Nov-15 02:08:12 -0800, Rob wrote: > > makeoptions DEBUG=-g > > options INVARIANTS > > options WITNESS > > options WITNESS_KDB > > options KDB > > options DDB > > options DDB_NUMSYM > > options GDB > > > >Is that enough? > > If your system is headless, you probably want > 'options BREAK_TO_DEBUGGER' as well. > > First question is: Does the system still deadlock? > INVARIANTS and WITNESS will have added sanity > checks which might have picked up the problem. Indeed, I have this in my DEBUG kernel config: makeoptions DEBUG=-g options INVARIANT_SUPPORT options INVARIANTS options WITNESS options WITNESS_KDB options KDB options DDB options DDB_NUMSYM options GDB options BREAK_TO_DEBUGGER and the deadlock disappears. Does that already give a hint what's wrong? If not, then what should I remove/keep from the above list, to allow the deadlock to reappear and still be able to debug the problem? According to your info above, I would say I'd remove INVARIANT_SUPPORT, INVARIANTS, WITNESS and WITNESS_KDB; leave the others in there and try again with such a debug kernel. Right? Thanks, Rob. Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com