Re: i386 doublefault handler is broken with CONFIG_DEBUG_SPINLOCK

From: Andi Kleen
Date: Thu Aug 09 2007 - 19:16:30 EST


On Thu, Aug 09, 2007 at 02:40:27PM -0400, Chuck Ebbert wrote:
> On 08/09/2007 01:49 PM, Andi Kleen wrote:
> > Chuck Ebbert <cebbert@xxxxxxxxxx> writes:
> >> Initializing FS in the doublefault_tss should fix it.
> >>
> >> Signed-off-by: Chuck Ebbert <cebbert@xxxxxxxxxx>
> >>
> >> ---
> >>
> >> NOTE: not even compile tested.
> >
> > Can you please test it?
> >
>
> It compiles but I can't really test it further right now.

I tested it. Even on a box without spin lock debugging I get a hard
hang after

double fault, gdt at c1404000 [255 bytes]

even though it should have printed the registers.
So it looks like there is more broken in the DF handler than just
this.

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