Golang library and utility which supports reading Linux EDAC
Перейти к файлу
Steven Hartland 7316378e65
chore: migrate from travis to github actions (#6)
Remove travis CI and replace it with github actions.
2023-01-10 14:43:53 +00:00
.github/workflows chore: migrate from travis to github actions (#6) 2023-01-10 14:43:53 +00:00
cmd/edac-util fix(edac-util): Correct name 2019-08-28 15:18:40 +01:00
lib/edac memory: Initial support for checking memory 2019-08-27 15:46:28 +01:00
.goreleaser.yaml chore: migrate from travis to github actions (#6) 2023-01-10 14:43:53 +00:00
LICENSE Initial commit 2019-08-24 14:19:03 +01:00
README.md chore: migrate from travis to github actions (#6) 2023-01-10 14:43:53 +00:00
go.mod chore: update dependencies (#5) 2023-01-10 13:50:10 +00:00
go.sum chore: update dependencies (#5) 2023-01-10 13:50:10 +00:00

README.md

go-edac Go Report Card License GoDoc

go-edac is a golang library and utility for Linux kernel Error Detection and Correction (EDAC).

Features

  • Reading memory status
  • Resetting memory counters
  • Setting memory scrub rate

Installation

go get -u github.com/multiplay/go-edac

Requirements

In order for EDAC information to be available your system needs the required kernel modules installed and loaded.

The following command will return as list of modules if they are:

lsmod |grep edac

If you don't see any modules and you have a CPU which supports ECC memory checking, you may need a newer kernel which adds support for your specific hardware.

For example Ubuntu 16.04 LTS GA Kernel (4.4) only supports up to Intel E3-1200 v5 CPU's.

If you want to stick with 16.04 LTS and have a newer Intel CPU you can opt into the Rolling HWE Stacks

apt-get install --install-recommends linux-generic-hwe-16.04

This will update your kernel to 4.15 which supports up to the 7th Generation Intel E3's.