* Why write CPER_NOTIFY_MCE to ERST when reboot
@ 2013-05-31 8:22 Joe Jin
2013-05-31 16:04 ` Jiang Liu
0 siblings, 1 reply; 4+ messages in thread
From: Joe Jin @ 2013-05-31 8:22 UTC (permalink / raw)
To: Tony Luck; +Cc: linux-acpi, david zhuang
Hi Tony,
With commit 0bb77c46 "pstore: X86 platform interface using ACPI/APEI/ERST"
when reboot the server kernel will call erst_writer() to write CPER_NOTIFY_MCE
to ERST, if reboot the server to Windows we find MCE from system event logs.
Any reason write this to ERST when reboot?
Any input will appreciate!
Regards,
Joe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Why write CPER_NOTIFY_MCE to ERST when reboot
2013-05-31 8:22 Why write CPER_NOTIFY_MCE to ERST when reboot Joe Jin
@ 2013-05-31 16:04 ` Jiang Liu
2013-05-31 18:29 ` Luck, Tony
0 siblings, 1 reply; 4+ messages in thread
From: Jiang Liu @ 2013-05-31 16:04 UTC (permalink / raw)
To: Joe Jin; +Cc: linux-acpi, david zhuang, Tony Luck
On Fri 31 May 2013 04:22:36 PM CST, Joe Jin wrote:
> Hi Tony,
>
> With commit 0bb77c46 "pstore: X86 platform interface using ACPI/APEI/ERST"
> when reboot the server kernel will call erst_writer() to write CPER_NOTIFY_MCE
> to ERST, if reboot the server to Windows we find MCE from system event logs.
> Any reason write this to ERST when reboot?
>
> Any input will appreciate!
>
> Regards,
> Joe
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Joe,
I guess this is used to handle an uncorrectable MCE. When
uncorrectable MCE happens,
the whole disk io stack is unreliable so we couldn't write MCE record
to disk, ERST is the
last method to store the MCE record and OS could retrieve this record
from ERST on next
reboot.
Regards!
Gerry
^ permalink raw reply [flat|nested] 4+ messages in thread* RE: Why write CPER_NOTIFY_MCE to ERST when reboot
2013-05-31 16:04 ` Jiang Liu
@ 2013-05-31 18:29 ` Luck, Tony
2013-06-01 1:33 ` Joe Jin
0 siblings, 1 reply; 4+ messages in thread
From: Luck, Tony @ 2013-05-31 18:29 UTC (permalink / raw)
To: Jiang Liu, Joe Jin; +Cc: linux-acpi@vger.kernel.org, david zhuang
Gerry has this right - we want to preserve the error information, but we
don't trust our kernel enough to have it write to a regular disk (perhaps
it has no access to I/O because of the error - or worse, perhaps it might
write to the wrong place or the wrong disk).
In theory data the information in the machine check banks is preserved
across a warm reset for the reboot - but in practice we may sometimes
need a power-cycle and full cold reset. Also I've heard that on some systems
the BIOS clears the banks before the OS can see them.
-Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Why write CPER_NOTIFY_MCE to ERST when reboot
2013-05-31 18:29 ` Luck, Tony
@ 2013-06-01 1:33 ` Joe Jin
0 siblings, 0 replies; 4+ messages in thread
From: Joe Jin @ 2013-06-01 1:33 UTC (permalink / raw)
To: Luck, Tony; +Cc: Jiang Liu, linux-acpi@vger.kernel.org, david zhuang
Tony and Gerry, thanks!
Regards,
Joe
On 06/01/13 02:29, Luck, Tony wrote:
> Gerry has this right - we want to preserve the error information, but we
> don't trust our kernel enough to have it write to a regular disk (perhaps
> it has no access to I/O because of the error - or worse, perhaps it might
> write to the wrong place or the wrong disk).
>
> In theory data the information in the machine check banks is preserved
> across a warm reset for the reboot - but in practice we may sometimes
> need a power-cycle and full cold reset. Also I've heard that on some systems
> the BIOS clears the banks before the OS can see them.
>
> -Tony
>
--
Oracle <http://www.oracle.com>
Joe Jin | Software Development Senior Manager | +8610.6106.5624
ORACLE | Linux and Virtualization
No. 24 Zhongguancun Software Park, Haidian District | 100193 Beijing
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-01 1:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31 8:22 Why write CPER_NOTIFY_MCE to ERST when reboot Joe Jin
2013-05-31 16:04 ` Jiang Liu
2013-05-31 18:29 ` Luck, Tony
2013-06-01 1:33 ` Joe Jin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.