UEFI and RAID1 nightmare

negmis

Honorable
May 20, 2013
2
0
10,510
1 CPU: AMD FX-8150 Zambezi 3.6Ghz Socket AM3+ 125W 8-core
RAM: CORSAIR Vengeance LP 16Gb (4x4Gb) 240-Pin DDR3 SDRAM 1866 CML16GX3M4A1866C9B
Mobo: ASUS M5A97 LE R2.0 AMD 970
PSU: Thermaltake TR2 TR-5000 500W ATX12V v2.3
GPU: ASUS 210-SL-512MD3-L GeForce 210 512MB(TC 1GB DDR3) 32-bit DDR3 PCI Express 2.0x16
SATA: 2 x Seagate Barracuda ST31000524AS 1TB 7200 RPM 32MB SATA 6.0Gb/s 3.5" Internal Hard Drivw

I have assembled this system myself for my webserver. However, I am experiencing problems with RAID array configurations in UEFI BIOS. Fedora 18 has a known bug, hence I switched to Ubuntu server 13.04 (64-bit). However, even Ubuntu fails to install. Here's what I did:

Configure SATA ports 1-4 as RAID (both hard drives are in those ports)
Configure SATA ports 5-6 as IDE (SATA DVD Drive)
RAID ROM Controller as Legacy Rom (UEFI option seems bugged or I have no clue how to configure it, even though I select Storage boot option as UEFI driver first)

Reboot the sytem

Configure RAID in legacy interface (CTRL + F) and set up RAID 1 array with Initialization: Full, and the rest are default settings (Read Ahead, etc)

Then I put Ubuntu Server ISO and do the installation with RAID settings that Ubuntu detects...

When installer finishes - nothing is hapenning, except UEFI sees Ubuntu with UEFI label on it, but after the POST it says that no bootable disk is found and etc.

I have tested RAM with Memtest86+ and it passed. I have installed Windows 7 on both Hard drives just to check if hard drive is bad, turns out - not. PSU was tested with my Coolmax PSU tester. Hence, hardware is not at fault, except that UEFI (my suspicion). However, I have upgraded it to the latest version 1709 (http://ca.asus.com/en/Motherboards/AMD_AM3Plus/M5A97_LE_R20/#download)
UEFI is by American Megatrends, Inc version 2.10 - but no help at ami.com

I am lost here...

Why UEFI driver for RAID does not work on the mobo? Why Ubuntu Server reports that it is installed in UEFI, but I cannot load into it after POST?

Any help? Has anyone actually set up a RAID1 array with UEFI driver? And what linux distro worked?


I cannot believe that Windows 7 has no problems flying on this hardware...
 
I do not have an AMD 900 chipset so I can't test this out myself, but there is a similar problem with some Intel chipsets.

What happens is that the firmware contains both an UEFI driver and a BIOS OPROM. On my Rampage IV Extreme it is possible to choose which one is exposed through the Compatibility Support Module. However, the device ID and RAID schema are different. If a RAID volume is created using the BIOS OPROM and the firmware is then changed to use the UEFI driver, this will cause a BSOD on Windows 7 and Windows 8.

The solution is to simply use the legacy BIOS OPROM for the chipset storage controller.

If you created a RAID volume in UEFI mode, destroy it and recreate it in BIOS mode.

Additionally, you should configure ports 5 and 6 as AHCI or RAID. Don't configure them as IDE. The DVD drive will use the ATAPI interface anyway.
 

negmis

Honorable
May 20, 2013
2
0
10,510


Thank you for your reply:)
I have created RAID1 with BIOS OPROM, since I could never get the UEFI interface going... I did not change it back to UEFI driver afterwards, since I cannot get to the configuration anyways.

My UEFI does not allow set DVD drive as AHCI, only IDE and RAID options are available. And when I set it to RAID the POST is halted and error screen that stated that the device (DVD Drive) is not supported for RAID and I have to press Del or F2 to enter the setup.

I will try again with Legacy RAID ROM, after Windows 7 finishes checking the second hard drive for errors (I have to make sure that the hard drive is not a culprit)