Re: Boot failure in 2.5.31 BK with new TLS patch

Ingo Molnar (mingo@elte.hu)
Sat, 17 Aug 2002 20:42:39 +0200 (CEST)


On Sat, 17 Aug 2002, Linus Torvalds wrote:

> The gdt descriptor alignment really shouldn't matter, but that bogus GDT
> _size_ thing in the descriptor might do it.
>
> Right now it's set to be 0x8000, which is not a legal GDT size (it
> should be of the form n*8-1), and is nonsensical anyway (the comment
> says 2048 entries, but the fact is, we don't _have_ 2048 entries in
> there).

hm, in BK-curr it's set to:

SYMBOL_NAME(cpu_gdt_descr):
.word GDT_ENTRIES*8-1
.long SYMBOL_NAME(cpu_gdt_table)

this should be the correct value, right? Where do we have a 0x8000 size
value?

and the per-CPU GDT gets set up before being loaded.

Ingo

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