ASRock Rack has created the first AM4 socket server boards, X470D4U, X470D4U2-2T

Does anyone experience a boot loop when starting the board over ipmi?
*Even when I start from IPMI web UI.

BMC Firmware Version 1.40.00 now => P1.70
BIOS Firmware Version P3.20 now => P3.30

ipmitool -I lanplus -H “ip” -U “usr/admin” -P “passw” power on

When I attach a VGA monitor to it, I see it won’t reach the Asrock boot options screen while looping.
But when I start to KVM while it loops on the bmc web user interface it somehow boots normal.
Edit:
BMC got somehow corrupted, then failed to flash over web(serving empty html, ended up with AC cycle), lost MAC after re-flashing from DOS, got replacement BMC chip, all seems to work fine now.

Sorry for the late reply. I guess removing the PFEH setting is the only correct thing for them to do for now, until they can actually properly implement PFEH (which I’m not sure if that can / will happen, as it requires AMD to cooperate)

Can anyone confirm using Samsung ECC 32gb UDIMMS (M391A4G43MB1-CTD) on these boards? They are on the QVL list (well with a Q at the end of the product they are) so they should work, but we all know how that sometimes goes…

Yes, somewhat unsurprisingly they work fine, got four of them spread across two boards.

I did have one DOA which was a pain to diagnose as the boards wouldn’t post without the ram installed either, thought I had a dead board…

Hello All,
Found this thread off Google and wanted to ask for a bit of guidance with this board,

I picked up one of these boards recently and ran into a very odd issue with the LSI RAID card,

LSI RAID 9361-8i in PCIe6
Other PCIe slots are empty

If I reboot the system (ie, the “reboot” command off the CLI) from any Linux OS (tested Ubuntu/CentOS so far), the RAID card wont initialize any disk and just show no-bootable-media found/no-virtual-disks

If I do a “reset” from the IPMI, the same issue happens, the RAID card wont initialize any disk and just show no-bootable-media found/no-virtual-disks

BUT If I issue a “Power Cycle” from the IPMI, the RAID card initializes just fine and the system boots ahead all OK, like everything is perfect, but if I reboot via any other way, it just won’t boot back

Any setting I should be looking for in the BIOS to change around? or do you suspect it to be a broken RAID card?

I’ve tested all the BIOS beta versions, running the latest beta currently (3.37) and the issue persists in all the builds.

Thank you!

Hi all,

I picked up one the X470D4U2-2T boards around the beginning of the year and finally migrated over to it a few months ago. I recently came across an interesting quirk / bug.

After enabling the Keep Link Up setting in the IPMI web interface, I found the first X550-AT2 10G port becomes limited to 100Mb/s until this setting is disabled.

I just wanted to share in hopes that it prevents somebody else wasting their time troubleshooting or worse RMAing their board.

https://<IPMI_IP_ADDRESS>/#settings/keep_ncsi_link_up

With the setting enabled:

# ethtool enp1s0f0 | grep -E "Speed|Advertised|Duplex|Auto-negotiation"
    Supports auto-negotiation: Yes
    Advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Auto-negotiation: on

After disabling the “Keep Link Up” setting via the ASRock Rack IPMI Interface:

# ethtool enp1s0f0 | grep -E "Speed|auto-negotiation|Duplex|Auto-negotiation"
	Supports auto-negotiation: Yes
	Advertised auto-negotiation: Yes
	Speed: 10000Mb/s
	Duplex: Full
	Auto-negotiation: on

switch logs:

Sep 26 21:01:24 sw-core1 Ebra: 3942: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet31 ("Connection to Bowser P0"), changed state to down
Sep 26 21:01:28 sw-core1 Ebra: 3947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet31 ("Connection to Bowser P0"), changed state to up

Board, BIOS and BMC software version:

# dmidecode -t baseboard | grep -E "Product|Manufacturer"
Manufacturer: ASRockRack
Product Name: X470D4U2-2T

# dmidecode -t bios | grep -E "Vendor|Version"
Vendor: American Megatrends Inc.
Version: P3.30

# ipmitool mc info| grep -i 'firmware revision'
Firmware Revision         : 1.70

Hello fellow x470d4u users. I’m in a strange situation. Recently the BMC of my x470d4u stopped working. I’m not sure why but from one day to another the IPMI RJ45 port wasn’t picking up any IP address anymore. In the BIOS the BMC shows BMC Self Test Status FAILED and under BMC Network Configuration it just shows N/A. I tried to flash a BMC firmware update but since the IPMI Webinterface isn’t available anymore I have to use a tool called socflash. ASRock recommands to boot into freedos in the FAQ and to do:

