Page 1 of 1

Linux VM Guest doesn't recognize more than 64GB RAM

Posted: 16. Feb 2018, 23:35
by jvega
Hello,

I'm trying to create a Linux VM with 64GB (or 80GB) of RAM. But when I configure the VM to use the 64 or more GB, the Guest OS is only recognizing 3.4GB. It doesn't happen if I configure the VM with 48GB or less.

I'm using VirtualBox version 5.2.6 r120293 in a Mac Pro (Late 2013) 3.3 GHz 8-Core Intel Xeon E5 and 96GB RAM with Mac OS 10.13
The Guest OS is an Oracle Linux 6 update 9 with uek-kernel 4.1.12

Any idea of why this can be happening?

I tried to verify if VM's with more than 64GB RAM are supported, and I have not been able to find any limitation about it. So not sure if this is really supported.

Re: Linux VM Guest doesn't recognize more than 64GB RAM

Posted: 17. Feb 2018, 01:31
by socratis
We're going to need to see a VM log from a complete VM run:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe error / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response (see the "Upload attachment" tab below the reply form).
Also, the "recipe" of the VM, the ".vbox" file:
  1. Right-click on the VM in the VirtualBox Manager. Select "Show in Finder/Explorer/Whatever".
  2. ZIP the selected ".vbox" file and attach it to your response.

Re: Linux VM Guest doesn't recognize more than 64GB RAM

Posted: 18. Feb 2018, 19:34
by jvega
I was able to fix the problem, initially I was booting with the UEFI firmware,

I tried again installing the OS with BIOS booting, after that, the 80GB RAM were recognized, looks like the problem is with the UEFI firmware.

Re: Linux VM Guest doesn't recognize more than 64GB RAM

Posted: 18. Feb 2018, 19:50
by socratis
jvega wrote:looks like the problem is with the UEFI firmware.
That may very well be. There were/are several issues with the memory passed to the OS, if it's booted with EFI. As it's becoming more prominent, I can only see improvements. But not until it becomes mandatory to use it. And right now it's only mandatory for OSX guests...

Just one question; did you enable EFI and ICH9 at the same time of the failure?

Re: Linux VM Guest doesn't recognize more than 64GB RAM

Posted: 18. Feb 2018, 19:58
by jvega
I tried with both chipsets ACH9 and PIIX3.