Discussions related to using VirtualBox on Mac OS X hosts.
hinto
Posts: 21 Joined: 16. Apr 2012, 15:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Win7
Post
by hinto » 16. Apr 2012, 15:19
Hi guys,
I'm running VirtualBox 4.1.12 r77245 on a MacProc with 10 gb of RAM.
It is running the 64 kernel (AFAIK)
System Information shows:
Software->Extensions:
Code: Select all
ACPI_SMC_PlatformPlugin:
Version: 4.7.5
Last Modified: 6/18/11 4:09 PM
Kind: Intel
Architectures: i386, x86_64
64-Bit (Intel): Yes
Location: /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext
Kext Version: 4.7.5d4
Load Address: 0x1671000
Valid: Yes
Authentic: Yes
Dependencies: Satisfied
VirtualBox will not allow me to allocate more than 3584 mb of RAM to any 64-bit enabled guest.
Is there a workaround?
Thanks.
-Hinto
mpack
Site Moderator
Posts: 39134 Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP
Post
by mpack » 16. Apr 2012, 15:22
Allocate whatever memory VBox will accept, run the VM, then post the VM log file as a zipped attachment.
hinto
Posts: 21 Joined: 16. Apr 2012, 15:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Win7
Post
by hinto » 16. Apr 2012, 18:28
Here's the log file created with the max ram I could allocate for a 64 bit Linux guest for my MacPro host.
-Hinto
Attachments
vb_log.zip
the zipped log file (920 Bytes) Downloaded 72 times
mpack
Site Moderator
Posts: 39134 Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP
Post
by mpack » 16. Apr 2012, 19:13
You posted the VBoxSvc log file, however it was the VM log file that I asked for. The VM log file is called "VBox.log" and can be found in the "Logs" subfolder of the VMs home folder.
hinto
Posts: 21 Joined: 16. Apr 2012, 15:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Win7
Post
by hinto » 16. Apr 2012, 19:23
My fault.
-H
Attachments
VBox_log.zip
(8.92 KiB) Downloaded 57 times
Perryg
Site Moderator
Posts: 34369 Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX
Post
by Perryg » 16. Apr 2012, 19:41
00:00:00.691 Host RAM: 10240MB RAM, available: 1836MB
00:00:00.832 RamSize <integer> = 0x00000000e0000000 (3,758,096,384 )
You should shut some things down. You don't have enough available.
hinto
Posts: 21 Joined: 16. Apr 2012, 15:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Win7
Post
by hinto » 16. Apr 2012, 22:12
I have 10 GB of ram... and If I shut everything down, but VirtualBox, I still cannot allocate more ram to the guest.
-Hinto
Perryg
Site Moderator
Posts: 34369 Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX
Post
by Perryg » 16. Apr 2012, 22:37
Doesn't really matter if you have a TB installed in the host, it is how much is available. If you have 1.5GB available and try to assign 4GB it is still not going to work.
Other than that we would need to see an active log where it has refused to allow more (after making sure you have 1.5 times 4GB or 6GB available.
mpack
Site Moderator
Posts: 39134 Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP
Post
by mpack » 17. Apr 2012, 11:29
This issue seems to arise a lot on Mac OS X hosts. I wonder if Apple has implemented some kind of prefetch-alike feature, the difference being that the effect is visible in the available memory check that VBox uses? It's either that or runaway OS bloat.
@rinto: I assume you haven't configured a big ram disk or anything like that.
hinto
Posts: 21 Joined: 16. Apr 2012, 15:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Win7
Post
by hinto » 17. Apr 2012, 13:12
@Perryg I completely understand the concept. I run a Win7 guest on a Linux host using VMWare.
@mpack no ramdisks.
-Hinto
hinto
Posts: 21 Joined: 16. Apr 2012, 15:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Win7
Post
by hinto » 17. Apr 2012, 14:48
Just re-verified with everything shutdown. I cannot allocate more than 4GB to a vm guest. It looks like there's a 4gb hard limit on the MacPro
ProProcessor 2 x 3 GHz Dual-Core Intel Xeon
Memory 10 GB 667 MHz DDR2 FB-DIMM
Graphics NVIDIA GeForce 7300 GT 256 MB
Software Mac OS X Lion 10.7.3 (11D50d)
It looks like a bug.
-Hinto
Perryg
Site Moderator
Posts: 34369 Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX
Post
by Perryg » 17. Apr 2012, 15:11
AFAIK the only time there is a limit on the amount of RAM that can be allocated is 32-bit host and 64-bit guest.
Try booting the host while holding the 6 & 4 keys down on a Mac and see if that changes anything. Be sure that you have the amount of RAM available that you are trying to assign.
michaln
Oracle Corporation
Posts: 2973 Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:
Post
by michaln » 17. Apr 2012, 15:18
hinto wrote: It looks like a bug.
Not really.
You're using the 32-bit kernel. With that, you will not get VMs bigger than 4GB (about 3.6GB is the limit).
hinto
Posts: 21 Joined: 16. Apr 2012, 15:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Win7
Post
by hinto » 17. Apr 2012, 15:24
So Mac Pro isn't by default using the 32 bit kernel?
I thought:
Code: Select all
ACPI_SMC_PlatformPlugin:
Version: 4.7.5
Last Modified: 6/18/11 4:09 PM
Kind: Intel
Architectures: i386, x86_64
64-Bit (Intel): Yes
Location: /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext
Kext Version: 4.7.5d4
Load Address: 0x1671000
Valid: Yes
Authentic: Yes
Dependencies: Satisfied
Showed that I was.
-Hinto
hinto
Posts: 21 Joined: 16. Apr 2012, 15:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Win7
Post
by hinto » 17. Apr 2012, 15:28
Ah... I think I see it. Let me force the 64-bit kernel.
Code: Select all
System Version: Mac OS X 10.7.3 (11D50d)
Kernel Version: Darwin 11.3.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: Bryan Boone's Mac
User Name: Bryan Boone (sasbeb)
Secure Virtual Memory: Enabled
64-bit Kernel and Extensions: No
Time since boot: 28 days 22:21
Looks like it's not the default.
-H