$ socflash.exe of=backup.ima
$ socflash.exe if=X470D4U_P1.90.00.ima

Now the fun starts. Because for some reason everytime I try to boot into freedos with a usb-volume created by rufus I will get a blackscreen. At this time I tried to boot into any other OS (like Ubuntu 20.04 or Windows10) but as soon as the graphics get initialized the screen wents black. I also tried to boot from a dedicated GPU in Slot 1 but this way I can’t even go into the BIOS. I already cleared the CMOS without success. I don’t know what else to do. Any suggestions?

1 Like

Which… is what I said?

So thanks I guess?

Also that post is like 4 months old :expressionless:

1 Like

You should be able to flash the aspeed 2500 chip from within linux. It seems asrock only makes the .exe available via their support faqs and aspeed has locked the socflash tool behind some silly registered developer access portal… The linked zip should contain tools for uefi, linux, etc.

HTTPS wwwDOTaspeedtechDOTcom/support_driver

HTTPS fichiersDOTtouslesdriversDOTcom/60176/v12000.zip

$ less -F v12000.zip 
Archive:  v12000.zip
Zip file size: 932141 bytes, number of entries: 7
drwx---     6.3 fat        0 bx stor 19-Jan-29 14:05 v12000_release/
-rw-a--     6.3 fat    65176 bx stor 19-Jan-09 10:30 v12000_release/bsdflash_v12000.tar.gz
-rw-a--     6.3 fat   135294 bx defN 19-Jan-09 10:27 v12000_release/lxflash_v12000.tar.gz
-rw-a--     6.3 fat      561 bx defN 16-Sep-14 15:04 v12000_release/readme.txt
-rw-a--     6.3 fat   268442 bx defN 19-Jan-09 10:16 v12000_release/socflash_v12000.zip
-rw-a--     6.3 fat    77673 bx defN 19-Jan-09 10:37 v12000_release/uflash_v12000_x64.zip
-rw-a--     6.3 fat   384993 bx defN 19-Jan-09 10:20 v12000_release/winflash_v12000.zip
7 files, 932139 bytes uncompressed, 930901 bytes compressed:  0.1%

Thanks for your efforts. I tried flashing with the uefi version but I’m unable because the flash chip will not be recognized. I even tried to force flash with option=f.

I dont get it.

Edit: I will return the board. I’m done.

1 Like

Does anyone have any tricks for getting a gpu passed through with this board? I’m having really strange issues. I put a nvidia GT1030 on this thing, and regardless of pcie slot i put it in my ipmi video completely breaks which is incredibly annoying. I’ve also been completely unsuccessful passing it through to any VM’s running latest proxmox and following every guide I can find online. I’m running the beta 3.39A bios. Any tips/help is greatly appreciated!

You need to set Onboard VGA to Enabled instead of Auto.

1 Like

It will be interesting to see how well if at all asrock will be supporting the new zen cpus. I think that they said they will be compatible with 470 and 550 but I could be wrong on that. Also wonder if they will need a bios update?

AMD has stated that they will not support the 400 chipsets for the 5000 CPUs mostly due to ROM size limitations on a lot of the boards. Although I’m really wondering how much it can really cost a mainboard manufacturer to use a bigger ROM in the first place… they buy those in the thousands, so it probably a cent a piece if even that…

edit:
Although their wording was a bit odd in that they also said they were going to enable partners to do it on “select beta BIOSes for AMD B450 and X470 motherboards.”… OK I guess?

edit 2:
OK the article I read only had a partial quote of their statement… the “select beta BIOSes” part was in a second statement after feedback about the first…

It’s been a few months since I wrote about the network bonding issue.
I have a little time now to sum up my findings.

So here goes:

I started with a situation where I had a bonding enabled without a way to disable it (no option in the ipmi web UI - see post 1222 )
The main point of disabling the bonding for me was a complete separation of IPMI network. With bonding enabled it would be accessible if I used the first ‘normal’ lan port - this is a security issue in my eyes.

At first I discovered that I can force disable/enable the bonding by modifying the web UI html - the option is there - it’s just disabled. Details are also in post 1222
After force enabling/disabling/etc I somehow gotten the option in the web-ui to stay visible. I am not sure why - maybe because of fixing MAC adresses (described below)

