From owner-freebsd-stable@FreeBSD.ORG Thu Nov 17 11:23: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 0591C16A41F for ; Thu, 17 Nov 2005 11:23:11 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from web36201.mail.mud.yahoo.com (web36201.mail.mud.yahoo.com [209.191.68.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 80DB643D45 for ; Thu, 17 Nov 2005 11:23:10 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 39454 invoked by uid 60001); 17 Nov 2005 11:23:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Yr31XltiIheEwOfTfIbAVfef/33WN4y39FlDH43W6DHg7faDyFpHYy+Gtv2CzyB7+1dcWuucIeex2KsvkvtI7Ypxk5btjHhurJZRgoL8UjHk9x5A/w3B47C+CTZ8wgGWBT0d1b/rHOf33/Wr2GqcMK51K+hkSUqWYacXyyYyXhg= ; Message-ID: <20051117112309.39452.qmail@web36201.mail.mud.yahoo.com> Received: from [147.46.44.181] by web36201.mail.mud.yahoo.com via HTTP; Thu, 17 Nov 2005 03:23:09 PST Date: Thu, 17 Nov 2005 03:23:09 -0800 (PST) From: Rob To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Thu, 17 Nov 2005 11:23:11 -0000 Peter Jeremy wrote: > On Thu, 2005-Nov-17 00:00:03 -0800, Rob wrote: > >>The only way I know of how to trigger the deadlock, is to compile >>a new kernel and the 'linking kernel' stage will lock-up the PC. >>With a regular kernel, this takes 2.5 hours until deadlock, but with >>a fully equipped debug kernel it takes about 8 hours.... > > > When the first deadlock occurs, you have a fully populated set of kernel > objects (though possibly some of them are in the buffer case rather than > on disk). You should be able to quickly reproduce the panic by running: > # cd /usr/obj/usr/src/sys/<> > # make I'm doing this right now... Although I have not got into the deadlock yet, I do get these lines in the serial console: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 12333, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22990, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22928, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22625, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22990, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22784, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23233, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23404, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23154, size: 4096 A typical snapshot of 'swapinfo' at this time is: Device 1K-blocks Used Avail Capacity /dev/ad0s1b 39848 39840 39848 100% /dev/md0 131072 54136 131072 41% Total 170920 93976 76944 55% (By the way, notice that the 'Avail' column of /dev/ad0s1b and /dev/md0 is wrong; for Total it's correct. Is this a general bug in 6 or only on my PC? ) Googling on the above swap_pager lines, I found this conversation: http://lists.freebsd.org/pipermail/freebsd-current/2005-September/055550.html which claims that DragonFly has fixed this problem. Regards, Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com