Re: Oops writing to /dev/cpu/microcode in 2.4.0-test2-pre4

From: Tigran Aivazian (tigran@veritas.com)
Date: Tue Jun 20 2000 - 15:30:08 EST


On Tue, 20 Jun 2000, Tigran Aivazian wrote:
> and what do you mean "test2"? - there is no such thing, the latest kernel
> now is 2.4.0-test1-ac22 or so (until it all gets sync'd with official
> Linus Torvalds' kernel)

ok, I take this bit back - I was so used to Alan Cox kernels that I looked
in the wrong place for latest stuff :)

But the rest of my message still applies correctly.

>
> if you want the fix immediately and can't change the kernel, just apply
> this patch to arch/i386/kernel/microcode.c:
>
> Regards,
> Tigran
>
> diff -ur linux/arch/i386/kernel/microcode.c work/arch/i386/kernel/microcode.c
> --- linux/arch/i386/kernel/microcode.c Fri Jun 9 19:05:09 2000
> +++ work/arch/i386/kernel/microcode.c Fri Jun 9 19:06:19 2000
> @@ -227,7 +227,7 @@
> }
>
> wrmsr(0x79, (unsigned int)(m->bits), 0);
> - __asm__ __volatile__ ("cpuid");
> + __asm__ __volatile__ ("cpuid" : : : "ax", "bx", "cx", "dx");
> rdmsr(0x8B, val[0], val[1]);
>
> req->err = 0;

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



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:20 EST