Re: Machine check expection panic

From: Dave Jones (davej@redhat.com)
Date: Wed Aug 06 2003 - 19:27:25 EST


On Wed, Aug 06, 2003 at 04:35:33PM -0600, kwijibo@zianet.com wrote:
> I decided to try out the new 2.6.0-test2 kernel today but
> ran into a problem with booting it. I narrowed it down to
> the machine check expection code. I get this panic from
> the kernel on boot when I have it enabled
>
> CPU0: Machine Check Exception: 0000000000000004
> Bank0: f606200000000833 at 0000000000004040
> Kernel Panic: CPU context corrupt.

Missing bugfix from the 2.4 kernel that never made it into 2.5.
Chances are you (and many other Athlon users) are hitting problems
because of this chunk..

Already pushed to Linus/Andrew.

                Dave

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1055 -> 1.1056
# arch/i386/kernel/cpu/mcheck/k7.c 1.4 -> 1.5
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/08/06 davej@redhat.com 1.1056
# stupid off by one
# --------------------------------------------
#
diff -Nru a/arch/i386/kernel/cpu/mcheck/k7.c b/arch/i386/kernel/cpu/mcheck/k7.c
--- a/arch/i386/kernel/cpu/mcheck/k7.c Wed Aug 6 23:33:40 2003
+++ b/arch/i386/kernel/cpu/mcheck/k7.c Wed Aug 6 23:33:40 2003
@@ -81,7 +81,7 @@
                 wrmsr (MSR_IA32_MCG_CTL, 0xffffffff, 0xffffffff);
         nr_mce_banks = l & 0xff;
 
- for (i=0; i<nr_mce_banks; i++) {
+ for (i=1; i<nr_mce_banks; i++) {
                 wrmsr (MSR_IA32_MC0_CTL+4*i, 0xffffffff, 0xffffffff);
                 wrmsr (MSR_IA32_MC0_STATUS+4*i, 0x0, 0x0);
         }
-
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/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:36 EST