Re: BUG: soft lockup detected on CPU#0! (linux-2.6.14)

From: Ingo Molnar
Date: Tue Nov 08 2005 - 07:28:24 EST



* Neil Brown <neilb@xxxxxxx> wrote:

> > Nov 4 12:46:44 p133 kernel: BUG: soft lockup detected on CPU#0!
>
> This seems to suggest that the nfsd thread is always runnable, which
> implies a read-only load with everything in cache - at least for the
> 10 seconds leading up to each of these errors. Is that likely?
>
> The following patch might fix it. Please let me know the result.

> try_to_freeze();
> + cond_resched();

and the NFSd thread never considered preemption in any other place? Then
this should be the right fix - the kernel was running under !PREEMPT.

Ingo
-
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/