Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX protectionfor kernel data)

From: mat
Date: Tue Nov 23 2010 - 17:55:43 EST


Le Mon, 22 Nov 2010 17:42:47 +0100,
Andi Kleen <andi@xxxxxxxxxxxxxx> a écrit :

> > That seems to be a S3 specific code path, that won't fix anything.
> > Simply do:
> >
> > echo 0 > /sys/devices/system/cpu/cpu1/online;
> > echo 1 > /sys/devices/system/cpu/cpu1/online;
> >
> > and your machine will explode..
>
> The SMP startup trampoline is copied I believe
> and only executed in real mode without page tables.
>
> So it's perhaps not the trampoline, but the early startup
> code that ends up being broken.
yes :
acpi wakeup code and smp trampoline are copied in low memory (first
1MB).

So they can't end up int the kernel data mapping ?

So it should something else.

I will try to investigate on this.

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