Re: 2.6.16-rc[1-5]: soft lockups on Athlon64 X2

From: Andrew Morton
Date: Wed Mar 01 2006 - 05:21:23 EST


Max Kellermann <max@xxxxxxxxxxx> wrote:
>
> On 2006/03/01 07:19, Andrew Morton <akpm@xxxxxxxx> wrote:
> > Strange. I did remove a cond_resched() from
> > invalidate_mapping_pages() so that it could be run under spinlock
> > but I cannot believe that you had so many pages cached that the
> > invalidate took more than ten seconds.
> >
> > Does the machine recover and otherwise work OK?
>
> The mount indeed took more than ten (wallclock) seconds during which
> the lockups occured, and after that it seemed usable (I rebooted
> shortly after because I feared fs corruption). Normally, this mount
> takes 2 seconds or so - it's a crypted 200GB XFS partition. The same
> goes for the "bugged" kernel with "nosmp": mount is finished quickly.
>

How is it encrypted? (With which kernel encryption stuff?)

I guess it'd be useful to see where all that time is spent, if you have
time. Enable CONFIG_PROFILING, boot with `profile=1', do:

readprofile -r
mount ...
readprofile -n -v -m /boot/System.map | sort -n -k 3 | tail -40

(Make sure it's the correct System.map).
-
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/