From owner-freebsd-hardware@freebsd.org Fri Oct 25 10:00:05 2019 Return-Path: Delivered-To: freebsd-hardware@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 89C8516C4D1 for ; Fri, 25 Oct 2019 10:00:05 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mailout4.lrau.net (mailout4.lrau.net [IPv6:2a05:bec0:26:2::73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailout4.lrau.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4700383bWfz4Jn8 for ; Fri, 25 Oct 2019 10:00:04 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; s=email1; h=To:Date:Message-Id:Subject:Mime-Version:Content-Type:From:Sender :Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=y21F4zfIAQITcuOi+v8d4WIJjAP6E5GBUNRDUTCZdf0=; b=G+XPojIJIY8Rhn+IMZYamBZ8Wb m0v6hgJ/03wkFmI/YEBcdSPdEZ7iKodyLofDJfje/GidFoDBe2H/+4GZ0gvY5zFjExs/ly4+OwTGt DQ95Puu2pv7TcWHYTsw8OIUbfP/faVJNsSqJaJ85ZAttNwJZt/ooY2ykjQqmm5f6K+N/+EQod/JtP lxshqGjfm5djS0qGy0cqgAVLeHxpOTuedxQziNdLKaSkyD8y7yLjkzUO9uoDn68dFz2/4ZdFP2LmB UMkAg0jbXRVOrSBsdORxt3S8yamreoJDBrk57ayAJpNegpsgEjxiU7B4itY6mcqwlRtgSGQz4cwob VGIxtQcg==; Received: from [91.216.35.74] (helo=imap.lrau.net) by mailout4.lrau.net with esmtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iNwNw-000Pnc-D5 for freebsd-hardware@freebsd.org; Fri, 25 Oct 2019 09:59:56 +0000 Received: from Axel.Rau@chaos1.de by imap.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1571997595-88233-88225/7/229; Fri, 25 Oct 2019 09:59:55 +0000 From: Axel Rau Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="Apple-Mail=_5709D9CC-F173-4A15-ACA5-3D4E15BD7C9E"; micalg=pgp-sha256 Mime-Version: 1.0 Subject: How to enable ECC with AsRock X470D4U and Ryzen 7 Message-Id: <1CDE8233-4EC1-47C1-922C-A1BE89EDF342@Chaos1.DE> Date: Fri, 25 Oct 2019 11:59:48 +0200 To: freebsd-hardware@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 4700383bWfz4Jn8 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chaos1.de header.s=email1 header.b=G+XPojIJ; dmarc=none; spf=none (mx1.freebsd.org: domain of Axel.Rau@Chaos1.DE has no SPF policy when checking 2a05:bec0:26:2::73) smtp.mailfrom=Axel.Rau@Chaos1.DE X-Spamd-Result: default: False [-5.54 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[chaos1.de:s=email1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[chaos1.de.dwl.dnswl.org : 127.0.3.1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[chaos1.de]; DKIM_TRACE(0.00)[chaos1.de:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:197071, ipnet:2a05:bec0::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.64)[ipnet: 2a05:bec0::/29(-2.67), asn: 197071(-0.50), country: DE(-0.01)] X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2019 10:00:05 -0000 --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: ---<>--- 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 = Features2=3D0x7ed8320b AMD Features=3D0x2e500800 AMD = Features2=3D0x75c237ff> Structured Extended = Features=3D0x219c91a9 Structured Extended Features2=3D0x400004 XSAVE Features=3D0xf AMD Extended Feature Extensions ID = EBX=3D0x10eb757 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--