2001-10-24 23:27:02

by Mike

[permalink] [raw]
Subject: Machine Check Exception in >2.4.5: Where to comment MCE out?

Hi,

I searched the LKML archive and found a 3-post-thread relevant to my
problem between July 4th-6th entitled:
"Re: 2.4.6: Machine Check Exception: 0x 106BE0 (type 0x 9)" here:
<http://uwsg.iu.edu/hypermail/linux/kernel/0107.0/0470.html>
Like the Compaq mentioned in that post, I _also_ have a Compaq LTE 52xx
laptop (5250) which chokes on bootup.
I let this problem sit since 2.4.5 came out because that's when this
problem first occurred. Only recently did I get around to hunt down a
fix.

I understood that I was to "comment out" "MCE" in the sources.
So I did a 'grep -r 'MCE' ./' in the sources and found bunch of
occurrences, the first ones being:
./include/asm-i386/processor.h:#define X86_CR4_MCE 0x0040
/* Machine check enable */
./include/asm-i386/cpufeature.h:#define X86_FEATURE_MCE (0*32+
7) /* Machine Check Architecture */

So now my question is: what exactly should I comment out? One? Both? In
_all_ sources?
Please bear with me as I know next to nothing of C (or any language for
that matter).

Also: i'm not an LKML-subscriber so could you please CC: this to me?
Thanks and cheers,
-Mike
<maneman AT gmx DOT net>

?:.?˛???m???ka??b???zwm??b????˛???m?b??????z_???^n?r???z???h?????&???z??z?ޗ?+??+zf???h???~????i?????????z_???j:+v???)ߣ?m?S?y??杶????i??????????i


2001-10-24 23:34:21

by Alan

[permalink] [raw]
Subject: Re: Machine Check Exception in >2.4.5: Where to comment MCE out?

This is fixed in a current -ac tree. We default to not enabling MCE on
pentiums unless asked to do so. Too many pentium boards have the external
part of the MCE handling un or miswired

2001-10-24 23:38:06

by Dave Jones

[permalink] [raw]
Subject: Re: Machine Check Exception in >2.4.5: Where to comment MCE out?

On Thu, 25 Oct 2001, Mike wrote:

> ... various disable MCE stuff..

You don't need to recompile your kernel. You can boot with 'nomce'
as an argument, and the code gets disabled.

This has been in -ac, and -linus for a few revisions now.

regards,

Dave.

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2001-10-25 21:24:25

by Ricky Beam

[permalink] [raw]
Subject: Re: Machine Check Exception in >2.4.5: Where to comment MCE out?

On Thu, 25 Oct 2001, Mike wrote:
>So now my question is: what exactly should I comment out? One? Both? In
>_all_ sources?

The file containing all the MCE "garbage" is called bluesmoke.c. It should
be obvious how to disable it upon inspection of the file.

As others have stated, "nomce" as a startup option also works. I forget
when that entered the linus tree.

--Ricky