Re: Boot failure in 2.5.31 BK with new TLS patch

Linus Torvalds (torvalds@transmeta.com)
17 Aug 2002 20:29:51 -0700


In article <Pine.LNX.4.44.0208172051280.17227-100000@localhost.localdomain>,
Ingo Molnar <mingo@elte.hu> wrote:
>
>oh, setup.S. nasty indeed. (yet) untested patch attached, booting into the
>new kernel shortly.

Ingo, this only fixes the gdt size, it doesn't fix the fact that the gdt
itself doesn't seem to be aligned at all (and to clarify, I'm talking
very much about the boot-time entry.S gdt, not the "real" run-time gdt).

Mind doing that part too?

(I can well imagine that some CPU's may not even have the low 4 bits of
the gdt register wired up at all, since they should always be zero. So
doing a lgdt or lidt with the base not being 16-byte aligned could well
result in basically loading crap into the LDT, causing the system not to
work at all).

This is also true of "bootsect_gdt", I think. Altough I have no idea
what the bios "int 15" interfaces actually do.

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