* WHEA Support in Linux
@ 2013-02-26 4:40 Manish
2013-02-27 2:32 ` Chen Gong
0 siblings, 1 reply; 5+ messages in thread
From: Manish @ 2013-02-26 4:40 UTC (permalink / raw)
To: linux-acpi
Can anyone please help me with details regarding the support for WHEA (Windows
Hardware Error Architecture) in Linux.
WHEA is supported in ACPI 5.0 specification.
I'm getting the following message in dmesg log from RHEL:
"ERST: Could not register with persistent Store"
Can anyone please let me know the scenarios in which this message comes.
Thanks,
Manish.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: WHEA Support in Linux
2013-02-26 4:40 WHEA Support in Linux Manish
@ 2013-02-27 2:32 ` Chen Gong
2013-02-27 19:00 ` Manish
0 siblings, 1 reply; 5+ messages in thread
From: Chen Gong @ 2013-02-27 2:32 UTC (permalink / raw)
To: Manish; +Cc: linux-acpi
[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]
On Tue, Feb 26, 2013 at 04:40:37AM +0000, Manish wrote:
> Date: Tue, 26 Feb 2013 04:40:37 +0000 (UTC)
> From: Manish <manishmj1111@gmail.com>
> To: linux-acpi@vger.kernel.org
> Subject: WHEA Support in Linux
> User-Agent: Loom/3.14 (http://gmane.org/)
>
> Can anyone please help me with details regarding the support for WHEA (Windows
> Hardware Error Architecture) in Linux.
> WHEA is supported in ACPI 5.0 specification.
Linux since 3.1(in fact, earlier than it in different style) has supported
WHEA.
>
> I'm getting the following message in dmesg log from RHEL:
> "ERST: Could not register with persistent Store"
>
You don't compile pstore support/not loaded it as a module/no NVRAM, UEFI
runtime space etc. to support pstore.
> Can anyone please let me know the scenarios in which this message comes.
>
> Thanks,
> Manish.
>
>
>
> --
> 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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* WHEA Support in Linux
@ 2013-02-27 18:57 Manish
0 siblings, 0 replies; 5+ messages in thread
From: Manish @ 2013-02-27 18:57 UTC (permalink / raw)
To: linux-acpi
On Wed, Feb 27, 2013 at 8:02 AM, Chen Gong <gong.chen@linux.intel.com> wrote:
On Tue, Feb 26, 2013 at 04:40:37AM +0000, Manish wrote:
> Date: Tue, 26 Feb 2013 04:40:37 +0000 (UTC)
> From: Manish <manishmj1111@gmail.com>
> To: linux-acpi@vger.kernel.org
> Subject: WHEA Support in Linux
> User-Agent: Loom/3.14 (http://gmane.org/)
>
> Can anyone please help me with details regarding the support for WHEA (Windows
> Hardware Error Architecture) in Linux.
> WHEA is supported in ACPI 5.0 specification.
Linux since 3.1(in fact, earlier than it in different style) has supported
WHEA.
>
> I'm getting the following message in dmesg log from RHEL:
> "ERST: Could not register with persistent Store"
>
You don't compile pstore support/not loaded it as a module/no NVRAM, UEFI
runtime space etc. to support pstore.
> Can anyone please let me know the scenarios in which this message comes.
>
> Thanks,
> Manish.
>
>
>
> --
> 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
Thanks a lot for your quick response.
How can we verify that a particular version of Linux supports WHEA or not?
In Windows, OSC method returns supported for the Whea Guid. Is it applicable
also for Linux?
Also, In Windows, Error Injection is verifed using WHEA HCT tool and the Errors
are logged in Windows Event Viewer.
Is there any such facility/tool available to verify Error Injection (EINJ) stack
in Linux?
Also, Is there any thing similar to Event Viewer of Windows in Linux where the
WHEA errors are logged?
(I'm getting the following message in dmesg log from RHEL:
"ERST: Could not register with persistent Store"
You don't compile pstore support/not loaded it as a module/no NVRAM, UEFI
runtime space etc. to support pstore.)
As far as the above ERST dmesg is concerned, We are allocating a Flash Block for
ERST persistent store.
The persistent store will be used for Writing/Reading an Error Record by the OS
in case of NMI when fatal error is generated.
In case of fatal error from Windows, it is getting written as well as Read
correctly from the persistent store and error is avialable in Event Viewer.
Can you please help us to narrow down this issue or in what could be reason for
this error in dmesg log.
Regards,
Manish.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: WHEA Support in Linux
2013-02-27 2:32 ` Chen Gong
@ 2013-02-27 19:00 ` Manish
2013-03-01 2:16 ` Chen Gong
0 siblings, 1 reply; 5+ messages in thread
From: Manish @ 2013-02-27 19:00 UTC (permalink / raw)
To: linux-acpi
Thanks a lot for your quick response.
How can we verify that a particular version of Linux supports WHEA or not?
In Windows, OSC method returns supported for the Whea Guid. Is it applicable
also for Linux?
Also, In Windows, Error Injection is verifed using WHEA HCT tool and the Errors
are logged in Windows Event Viewer.
Is there any such facility/tool available to verify Error Injection (EINJ) stack
in Linux?
Also, Is there any thing similar to Event Viewer of Windows in Linux where the
WHEA errors are logged?
(I'm getting the following message in dmesg log from RHEL:
"ERST: Could not register with persistent Store"
You don't compile pstore support/not loaded it as a module/no NVRAM, UEFI
runtime space etc. to support pstore.)
As far as the above ERST dmesg is concerned, We are allocating a Flash Block for
ERST persistent store.
The persistent store will be used for Writing/Reading an Error Record by the OS
in case of NMI when fatal error is generated.
In case of fatal error from Windows, it is getting written as well as Read
correctly from the persistent store and error is avialable in Event Viewer.
Can you please help us to narrow down this issue or in what could be reason for
this error in dmesg log.
Regards,
Manish.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: WHEA Support in Linux
2013-02-27 19:00 ` Manish
@ 2013-03-01 2:16 ` Chen Gong
0 siblings, 0 replies; 5+ messages in thread
From: Chen Gong @ 2013-03-01 2:16 UTC (permalink / raw)
To: Manish; +Cc: linux-acpi
[-- Attachment #1: Type: text/plain, Size: 2751 bytes --]
On Wed, Feb 27, 2013 at 07:00:53PM +0000, Manish wrote:
> Date: Wed, 27 Feb 2013 19:00:53 +0000 (UTC)
> From: Manish <manishmj1111@gmail.com>
> To: linux-acpi@vger.kernel.org
> Subject: Re: WHEA Support in Linux
> User-Agent: Loom/3.14 (http://gmane.org/)
>
>
>
>
> Thanks a lot for your quick response.
>
> How can we verify that a particular version of Linux supports WHEA or not?
> In Windows, OSC method returns supported for the Whea Guid. Is it applicable
> also for Linux?
Check drivers/acpi/apei/ghes.c, in function ghes_init:
...
rc = apei_osc_setup();
if (rc == 0 && osc_sb_apei_support_acked)
pr_info(GHES_PFX "APEI firmware first mode is enabled by APEI bit and WHEA _OSC.\n");
else if (rc == 0 && !osc_sb_apei_support_acked)
pr_info(GHES_PFX "APEI firmware first mode is enabled by WHEA _OSC.\n");
else if (rc && osc_sb_apei_support_acked)
pr_info(GHES_PFX "APEI firmware first mode is enabled by APEI bit.\n");
else
pr_info(GHES_PFX "Failed to enable APEI firmware first mode.\n");
...
search above output from dmesg.
> Also, In Windows, Error Injection is verifed using WHEA HCT tool and the Errors
> are logged in Windows Event Viewer.
> Is there any such facility/tool available to verify Error Injection (EINJ) stack
> in Linux?
modprob einj and use it. Or you can use mce-test to do this:
git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/mce-test.git
read it and use it by youself.
> Also, Is there any thing similar to Event Viewer of Windows in Linux where the
> WHEA errors are logged?
>
mcelog
> (I'm getting the following message in dmesg log from RHEL:
> "ERST: Could not register with persistent Store"
>
> You don't compile pstore support/not loaded it as a module/no NVRAM, UEFI
> runtime space etc. to support pstore.)
>
> As far as the above ERST dmesg is concerned, We are allocating a Flash Block for
> ERST persistent store.
> The persistent store will be used for Writing/Reading an Error Record by the OS
> in case of NMI when fatal error is generated.
Yes.
> In case of fatal error from Windows, it is getting written as well as Read
> correctly from the persistent store and error is avialable in Event Viewer.
Same as in Linux.
> Can you please help us to narrow down this issue or in what could be reason for
> this error in dmesg log.
In simple, pstore doesn't work, so the root cause in pstore. You need to
debug it. Use kernel command parameter pstore.backend=erst to try again.
The prerequisite is your platform supports erst.
(Check dmesg to find "Error Record Serialization Table (ERST) support is
initialized.")
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-03-01 2:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-26 4:40 WHEA Support in Linux Manish
2013-02-27 2:32 ` Chen Gong
2013-02-27 19:00 ` Manish
2013-03-01 2:16 ` Chen Gong
-- strict thread matches above, loose matches on Subject: below --
2013-02-27 18:57 Manish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox