Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2010 08:10:20 +0200
From:      Fabien Thomas <fabien.thomas@netasq.com>
To:        Jeff Roberson <jroberson@jroberson.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: SUJ deadlock
Message-ID:  <70EFD2C3-9EA3-43D0-A1CE-9FC7FA49C50A@netasq.com>
In-Reply-To: <493FBE07-D745-4DDE-B7EE-C41F626B1597@netasq.com>
References:  <B9090D36-D0E7-48D9-9FE2-FD0C7A486AC3@netasq.com> <4BDF2A4D.3030706@gmail.com> <C5565B6E-11C7-46C1-97A1-81AE1D5A7C78@netasq.com> <alpine.BSF.2.00.1005051253480.1398@desktop> <493FBE07-D745-4DDE-B7EE-C41F626B1597@netasq.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70EFD2C3-9EA3-43D0-A1CE-9FC7FA49C50A>