From owner-freebsd-current@FreeBSD.ORG Wed May 5 22:54:15 2010 Return-Path: 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 928A71065674 for ; Wed, 5 May 2010 22:54:15 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-qy0-f201.google.com (mail-qy0-f201.google.com [209.85.221.201]) by mx1.freebsd.org (Postfix) with ESMTP id 548C68FC1D for ; Wed, 5 May 2010 22:54:14 +0000 (UTC) Received: by qyk39 with SMTP id 39so8670517qyk.8 for ; Wed, 05 May 2010 15:54:10 -0700 (PDT) Received: by 10.224.36.148 with SMTP id t20mr721251qad.229.1273100049988; Wed, 05 May 2010 15:54:09 -0700 (PDT) Received: from [10.0.1.198] (udp022762uds.hawaiiantel.net [72.234.79.107]) by mx.google.com with ESMTPS id bv23sm237909qcb.1.2010.05.05.15.54.07 (version=SSLv3 cipher=RC4-MD5); Wed, 05 May 2010 15:54:08 -0700 (PDT) Date: Wed, 5 May 2010 12:54:07 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Fabien Thomas In-Reply-To: Message-ID: References: <4BDF2A4D.3030706@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, Mark Atkinson Subject: Re: SUJ deadlock 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: Wed, 05 May 2010 22:54:15 -0000 On Mon, 3 May 2010, Fabien Thomas wrote: >>> Hi Jeff, >>> >>> I'm with r207548 now and since some days i've system deadlock. >>> It seems related to SUJ with process waiting on suspfs or ppwait. >> >> I've also seen it stalled in suspfs, but this information is way better >> than what I was able to garner. I was only able to tell via ctrl-t on >> a stalled 'ls' process in a terminal before hard booting. >> >> Right now it occurs everytime I attempt to do the portmaster -a upgrade >> of X/KDE on this system. > > I've spotted this during multiple portupgrade -aR :) Can anyone who has experienced this hang test this patch: Thanks, Jeff Index: ffs_softdep.c =================================================================== --- ffs_softdep.c (revision 207480) +++ ffs_softdep.c (working copy) @@ -9301,7 +9301,7 @@ hadchanges = 1; } /* Leave this inodeblock dirty until it's in the list. */ - if ((inodedep->id_state & (UNLINKED | DEPCOMPLETE)) == UNLINKED) + if ((inodedep->id_state & (UNLINKED | UNLINKONLIST)) == UNLINKED) hadchanges = 1; /* * If we had to rollback the inode allocation because of > > Fabien > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >