Skip to contentSkip to conversation

Machine Check Exception in >2.4.5: Where to comment MCE out?

DISCUSSION Mike 4 participants 4 messages Oct 24, 2001 – Oct 25, 2001

lore
Share & tools
lore

Mike

author
#0 lore raw

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

#1 lore raw

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

#2 lore raw
In reply to Mike
Quoted 1 line · Mike

... 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.

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
#3 lore raw
In reply to Mike
Quoted 2 lines · Mike

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