Hello everybody, i just setup an ASUS KGPE-D16 with coreboot in my fileserver today.
CPU: Opteron 6380 with newest microcode loaded in coreboot
1x 8GB Hynix DDR3 ECC
1x 8GB Samsung DDR3 ECC
ECC works after you force the linux kernel / the amd_edac module to enable ECC as you can see on this dmesg output :
root@lain:~# dmesg | grep -i edac [ 44.487132] EDAC MC: Ver: 3.0.0 [ 44.520632] EDAC amd64: DRAM ECC disabled. [ 44.520670] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load. [ 44.520670] EDAC amd64: Forcing ECC on! [ 44.520747] EDAC amd64: DRAM ECC disabled on this node, enabling... [ 44.520749] EDAC amd64: Hardware accepted DRAM ECC Enable [ 44.520750] EDAC amd64: F15h detected (node 0). [ 44.520802] EDAC MC: DCT0 chip selects: [ 44.520804] EDAC amd64: MC: 0: 0MB 1: 0MB [ 44.520805] EDAC amd64: MC: 2: 0MB 3: 0MB [ 44.520806] EDAC amd64: MC: 4: 0MB 5: 0MB [ 44.520807] EDAC amd64: MC: 6: 0MB 7: 0MB [ 44.520808] EDAC MC: DCT1 chip selects: [ 44.520809] EDAC amd64: MC: 0: 0MB 1: 0MB [ 44.520810] EDAC amd64: MC: 2: 0MB 3: 0MB [ 44.520811] EDAC amd64: MC: 4: 0MB 5: 0MB [ 44.520812] EDAC amd64: MC: 6: 0MB 7: 0MB [ 44.520813] EDAC amd64: using x4 syndromes. [ 44.520813] EDAC amd64: MCT channel count: 0 [ 44.520903] EDAC MC0: Giving out device to module amd64_edac controller F15h: DEV 0000:00:18.2 (INTERRUPT) [ 44.520904] EDAC amd64: DRAM ECC enabled. [ 44.520916] EDAC amd64: F15h detected (node 1). [ 44.520958] EDAC MC: DCT0 chip selects: [ 44.520959] EDAC amd64: MC: 0: 0MB 1: 0MB [ 44.520961] EDAC amd64: MC: 2: 4096MB 3: 4096MB [ 44.520962] EDAC amd64: MC: 4: 0MB 5: 0MB [ 44.520963] EDAC amd64: MC: 6: 0MB 7: 0MB [ 44.520964] EDAC MC: DCT1 chip selects: [ 44.520965] EDAC amd64: MC: 0: 0MB 1: 0MB [ 44.520966] EDAC amd64: MC: 2: 4096MB 3: 4096MB [ 44.520967] EDAC amd64: MC: 4: 0MB 5: 0MB [ 44.520968] EDAC amd64: MC: 6: 0MB 7: 0MB [ 44.520969] EDAC amd64: using x4 syndromes. [ 44.520969] EDAC amd64: MCT channel count: 2 [ 44.521294] EDAC MC1: Giving out device to module amd64_edac controller F15h: DEV 0000:00:19.2 (INTERRUPT) [ 44.521313] EDAC PCI0: Giving out device to module amd64_edac controller EDAC PCI controller: DEV 0000:00:18.2 (POLLED) [ 44.521314] AMD64 EDAC driver v3.4.0
Is there an NVRAM Option for ECC and should i rebuild coreboot with nvram options enabled ?
best regards
kinky_nekoboi
OK i flashed a recompiled version with nvram options enabled.
ECC is enabled by default: boot_option = Fallback reboot_counter = 0x0 interleave_chip_selects = Enable interleave_nodes = Disable interleave_memory_channels = Enable max_mem_clock = DDR3-1600 multi_core = Enable debug_level = Debug ecc_scrub_rate = 1.28us slow_cpu = off nmi = Disable gart = Enable power_on_after_fail = On ECC_memory = Enable ECC_redirection = Enable hypertransport_speed_limit = Auto minimum_memory_voltage = 1.5V compute_unit_siblings = Enable cpu_c_states = Enable cpu_cc6_state = Enable sata_ahci_mode = Enable sata_alpm = Disable dimm_spd_checksum = Enforce probe_filter = Auto l3_cache_partitioning = Disable ieee1394_controller = Enable iommu = Enable cpu_core_boost = Enable ehci_async_data_cache = Enable experimental_memory_speed_boost = Disable maximum_p_state_limit = 0xf
Still i need to force the kernel to enable ECC.
Am 01.06.19 um 14:10 schrieb Kinky Nekoboi:
Hello everybody, i just setup an ASUS KGPE-D16 with coreboot in my fileserver today.
CPU: Opteron 6380 with newest microcode loaded in coreboot
1x 8GB Hynix DDR3 ECC
1x 8GB Samsung DDR3 ECC
ECC works after you force the linux kernel / the amd_edac module to enable ECC as you can see on this dmesg output :
root@lain:~# dmesg | grep -i edac [ 44.487132] EDAC MC: Ver: 3.0.0 [ 44.520632] EDAC amd64: DRAM ECC disabled. [ 44.520670] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load. [ 44.520670] EDAC amd64: Forcing ECC on! [ 44.520747] EDAC amd64: DRAM ECC disabled on this node, enabling... [ 44.520749] EDAC amd64: Hardware accepted DRAM ECC Enable [ 44.520750] EDAC amd64: F15h detected (node 0). [ 44.520802] EDAC MC: DCT0 chip selects: [ 44.520804] EDAC amd64: MC: 0: 0MB 1: 0MB [ 44.520805] EDAC amd64: MC: 2: 0MB 3: 0MB [ 44.520806] EDAC amd64: MC: 4: 0MB 5: 0MB [ 44.520807] EDAC amd64: MC: 6: 0MB 7: 0MB [ 44.520808] EDAC MC: DCT1 chip selects: [ 44.520809] EDAC amd64: MC: 0: 0MB 1: 0MB [ 44.520810] EDAC amd64: MC: 2: 0MB 3: 0MB [ 44.520811] EDAC amd64: MC: 4: 0MB 5: 0MB [ 44.520812] EDAC amd64: MC: 6: 0MB 7: 0MB [ 44.520813] EDAC amd64: using x4 syndromes. [ 44.520813] EDAC amd64: MCT channel count: 0 [ 44.520903] EDAC MC0: Giving out device to module amd64_edac controller F15h: DEV 0000:00:18.2 (INTERRUPT) [ 44.520904] EDAC amd64: DRAM ECC enabled. [ 44.520916] EDAC amd64: F15h detected (node 1). [ 44.520958] EDAC MC: DCT0 chip selects: [ 44.520959] EDAC amd64: MC: 0: 0MB 1: 0MB [ 44.520961] EDAC amd64: MC: 2: 4096MB 3: 4096MB [ 44.520962] EDAC amd64: MC: 4: 0MB 5: 0MB [ 44.520963] EDAC amd64: MC: 6: 0MB 7: 0MB [ 44.520964] EDAC MC: DCT1 chip selects: [ 44.520965] EDAC amd64: MC: 0: 0MB 1: 0MB [ 44.520966] EDAC amd64: MC: 2: 4096MB 3: 4096MB [ 44.520967] EDAC amd64: MC: 4: 0MB 5: 0MB [ 44.520968] EDAC amd64: MC: 6: 0MB 7: 0MB [ 44.520969] EDAC amd64: using x4 syndromes. [ 44.520969] EDAC amd64: MCT channel count: 2 [ 44.521294] EDAC MC1: Giving out device to module amd64_edac controller F15h: DEV 0000:00:19.2 (INTERRUPT) [ 44.521313] EDAC PCI0: Giving out device to module amd64_edac controller EDAC PCI controller: DEV 0000:00:18.2 (POLLED) [ 44.521314] AMD64 EDAC driver v3.4.0
Is there an NVRAM Option for ECC and should i rebuild coreboot with nvram options enabled ?
best regards
kinky_nekoboi
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org