[cgl_discussion] Project Review: MCA Handler

Randy.Dunlap rddunlap at osdl.org
Fri Oct 25 22:20:04 PDT 2002


Hi Venkatesh,

I certainly agree that decoding the (MCE) registers in userspace
is preferable.  Do you have anything that does that?
Specifically the MISC register(s)?  Where is it available?

Thanks,
~Randy

On Fri, 25 Oct 2002, Pallipadi, Venkatesh wrote:

| Hi Randy,
|
| Current MCA handler does decode the STATUS information during an MCA error
| and gives some generic error details (like TLB error, cache error etc) to
| the user. But we feel that providing the complete error information
| (decoding of MISC, ADDR and looking at whether this happened in one
| particular CPU or all the CPUs, etc) can be done better by a user tool or
| event log manager rather than in the kernel. We are logging the contents of
| all the MCA related registers (including MISC register) at the time of an
| MCA error, which can then be used by the user level MCA error information
| decoder.
|
| Thanks,
| -Venkatesh
|
| -----Original Message-----
| From: Randy.Dunlap [mailto:rddunlap at osdl.org]
| Sent: Tuesday, October 22, 2002 5:16 PM
| To: Pallipadi, Venkatesh
| Cc: 'cgl_discussion at lists.osdl.org'
| Subject: Re: [cgl_discussion] Project Review: MCA Handler
|
|
| On Thu, 3 Oct 2002, Pallipadi, Venkatesh wrote:
|
| | Requirements related to MCA Handler project
| | -------------------------------------------
| | Requirement: 4.5 Platform Signal Handler
| |
| | How MCA Handler meets the CGL requirements
| | ------------------------------------------
| | This patch adds the MCA error info. onto the event log, in the format
| | specified by PSH - Event log interface spec.
| |
| | Project design information
| | --------------------------
| | This project adds a kernel patch to:
| | 1) Log the MCA errors onto event log as per the format defined in
| PSH-Event
| | Log spec.
| | 2) Add the support for logging the additional information available during
| | an MCA in P4 based system.
| |
| | Code location
| | -------------
| | The kernel patch for MCA Handler is located in the cgl development tree
| | under kernel/linux-2.4.18/patches/mca_log
| | _______________________________________________
|
| Hi Venkatesh,
|
| For Pentium 4, I think that you could add some real value to MCE reporting
| by decoding the MISC register bits to provide some useful information
| to users or whoever is trying to support a system after an MCE
| event occurs.  How about it?




More information about the cgl_discussion mailing list