From owner-freebsd-current@FreeBSD.ORG Fri May 7 06:10:23 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 B27171065676 for ; Fri, 7 May 2010 06:10:23 +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 E5EA88FC21 for ; Fri, 7 May 2010 06:10:22 +0000 (UTC) Received: from [192.168.0.1] (unknown [172.16.0.46]) by work.netasq.com (Postfix) with ESMTPSA id 2BBC7740016; Fri, 7 May 2010 08:10:06 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=iso-8859-1 From: Fabien Thomas In-Reply-To: <493FBE07-D745-4DDE-B7EE-C41F626B1597@netasq.com> Date: Fri, 7 May 2010 08:10:20 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <70EFD2C3-9EA3-43D0-A1CE-9FC7FA49C50A@netasq.com> References: <4BDF2A4D.3030706@gmail.com> <493FBE07-D745-4DDE-B7EE-C41F626B1597@netasq.com> To: Jeff Roberson X-Mailer: Apple Mail (2.1078) Cc: freebsd-current@freebsd.org 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: Fri, 07 May 2010 06:10:23 -0000 fixed/works a lot better for me. > Applied and restarted portupgrade. > Will tell you tomorrow. >=20 > Fabien >=20 > Le 6 mai 2010 =E0 00:54, Jeff Roberson a =E9crit : >=20 >> 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 >=20 > _______________________________________________ > 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"