Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2019 11:59:48 +0200
From:      Axel Rau <Axel.Rau@chaos1.de>
To:        freebsd-hardware@freebsd.org
Subject:   How to enable ECC with AsRock X470D4U and Ryzen 7
Message-ID:  <1CDE8233-4EC1-47C1-922C-A1BE89EDF342@Chaos1.DE>

next in thread | raw e-mail | index | archive | help


--Apple-Mail=_5709D9CC-F173-4A15-ACA5-3D4E15BD7C9E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi all,

both, the mainboard (with recent firmware P3.10) and Ryzen 7 CPU
should work with ECC RAM (while not officially supported).
RAM is KSM26ED8/16ME DDR4-2666 ECC DIMM.

AFAIdmesg and dmidecode do not indicate ECC (see below), I think.
Data path should show additional ECC bits.

There is only one related BIOS setting, I=E2=80=99m aware of.
Changing this from AUTO to ENABLED makes no difference.

Quick answer would be very helpfull.

Thanks Axel
PS: parts from dmesg and demidecode:

---<<BOOT>>---
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights =
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.1-RC1 r353428 GENERIC amd64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on =
LLVM 8.0.1)
VT(efifb): resolution 800x600
CPU: AMD Ryzen 7 3700X 8-Core Processor              (3593.32-MHz =
K8-class CPU)
  Origin=3D"AuthenticAMD"  Id=3D0x870f10  Family=3D0x17  Model=3D0x71  =
Stepping=3D0
  =
Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  =
Features2=3D0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOV=
BE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD =
Features2=3D0x75c237ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSV=
W,IBS,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX,<b30>>
  Structured Extended =
Features=3D0x219c91a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,PQE,RDSEED,ADX,SMAP=
,CLFLUSHOPT,CLWB,SHA>
  Structured Extended Features2=3D0x400004<UMIP,RDPID>
  XSAVE Features=3D0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  AMD Extended Feature Extensions ID =
EBX=3D0x10eb757<CLZERO,IRPerf,XSaveErPtr>
  SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768
  TSC: P-state invariant, performance statistics
real memory  =3D 68719476736 (65536 MB)
avail memory =3D 66818646016 (63723 MB)

. . .

root@b5:~ # dmidecode  -t memory
# dmidecode 3.2
# SMBIOS entry point at 0xed2b3000
Found SMBIOS entry point in EFI, reading table from /dev/mem.
SMBIOS 3.2 present.

Handle 0x000F, DMI type 16, 23 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: Multi-bit ECC
	Maximum Capacity: 128 GB
	Error Information Handle: 0x000E
	Number Of Devices: 4

Handle 0x0017, DMI type 17, 84 bytes
Memory Device
	Array Handle: 0x000F
	Error Information Handle: 0x0016
	Total Width: 128 bits
	Data Width: 64 bits
	Size: 16384 MB
	Form Factor: DIMM
	Set: None
	Locator: DIMM 0
	Bank Locator: P0 CHANNEL A
	Type: DDR4
	Type Detail: Synchronous Unbuffered (Unregistered)
	Speed: 2666 MT/s
	Manufacturer: Kingston
	Serial Number: E72F267D
	Asset Tag: Not Specified
	Part Number: 9965745-002.A00G
	Rank: 2
	Configured Memory Speed: 2400 MT/s
	Minimum Voltage: 1.2 V
	Maximum Voltage: 1.2 V
	Configured Voltage: 1.2 V
	Memory Technology: DRAM
	Memory Operating Mode Capability: Volatile memory
	Firmware Version: Unknown
	Module Manufacturer ID: Bank 2, Hex 0x98
	Module Product ID: Unknown
	Memory Subsystem Controller Manufacturer ID: Unknown
	Memory Subsystem Controller Product ID: Unknown
	Non-Volatile Size: None
	Volatile Size: 16 kB
	Cache Size: None
	Logical Size: None

. . .
---
PGP-Key: CDE74120  =E2=98=80  computing @ chaos claudius


--Apple-Mail=_5709D9CC-F173-4A15-ACA5-3D4E15BD7C9E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2
Comment: GPGTools - http://gpgtools.org

iQIzBAEBCAAdFiEEl5evOTfnjZdhkBzKaPxTRM3nQSAFAl2yx5QACgkQaPxTRM3n
QSCUdw/+Np+sQgzXg3UXLui59YVSx5zci8rIUDxGEdhM0LWtgDnEDnWInP7ikEcg
6fOUsOZ/pWBGYt9lciKDEyYMD0d6/sq7xsdmaq+a7Z2fIcE9ZRT+pI120TZtvnb9
Qx2ujmel9lFyyr47k66m5l2KC60vOytnL1M3s7ISfKItoXb//ofPywpIWb45GOLb
XTcadbFCoxjFAiIOOhFHRAcVwTRghoy1fzZt1Xqqn6wvI5hr4fXWgzTOSk5EL1x4
TRBSOodaN4RLzwgHS4RqgVuW2fkB/jaIu85AvVaNGpDFVs1qYPF/p1dEZ32q3bYC
AIDafvQwFo1T5vrAvc8HIE+iwnrR3DB0SKDSaetltUIrL4M1zcl8AHqPGcjdMJq2
RLdsIhaytBVO4npRnYVqPNgb3m0XkwgxgaxhEVrRApTxGbirJnDTLGVkSeovA4OL
JiQnaufmI2M4ZN5adbnnlrIC3Xgkk25viZ2Xs/lOXuiwZub0uf1ItmWw8xKRD/Dh
2IvM78neq2aFzRi3gntCHr9dk1VSyjKqufxMaw3i+tAUWzOaCEvVPtZIFtP9ldvC
QvjMp7WpmjLrwAOpIh5NPF0vbOABUtnExXSPu9YIwTFG0ddZWrqVEb8qWqsMX/rg
egF2odSyuRYZOv39aM6PcNBTrOX8lApFwwIHh4u4NURFfkOwRiw=
=rnP9
-----END PGP SIGNATURE-----

--Apple-Mail=_5709D9CC-F173-4A15-ACA5-3D4E15BD7C9E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1CDE8233-4EC1-47C1-922C-A1BE89EDF342>