Page 1 of 1
Cant allocate more than 946KB of RAM
Posted: 17. Feb 2011, 17:55
by johnyri
Hello, I have searched for a similar issue but haven't found one so Im sorry if I have missed it.
Currently running VB 4.0.2 on Ubuntu 10.04 LTS on a Dell Inspiron 530s that originally came with 2GB of RAM. Been running win7 VM guest with about 946KB sice ver 3.xx and decided to up host to 4GB. Had to install the generic-pae kernel for Ubuntu to recognize over 3.2GB. So now we see 4GB and I upped the VM to just under 2GB and I get "Abort" anytime I open an app in win7 host. Complete shutdown of VB. Logs arent telling me much... any help would be great!
UPDATE: Win7 guest pegs out at 100% solid (doing nothing) for a few minutes before VB crashes.
kernel: [11807.646611] VirtualBox[14464]: segfault at 9b4510f4 ip b08cf064 sp b176d030 error 4
Thank you!
Re: Cant allocate more than 946KB of RAM
Posted: 17. Feb 2011, 20:44
by fixedwheel
Logs arent telling me much...
maybe someone other can see something... post the VBox.log as attachment
Re: Cant allocate more than 946KB of RAM
Posted: 18. Feb 2011, 01:51
by johnyri
Please find vboxlog.txt attached. Appreciate the help!
Re: Cant allocate more than 946KB of RAM
Posted: 18. Feb 2011, 02:15
by Perryg
This error should be fix now. Turn the hosts IO cache on in the guest settings.
Code: Select all
00:00:01.631 File system of '/home/john/.VirtualBox/Machines/Win-7/Snapshots' (snapshots) is ext4
00:00:01.631 File system of '/home/john/.VirtualBox/HardDisks/Win-7.vdi' is ext4
00:00:01.632 Console: VM runtime error: fatal=false, errorID=Ext4PartitionDetected message="The host I/O cache for at least one controller is disabled and the medium '/home/john/.VirtualBox/HardDisks/Win-7.vdi' for this VM is located on an ext4 partition. There is a known Linux kernel bug which can lead to the corruption of the virtual disk image under these conditions.
00:00:01.632 Either enable the host I/O cache permanently in the VM settings or put the disk image and the snapshot folder onto a different file system.
00:00:01.632 The host I/O cache will now be enabled for this medium"
I get "Abort" anytime I open an app in win7 host
So just to be clear if you set the memory at 1.5GB Windows 7 will start and stay up, but aborts if you start an app?
Any particular app? Couple of things to try below.
Version 4.0.4 was released today and you should update to it.
If this fails to help try to install another copy of Windows 7 with the memory set to 1.5GB and see if it works. Be sure to uncheck register online as soon as Windows is installed. You are just testing and this will give you a 30 day test period.
Re: Cant allocate more than 946KB of RAM
Posted: 18. Feb 2011, 17:57
by johnyri
So just to be clear if you set the memory at 1.5GB Windows 7 will start and stay up, but aborts if you start an app?
Any particular app?
Have tried every increment between 946 and 19xx, results are same. If I let the guest sit and idle long enough above 9xx it eventually aborts and VB crashes. If I open say outlook, or whatever, it just aborts faster. In watching the CPU on the guest it starts at 100% and never goes down (@ greater than 946/9xx RAM) and I assume it just gives up and crashes. But when at 9xx the CPU on guest goes WAY down to a respectable level.
I will update and try again. I fear that the WIN7 install is simply holding on to the 9xx of RAM that it was installed at and doesn't want to budge.
Thank you!
Re: Cant allocate more than 946KB of RAM
Posted: 18. Feb 2011, 18:42
by johnyri
SUCCESS!! 4.0.4 was the fix. Things are looking normal now.
Thank you!