How EDAC get error notification? from BIOS or memory controller?

GreenTea

We use EDAC to monitor errors on DIMM.

I would like to know how EDAC gets notifications about these errors?

  1. The memory controller has interrupt to notify BIOS, then BIOS notify OS?
  2. The memory controller has interrupt to notify OS directly.

I saw a keyword: firmware first mode.

Is this setting set on BIOS or Memory controller?

dmesg log:

dmesg | grep -i edac
[    0.346813] EDAC MC: Ver: 3.0.0
[   97.989717] EDAC sbridge: Seeking for: PCI ID 8086:2fa0
[   97.989727] EDAC sbridge: Seeking for: PCI ID 8086:2fa0
[   97.989738] EDAC sbridge: Seeking for: PCI ID 8086:2f60
[   97.989742] EDAC sbridge: Seeking for: PCI ID 8086:2fa8
[   97.989745] EDAC sbridge: Seeking for: PCI ID 8086:2fa8
[   97.989748] EDAC sbridge: Seeking for: PCI ID 8086:2f71
[   97.989751] EDAC sbridge: Seeking for: PCI ID 8086:2f71
[   97.989754] EDAC sbridge: Seeking for: PCI ID 8086:2faa
[   97.989757] EDAC sbridge: Seeking for: PCI ID 8086:2faa
...
...
[   97.989927] EDAC MC0: Giving out device to module sb_edac controller Haswell SrcID#0_Ha#0: DEV 0000:ff:12.0 (INTERRUPT)
[   97.989927] EDAC sbridge:  Ver: 1.1.2
Stephen Kitt

It depends, both are possible.

Memory controllers report errors once; reading them clears them. Thus, if both the system firmware and the operating system try to handle EDAC reporting, races ensue and errors can be missed. So a correctly-configured system will either handle EDAC reporting directly, keeping the system firmware out of the loop, or use GHES (the appropriate ACPI driver) to receive errors from the system firmware (this is “firmware first” mode).

With a “direct” EDAC driver, the operating system handles the machine check exception (MCE) from the memory controller, and does whatever is appropriate. With a GHES driver, the system firmware handles the MCE, and informs the operating system.

You’ll see different logs depending on the scenario. The boot logs should tell you what the configuration is, and if a memory error occurs, you’ll see a “software event” in the logs in firmware first mode, a “hardware event” otherwise.

The settings can be a combination of firmware settings and operating system configuration. On most “low-end” ECC-capable systems, there’s no corresponding firmware configuration (just access to the logs), and it’s all up to the operating system. Higher-end servers will have settings in their firmware configuration and a description of how to configure them (and the operating system) in their manual.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How to get the keycodes from the controller in javascript?

分類Dev

How to get pending view controller from method?

分類Dev

How to get an image from another app's notification?

分類Dev

Is there a way to get the BIOS version from inside Linux?

分類Dev

How to remove time and memory from 500 internal error - Zend

分類Dev

How to Get record from controller to Ajax laravel 5.2

分類Dev

How to get IP address from controller's hosts file in Ansible?

分類Dev

Laravel: How to get data from View/Blade and pass to Controller

分類Dev

How to get JSON through ajax call from angularJS controller to MVC5 controller

分類Dev

How do I send a notification to Slack from AWS CloudWatch on a specific error?

分類Dev

Get data from array in Controller

分類Dev

How Do I get Notification Intent Data

分類Dev

Returning a generic error-view from an area: how to use the _Layout wrapper from the controller's area?

分類Dev

How to Forward $scope from Controller to Controller AngularJS?

分類Dev

How can I get real time script error notification when using a google sheets onOpen() function that errors out?

分類Dev

pandas get_group causes memory error

分類Dev

I am using @PathVariable from springframework. When I try to return view page name from controller, I get 404 error

分類Dev

Does kernel: EDAC MC0: UE page 0x0 point to bad memory, a driver, or something else?

分類Dev

How to get notification inside an application in kubernetes when configmaps get updated

分類Dev

Error on finding controller from Laravel API Router

分類Dev

AngularJS from $scope get form controller programmatically

分類Dev

I cannot get component from controller in ExtJS

分類Dev

Can not get string value from controller

分類Dev

How to get "error" message from @commands.has_role()

分類Dev

How can I get the [Error]: from NSError.description?

分類Dev

Get notification from nested async call with dispatch_group_async

分類Dev

How can I get memory card information?

分類Dev

How to get drop down value in Controller in MVC

分類Dev

Rails: How to get the name of the previous action in controller

Related 関連記事

  1. 1

    How to get the keycodes from the controller in javascript?

  2. 2

    How to get pending view controller from method?

  3. 3

    How to get an image from another app's notification?

  4. 4

    Is there a way to get the BIOS version from inside Linux?

  5. 5

    How to remove time and memory from 500 internal error - Zend

  6. 6

    How to Get record from controller to Ajax laravel 5.2

  7. 7

    How to get IP address from controller's hosts file in Ansible?

  8. 8

    Laravel: How to get data from View/Blade and pass to Controller

  9. 9

    How to get JSON through ajax call from angularJS controller to MVC5 controller

  10. 10

    How do I send a notification to Slack from AWS CloudWatch on a specific error?

  11. 11

    Get data from array in Controller

  12. 12

    How Do I get Notification Intent Data

  13. 13

    Returning a generic error-view from an area: how to use the _Layout wrapper from the controller's area?

  14. 14

    How to Forward $scope from Controller to Controller AngularJS?

  15. 15

    How can I get real time script error notification when using a google sheets onOpen() function that errors out?

  16. 16

    pandas get_group causes memory error

  17. 17

    I am using @PathVariable from springframework. When I try to return view page name from controller, I get 404 error

  18. 18

    Does kernel: EDAC MC0: UE page 0x0 point to bad memory, a driver, or something else?

  19. 19

    How to get notification inside an application in kubernetes when configmaps get updated

  20. 20

    Error on finding controller from Laravel API Router

  21. 21

    AngularJS from $scope get form controller programmatically

  22. 22

    I cannot get component from controller in ExtJS

  23. 23

    Can not get string value from controller

  24. 24

    How to get "error" message from @commands.has_role()

  25. 25

    How can I get the [Error]: from NSError.description?

  26. 26

    Get notification from nested async call with dispatch_group_async

  27. 27

    How can I get memory card information?

  28. 28

    How to get drop down value in Controller in MVC

  29. 29

    Rails: How to get the name of the previous action in controller

ホットタグ

アーカイブ