Bug 171277 - MCE arg parsing broken on x86-64
MCE arg parsing broken on x86-64
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jim Paradis
Brian Brock
Depends On:
Blocks: RHEL3U8CanFix 191141
  Show dependency treegraph
Reported: 2005-10-20 06:23 EDT by Bastien Nocera
Modified: 2013-08-05 21:16 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHSA-2006-0437
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-07-20 09:32:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
bluesmoke-arg-parsing-x86-64.patch (298 bytes, patch)
2005-10-20 06:23 EDT, Bastien Nocera
no flags Details | Diff

  None (edit)
Description Bastien Nocera 2005-10-20 06:23:45 EDT
In arch/x86-64/kernel/bluesmoke.c:
__setup("mce", mcheck_enable);

And the comment for mcheck_enable says:
/* mce=off disable machine check
   mce=nok8 disable k8 specific features
   mce=disable<NUMBER> disable bank NUMBER
   mce=enable<NUMBER> enable bank number
   mce=NUMBER mcheck timer interval number seconds.
   Can be also comma separated in a single mce= */
But the '=' passed to mcheck_enable is not taken into account, and parsing will
fail every time.

Trivial patch attached.
Comment 1 Bastien Nocera 2005-10-20 06:23:46 EDT
Created attachment 120187 [details]
Comment 2 Jim Paradis 2006-02-10 13:53:43 EST
This bug, as reported, is actually against RHEL3, not RHEL4 (the patch supplied
is a 2.4 patch, and bluesmoke.c is only seen in RHEL3).  The same problem occurs
in RHEL4, though.  I'll file a separate bug for that.
Comment 3 Ernie Petrides 2006-02-17 19:25:30 EST
A fix for this problem has just been committed to the RHEL3 U8
patch pool this evening (in kernel version 2.4.21-40.2.EL).
Comment 4 Ernie Petrides 2006-04-28 17:53:20 EDT
Adding a couple dozen bugs to CanFix list so I can complete the stupid advisory.
Comment 7 Red Hat Bugzilla 2006-07-20 09:32:21 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.