Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2010 12:54:07 -1000 (HST)
From:      Jeff Roberson <jroberson@jroberson.net>
To:        Fabien Thomas <fabien.thomas@netasq.com>
Cc:        freebsd-current@freebsd.org, Mark Atkinson <atkin901@gmail.com>
Subject:   Re: SUJ deadlock
Message-ID:  <alpine.BSF.2.00.1005051253480.1398@desktop>
In-Reply-To: <C5565B6E-11C7-46C1-97A1-81AE1D5A7C78@netasq.com>
References:  <B9090D36-D0E7-48D9-9FE2-FD0C7A486AC3@netasq.com> <4BDF2A4D.3030706@gmail.com> <C5565B6E-11C7-46C1-97A1-81AE1D5A7C78@netasq.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1005051253480.1398>