Re: WARNING: Linux Intel Pentium Bug

Roger Espel Llima (espel@LLAIC.U-CLERMONT1.FR)
Sun, 09 Nov 1997 23:25:45 +0100

On Sat, Nov 08, 1997 at 11:50:37PM +0000, Alan Cox wrote:
> I doubt it; See
> http://www.heise.de/ct/art_ab97/9713030/
>
> static unsigned char c[4] = {0x36, 0x78, 0x38, 0x36};
> main()
> {
> asm ("movl $c, %ebx\n\t"
> "again: xchgl (%ebx), %eax\n\t"
> "movl %eax, %edx\n\t"
> "jmp again\n\t");
> }

Which, according to another post on linux-kernel, is fixed by:

set6x86 -p 0xc1 -s 0x10

--
Roger Espel Llima
espel@llaic.univ-bpclermont.fr, espel@unix.bigots.org
http://www.eleves.ens.fr:8080/home/espel/index.html