From owner-freebsd-current@FreeBSD.ORG Thu May 6 21:20:01 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 A4A1D1065673 for ; Thu, 6 May 2010 21:20:01 +0000 (UTC) (envelope-from fabien.thomas@netasq.com) Received: from work.netasq.com (mars.netasq.com [91.212.116.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0DAEF8FC1A for ; Thu, 6 May 2010 21:20:00 +0000 (UTC) Received: from [192.168.0.1] (unknown [172.16.0.46]) by work.netasq.com (Postfix) with ESMTPSA id E424C740007; Thu, 6 May 2010 23:19:41 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=iso-8859-1 From: Fabien Thomas In-Reply-To: Date: Thu, 6 May 2010 23:19:50 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <493FBE07-D745-4DDE-B7EE-C41F626B1597@netasq.com> References: <4BDF2A4D.3030706@gmail.com> To: Jeff Roberson X-Mailer: Apple Mail (2.1078) 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: Thu, 06 May 2010 21:20:01 -0000 Applied and restarted portupgrade. Will tell you tomorrow. Fabien Le 6 mai 2010 =E0 00:54, Jeff Roberson a =E9crit : > On Mon, 3 May 2010, Fabien Thomas wrote: >=20 >>>> Hi Jeff, >>>>=20 >>>> 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. >>>=20 >>> 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. >>>=20 >>> Right now it occurs everytime I attempt to do the portmaster -a = upgrade >>> of X/KDE on this system. >>=20 >> I've spotted this during multiple portupgrade -aR :) >=20 > Can anyone who has experienced this hang test this patch: >=20 > Thanks, > Jeff >=20 > Index: ffs_softdep.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- ffs_softdep.c (revision 207480) > +++ ffs_softdep.c (working copy) > @@ -9301,7 +9301,7 @@ > hadchanges =3D 1; > } > /* Leave this inodeblock dirty until it's in the list. */ > - if ((inodedep->id_state & (UNLINKED | DEPCOMPLETE)) =3D=3D = UNLINKED) > + if ((inodedep->id_state & (UNLINKED | UNLINKONLIST)) =3D=3D = UNLINKED) > hadchanges =3D 1; > /* > * If we had to rollback the inode allocation because of >=20 >=20 >>=20 >> 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" >>=20