Re: [BUG] XFS crash using Realtime Preemption patch

From: Nathan Scott
Date: Tue Dec 21 2004 - 17:34:30 EST


On Tue, Dec 21, 2004 at 11:40:43AM +0100, Ingo Molnar wrote:
>
> * Nathaniel W. Filardo <nwf@xxxxxxxxxxxxxx> wrote:
>
> > Hello all.
> >
> > Using 2.6.10-rc3-mm1-V0.7.33-04 and TCFQ ver 17, I get the following
> > crash while trying to sync the portage tree, though the system seems
> > stable under interactive load (read: an rm command went OK prior to
> > this crash).
> >
> > Machine is a 933MHz transmeta laptop with IDE disk.
> >
> > Any more information you need?
> > --nwf;
> >
> > kernel BUG at kernel/rt.c:1210!
>
> Seems like an XFS bug at first sight. The BUG() means that an up_write()
> was done while a down_read() was active for the lock. Does XFS really do
> this?

That should definately not happen. Something has gone wrong in
mrlock.h if so - or it could be the incore xfs_inode has been
trampled on, and the mrlock writer state has become inappropriately
set.. that would cause the wrong branch to be taken and we'd end
up with the situation you've described here.

cheers.

--
Nathan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/