Then I contacted Asrock support about this and got some info and a tool.
The info was that they have some issues with some boards setting incorrect MAC addresses - they expected that one of the MACs on my board was set to zeros.

The tool is here:
mac_tool_from_asrock.zip (1.1 MB)
It is supposed to be able to enable/disable bonding and change/fix MAC adresses.

I got it in a binary form so instead believing what it is supposed to do and running it, I did some reverse engineering…

I managed to extract some commands that can be used to identify/fix the MAC issues. (they are listed at the bottom of this post)

As it turned out my board had duplicate MACs on IPMI side.
To make it more clear: the ports have different MACs on the IPMI and host side. My board was i this situation:

physical port: | LAN_1             | LAN_2             | IPMI_LAN           |
---------------+-------------------+-------------------+--------------------+
ipmi side MAC: | d0:50:99:e3:44:d9 | N/A               | d0:50:99:e3:44:d9  |
host side MAC: | d0:50:99:d2:d0:9c | d0:50:99:d2:d0:9d | N/A                |

And after manually fixing the duplicate (commands below):

physical port: | LAN_1             | LAN_2             | IPMI_LAN           |
---------------+-------------------+-------------------+--------------------+
ipmi side MAC: | d0:50:99:e3:44:d8 | N/A               | d0:50:99:e3:44:d9  |
host side MAC: | d0:50:99:d2:d0:9c | d0:50:99:d2:d0:9d | N/A                |

The commands I extracted are as follows:

#get MAC 0
ipmitool -I lanplus -H <IP> -U <user> -P <password> raw 0x3a 0xa1 0x00
>d0 50 99 e3 44 d8
#get MAC 1
ipmitool -I lanplus -H <IP> -U <user> -P <password> raw 0x3a 0xa1 0x01
>d0 50 99 e3 44 d9

#set MAC
#ipmitool -I lanplus -H <IP> -U <user> -P <password> raw 0x3a 0xa0 0x00  <NEW MAC>
#ipmitool -I lanplus -H <IP> -U <user> -P <password> raw 0x3a 0xa0 0x00  <NEW MAC>
#for example:
#set MAC 0
ipmitool -I lanplus -H <IP> -U <user> -P <password> raw 0x3a 0xa0 0x00 0xd0 0x50 0x99 0xe3 0x44 0xd8
#set MAC 1
ipmitool -I lanplus -H <IP> -U <user> -P <password> raw 0x3a 0xa0 0x01 0xd0 0x50 0x99 0xe3 0x44 0xd9

#detect bonding
ipmitool -I lanplus -H <IP> -U <user> -P <password> raw 0x32 0x72 0x01 0x00 0x00
>00 00 01 00 00 00 01
# check first byte: (no idea what other bytes mean)
# disabled: 00 00 01 64 00 03 01
# enabled:  01 00 01 64 00 03 01

#get bmc version:
ipmitool -I lanplus -H <IP> -U <user> -P <password> raw 0x06 0x01
> 20 01 01 90 02 bf d6 c1 00 02 02 00 00 00 00
#        1.90                      00 00 00 00
2 Likes

Anyone know how to decrease cpu core voltage on the x470d4u? Running a R9 3900x in a 2U chassis with the Dynatron A24. Currently CPU cycles between 50-70c with a few VMs at “idle.” IPMI showing vcore at 1.44v. The way the fan ramps up and down is super annoying. Also, unfortunately I don’t have an isolated area to run the fans at full blast so I need to keep this system as quiet as possible so I can sacrifice a bit of performance to keep things as quiet as possible. I’ve looked around in BIOS but can’t seem to find what I am looking for in terms of setting a negative offset. Let me know if I’m just missing a setting in BIOS.

Just use ‘AMD Overclocking’

1 Like

EDIT: Solved using an advanced “Try turning it off then on again” variant called “Reseat the DIMMs even if they are latched correctly and detected, you never know”. I guess RAM is really sensitive to the tiniest imperfect contacts.

I have added 2x M391A2K43BB1-CTD to my already present 2x M391A2K43BB1-CTD. It’s visible in Bios but it’s NOT visible by any OS or by Memtest. Tried both BIOS 3.30 and 3.37

Mobo: X470D4U
CPU: 1700

In BIOS: everything is “fine”

index

Linux confirms BIOS sees all ram:

