I am trying to run an OpenBSD mail server on this hardware but am running into problems.
I installed OpenBSD from the standard CD installer in a SATA CD drive plugged into the machine. This went fine, until I shut down from the CD, at which point I could no longer boot - at all! I am unable to reach the BIOS (technically UEFI-based, I guess) and was getting error A2.
I was able to boot OpenBSD successfully from that SSD if I put it in a different PC, with an MSI motherboard. When the SSD was unplugged from the computer I am working with, it works fine, and it can boot from a different SSD running Ubuntu 12.04. However, when I installed OpenBSD (from the CD drive again) to that other SSD, the exact same problem returned.
With the OpenBSD drives unplugged, I can access BIOS and change various options, and I can cause the OpenBSD drives to generate BIOS error code A3 instead of A2 by changing the SATA controller to IDE mode, but I cannot cause any other behaviours.
I currently suspect that the ASRock motherboard is trying to look for some data on the SSD partitions, and crashes when finding OpenBSD's default UFS partitions. If this is the problem, how can I prevent this behaviour? If this is not the problem, how can I get my machine to boot OpenBSD from an SSD?
EDIT (workaround): I ended up getting the system working by (1) installing Ubuntu with a large amount of free space on the disk, (2) installing OpenBSD into a new A6 partition in the free space, (3) returning to Ubuntu and manually editing /etc/grub.d/40_custom to include the OpenBSD install. This means that the machine will now boot to GRUB, and the motherboard does not lock, and that GRUB has an OpenBSD option. I then set GRUB_DEFAULT to the OpenBSD install and enabled GRUB_HIDDEN_TIMEOUT.