why 2GB is the max size of memory for VM using EFI?

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
takwing
Posts: 72
Joined: 17. Jan 2010, 07:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10
Location: Hong Kong
Contact:

why 2GB is the max size of memory for VM using EFI?

Post by takwing »

If I allocate more than 2GB of memory to my Mac OS X VM with the EFI option enabled, the VM cannot start up (the virtualbox logo does not even show up).

Any reason for this? What I can confirm is that this happens for both VB3.2.4 and VB3.2.2.... but I am not sure about VB3.2.0.

Is this a known limitation? or is it a bug?
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: why 2GB is the max size of memory for VM using EFI?

Post by Technologov »

1. Is your host OS kernel 64-bit ?
2. Can you start other (non-Mac) VMs with more RAM on your host kernel?

-Technologov
takwing
Posts: 72
Joined: 17. Jan 2010, 07:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10
Location: Hong Kong
Contact:

Re: why 2GB is the max size of memory for VM using EFI?

Post by takwing »

my host is win7 64-bit.

I can allocate more than 2GB RAM to start other nonMac VMs.
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: why 2GB is the max size of memory for VM using EFI?

Post by Technologov »

You can open bug about it, although non-Mac hosts not supported for Mac guests, so you may get INVALID status on the bug report.

Ideally would be to ask someone to reproduce it on Mac OS X host.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: why 2GB is the max size of memory for VM using EFI?

Post by baf »

MacBook Pro with 4GB ram running SnowLeopard. Just tested to give a SnowLeopard guest 2404MB Ram without any problems.
So its something else....
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
nike
Posts: 47
Joined: 7. Jul 2008, 00:00
Primary OS: Ubuntu 8.04
VBox Version: PUEL
Guest OSses: OS/2 1.2, Windows 3.11, OSX
Location: SPB
Contact:

Re: why 2GB is the max size of memory for VM using EFI?

Post by nike »

EFI doesn't make any special assumptions about guest RAM size. Was able to start and use 64-bit EFI VM with 4G RAM on Linux host.
wyrdR
Posts: 36
Joined: 9. Aug 2009, 15:15
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7,Xubuntu,Mac OS X server

Re: why 2GB is the max size of memory for VM using EFI?

Post by wyrdR »

takwing wrote:If I allocate more than 2GB of memory to my Mac OS X VM with the EFI option enabled, the VM cannot start up (the virtualbox logo does not even show up).

Any reason for this? What I can confirm is that this happens for both VB3.2.4 and VB3.2.2.... but I am not sure about VB3.2.0.

Is this a known limitation? or is it a bug?
Similar issue:

Snow Leopard on Snow Leopard - 64Bit issues/2GB RAM limit?

I cannot boot Mac OS X Server 10.6.x with Mac OS X Server (64 bit) selected, just Mac OS X Server. I can't use more than 2GB.

PS - Submitted bug #7028

PPS - Didn't need to. It was already submitted in ticket # 7002
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: why 2GB is the max size of memory for VM using EFI?

Post by Technologov »

Try the new 3.2.6 BETA, and tell us results.
wyrdR
Posts: 36
Joined: 9. Aug 2009, 15:15
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7,Xubuntu,Mac OS X server

Re: why 2GB is the max size of memory for VM using EFI?

Post by wyrdR »

Although booting with Mac OS X Server (64 bit) now works, but using more than 2GB RAM still fails for me.
Attachments
VBox-2049MB.log
Trying to use 2049MB RAM
(45.27 KiB) Downloaded 51 times
wyrdR
Posts: 36
Joined: 9. Aug 2009, 15:15
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7,Xubuntu,Mac OS X server

Re: why 2GB is the max size of memory for VM using EFI?

Post by wyrdR »

takwing wrote:If I allocate more than 2GB of memory to my Mac OS X VM with the EFI option enabled, the VM cannot start up (the virtualbox logo does not even show up).

Any reason for this? What I can confirm is that this happens for both VB3.2.4 and VB3.2.2.... but I am not sure about VB3.2.0.

Is this a known limitation? or is it a bug?
Just out of curiosity, how much Video Memory is assigned to the Guest? In 3.2.6 Beta 1 at least, I find that reducing Video Memory to 64MB or less seems to at least let the EFI boot screen start up.

i.e. If you want more than 2048 MB Memory, try reducing Video Memory to 64 MB or less.

Back with 3.2.4:
64Bit is still shot; In 32Bit with only 64MB Video Memory, I could raise the VM's memory to 3GB and still boot in EFI. I couldn't go higher on this machine, but I'll try with the server at work and let you know.
takwing
Posts: 72
Joined: 17. Jan 2010, 07:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10
Location: Hong Kong
Contact:

Re: why 2GB is the max size of memory for VM using EFI?

Post by takwing »

wyrdR,

I confirmed that with the VM's video memory set to 64MB, the VM can be started and SL can boot up normally by using 3GB of memopry.

The correct amount of memory is also shown in SL.

Thanks!


This should be a valuable information for the team to debug/investigate this issue.
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: why 2GB is the max size of memory for VM using EFI?

Post by Technologov »

Please discuss this problem on the BETA forum. This will increase your chances to get fix in few days.
wyrdR
Posts: 36
Joined: 9. Aug 2009, 15:15
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7,Xubuntu,Mac OS X server

Re: why 2GB is the max size of memory for VM using EFI?

Post by wyrdR »

Technologov wrote:Please discuss this problem on the BETA forum. This will increase your chances to get fix in few days.
Thanks Technologov.

We started off talking about problems with release versions – I was just confirming that the same problem exists in the beta as well and that the work around (in both release and beta versions) is to limit the Video Memory to 64MB.

I'm hoping the existence of Ticket #7002 means it's well on the way to being fixed.
Post Reply