Re: Boot failure in 2.5.31 BK with new TLS patch

Gabriel Paubert (paubert@iram.es)
Sat, 17 Aug 2002 19:09:26 +0200


Ingo Molnar wrote:
> On Sat, 17 Aug 2002, James Bottomley wrote:
>
>
>>The boot problem only happens with my quad pentium cards, the dyad
>>pentium and 486 are fine. Originally, a voyager system with quad cards
>>just wouldn't boot (this was in the 2.2.x days). Eventually, by trial
>>and error and long debug of the boot process I discovered it would boot
>>if the GDT was 8 bytes aligned (actually, the manuals say it should be
>>16 byte aligned, so perhaps we should also add this to the Linux
>>setup.S?). [...]
>
>
> indeed it's not aligned:
>
> c010025c T cpu_gdt_descr

Hey no, it's cpu_gdt_table that must be aligned. That one does not matter,
it's only used once for the lgdt instruction...

Ingo, for the layout of the gdt also, the location of the TSS descriptor
is irrelevant AFAICT. It's only used when doing the initial LTR, after
that it's never referenced by the CPU.

Gabriel.

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