dmidecode --type memory
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 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 0x0016, DMI type 17, 84 bytes
Memory Device
        Array Handle: 0x000F
        Error Information Handle: 0x0015
        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: Samsung
        Serial Number: 1697115E
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 1866 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 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x0019, DMI type 17, 84 bytes
Memory Device
        Array Handle: 0x000F
        Error Information Handle: 0x0018
        Total Width: 128 bits
        Data Width: 64 bits
        Size: 16384 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 1
        Bank Locator: P0 CHANNEL A
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Samsung
        Serial Number: 16969DF9
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 1866 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 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x001C, DMI type 17, 84 bytes
Memory Device
        Array Handle: 0x000F
        Error Information Handle: 0x001B
        Total Width: 128 bits
        Data Width: 64 bits
        Size: 16384 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 0
        Bank Locator: P0 CHANNEL B
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Samsung
        Serial Number: 16DDF1A3
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 1866 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 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

Handle 0x001F, DMI type 17, 84 bytes
Memory Device
        Array Handle: 0x000F
        Error Information Handle: 0x001E
        Total Width: 128 bits
        Data Width: 64 bits
        Size: 16384 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 1
        Bank Locator: P0 CHANNEL B
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2666 MT/s
        Manufacturer: Samsung
        Serial Number: 16969ED5
        Asset Tag: Not Specified
        Part Number: M391A2K43BB1-CTD    
        Rank: 2
        Configured Memory Speed: 1866 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 1, Hex 0xCE
        Module Product ID: Unknown
        Memory Subsystem Controller Manufacturer ID: Unknown
        Memory Subsystem Controller Product ID: Unknown
        Non-Volatile Size: None
        Volatile Size: 16 GB
        Cache Size: None
        Logical Size: None

But it’s completely missing:

free  -m
total        used        free      shared  buff/cache   available
Mem:          32103       10035       20640         235        1428       21413

But I’m not seeing anything in the logs that helps…

dmesg | grep -i memory
[    0.000000] check: Scanning 1 areas for low memory corruption
[    0.000000] Early memory node ranges
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x09d02000-0x09ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0x0a200000-0x0a20afff]
[    0.000000] PM: Registered nosave memory: [mem 0x0b000000-0x0b01ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xd67be000-0xd67befff]
[    0.000000] PM: Registered nosave memory: [mem 0xd67de000-0xd67defff]
[    0.000000] PM: Registered nosave memory: [mem 0xd67fe000-0xd67fefff]
[    0.000000] PM: Registered nosave memory: [mem 0xd6806000-0xd6806fff]
[    0.000000] PM: Registered nosave memory: [mem 0xd7157000-0xd72b6fff]
[    0.000000] PM: Registered nosave memory: [mem 0xd730a000-0xd730afff]
[    0.000000] PM: Registered nosave memory: [mem 0xdab78000-0xdc177fff]
[    0.000000] PM: Registered nosave memory: [mem 0xdc351000-0xdc767fff]
[    0.000000] PM: Registered nosave memory: [mem 0xdc768000-0xdd465fff]
[    0.000000] PM: Registered nosave memory: [mem 0xdf000000-0xdfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xf7ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfcffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfd000000-0xffffffff]
[    0.000000] Memory: 32697396K/33481604K available (14339K kernel code, 2367K rwdata, 4980K rodata, 2696K init, 5040K bss, 784208K reserved, 0K cma-reserved)
[    0.003400] Freeing SMP alternatives memory: 40K
[    0.153844] x86/mm: Memory block size: 128MB
[    0.762239] Freeing initrd memory: 41156K
[    0.770282] check: Scanning for low memory corruption every 60 seconds
[    0.998750] nvme nvme0: allocated 32 MiB host memory buffer.
[    1.068455] nvme nvme1: allocated 32 MiB host memory buffer.
[    1.083660] Freeing unused decrypted memory: 2040K
[    1.087040] Freeing unused kernel image memory: 2696K
[    1.107280] Freeing unused kernel image memory: 2008K
[    1.110255] Freeing unused kernel image memory: 1164K
[    1.416617] mpt2sas_cm0: Allocated physical memory: size(1687 kB)
[   15.965722] [TTM] Zone  kernel: Available graphics memory: 16437134 KiB

What’s the next step ?

1 Like

Hey Guys, I installed Proxmox on my X470d4u2-2t and everything was fine until testing network speeds. The ports seem to give me 100 mbit speeds [11,5mb/s] !!!
Also using ethtool enp1s0f0| grep Speed returns Speed: Unknown!.
Also passing one of the ports through to a TrueNAS VM also gave me similar speeds. What is going on here ? Can someone help ?

if you read a few post above, you will find a solution, which is turn off the “keep_ncsi_link_up” in IPMI setting