This might be more appropriately posted to a group that cares about the
VM you're using, since it's obviously a VM bug.

Not everyone on this list has ever even built Android, nor would they
care to, and using a VM with 512Mb of RAM to do development doesn't seem
wise regardless.

Tim

On 6/17/2011 1:20 PM, Vitalie Vrabie wrote:
> for those who feel very tough and are eager to reproduce this with any
> VM solution, here are the steps:
>
> 1. create a fresh vm, give it 512m ram, 1 core 1 thread cpu, 20g hdd.
> 2. install ubuntu 11.04 in it, let it partition the hdd automagically
> (no idea how much swap it allocates, probably 512m too).
> 3. (optional) run an update on ubuntu.
> 4. install all the required packages as described in
> http://source.android.com/source/initializing.html
> 5. checkout froyo "-b froyo", as said in
> http://source.android.com/source/downloading.html
> 6. try to compile, as described in
> http://source.android.com/source/building.html
> 7. after about 8 hours on a xeon 2.4ghz you will end up with a frozen
> (not really frozen, but as described by Jason Gerecke) ubuntu.
> 8. "power off" the VM.
> 9. start it again.
> 10. after some tine, ubuntu will try to update, but will fail *any*
> attempt to manipulate the packages.
> 11. usually at this point enlightenment comes. :)
> 12. yes, we fit in under a dozen steps!
>
> On Fri, Jun 17, 2011 at 9:31 PM, Linux Box Solutions
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Use a paid for VM management system and not those crap free
>     downloads and you'll see the difference use something professional
>     if you trying to do a professionals job no something home users
>     use to learn and experience from
>
>     www.YouTube.com/user/linuxboxsolution
>     <http://www.YouTube.com/user/linuxboxsolution>
>     www.Krzyview.com <http://www.Krzyview.com>
>     www.Email-Marketers.com <http://www.Email-Marketers.com>
>
>
>     On Jun 17, 2011, at 1:37 PM, Jason Gerecke <[email protected]
>     <mailto:[email protected]>> wrote:
>
>     > I've actually been seeing similar issues under VirtualBox 4.0.8
>     r71778
>     > with a virtual quad-core 64-bit Ubuntu 11.04 guest and 64-bit
>     Windows
>     > 7 host. However, in my case, the VM seems to kinda-freeze (its
>     hard to
>     > describe -- the VM isn't locked up, but it doesn't really respond to
>     > most input) for no apparent reason. High memory pressure, or
>     not; high
>     > CPU load or not. I haven't had a problem with other guests (Ubuntu
>     > 10.11, Arch Linux, RHEL6, etc) though to be honest I haven't been
>     > working with them as much recently...
>     >
>     > Since I have to reset the VM every-so-often, I've enabled full
>     > journaling on the VMs ext4 disks. Perhaps your package manager's
>     files
>     > got corrupted when you reset the machine?
>     >
>     > Also, I'll mirror the comments that 512MB of RAM isn't going to be
>     > enough -- my VM was swapping up a storm when compiling with "-j4".
>     > Allocating 1 GB seemed to have solved the swapping issue, though the
>     > more the merrier.
>     >
>     > Jason
>     >
>     > ---
>     > Day xee-nee-svsh duu-'ushtlh-ts'it;
>     > nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it.
>     > Huu-chan xuu naa~-gha.
>     >
>     >
>     > On Fri, Jun 17, 2011 at 10:18 AM, Vitalie Vrabie
>     > <[email protected] <mailto:[email protected]>> wrote:
>     >> what can i say...
>     >> i really feel very happy this happened in a vm and not on my
>     host os.
>     >> despite its age, linux is not mature enough to live outside VMs.
>     >> sad but true.
>     >>
>     >> On Fri, Jun 17, 2011 at 6:27 PM, Linux Box Solutions
>     >> <[email protected]
>     <mailto:[email protected]>> wrote:
>     >>>
>     >>> Agreed
>     >>>
>     >>> www.YouTube.com/user/linuxboxsolution
>     <http://www.YouTube.com/user/linuxboxsolution>
>     >>> www.Krzyview.com <http://www.Krzyview.com>
>     >>> www.Email-Marketers.com <http://www.Email-Marketers.com>
>     >>>
>     >>> On Jun 17, 2011, at 11:17 AM, Al Sutton <[email protected]
>     <mailto:[email protected]>> wrote:
>     >>>
>     >>> Sounds like you're getting a little too emotional now.
>     >>> In a nutshell; Get some more RAM. You'll probably need 10+GB
>     to give 8GB
>     >>> to the build.
>     >>> Beyond that I'm afraid to tell you your view of OSes, VMs, and
>     what should
>     >>> be and should happen is, unfortunately, unlikely to have any
>     effect on the
>     >>> situation.
>     >>> Enjoy,
>     >>>
>     >>> Al.
>     >>> --
>     >>> T: @alsutton W: www.funkyandroid.com <http://www.funkyandroid.com>
>     >>>
>     >>> The views expressed in this email are those of the author and not
>     >>> necessarily those of Funky Android Limited, it's associates, or
>     >>> it's subsidiaries.
>     >>> On 17 Jun 2011, at 16:14, Vitalie Vrabie wrote:
>     >>>
>     >>> oh is it the vm?
>     >>> or rather this supposed-to-be os, which turns out to be just
>     an insult to
>     >>> humanity?
>     >>>
>     >>> no ram - fail the allocation, fail the compiling.
>     >>> but dont write swap over fs.
>     >>>
>     >>> On Fri, Jun 17, 2011 at 5:36 PM, Al Sutton
>     <[email protected] <mailto:[email protected]>> wrote:
>     >>>>
>     >>>> Because a Machine Emulators can have bugs, and running them
>     low on RAM
>     >>>> and Swap is never a good idea.
>     >>>> I ended up getting a refund from one vendor of a VM solution
>     because I
>     >>>> saw disk corruption every time a shut down particular VMs.
>     >>>> Al.
>     >>>> --
>     >>>> T: @alsutton W: www.funkyandroid.com
>     <http://www.funkyandroid.com>
>     >>>>
>     >>>> The views expressed in this email are those of the author and not
>     >>>> necessarily those of Funky Android Limited, it's associates, or
>     >>>> it's subsidiaries.
>     >>>> On 17 Jun 2011, at 15:19, Vitalie Vrabie wrote:
>     >>>>
>     >>>> not the case of this xeon.
>     >>>>
>     >>>> physical ram is 1.5G, vm is 512, lots of swap space in the
>     vm, make -j1
>     >>>>
>     >>>> still dont understand HOW A COMPILE PROCESS CAN MES UP THE
>     PACKAGE SYSTEM
>     >>>> OF UBUNTU. :(
>     >>>>
>     >>>> On Fri, Jun 17, 2011 at 5:12 PM, Al Sutton
>     <[email protected] <mailto:[email protected]>> wrote:
>     >>>>>
>     >>>>> 32 bit OSes can address more than 4GB using PAE (
>     >>>>> http://en.wikipedia.org/wiki/Physical_Address_Extension ).
>     >>>>>
>     >>>>> Al.
>     >>>>> --
>     >>>>> T: @alsutton W: www.funkyandroid.com
>     <http://www.funkyandroid.com>
>     >>>>>
>     >>>>> The views expressed in this email are those of the author
>     and not
>     >>>>> necessarily those of Funky Android Limited, it's associates,
>     or it's
>     >>>>> subsidiaries.
>     >>>>>
>     >>>>> On 17 Jun 2011, at 15:06, Linux Box Solutions wrote:
>     >>>>>
>     >>>>>> No it doesn't a limitation of 32 bit systems is 4gb max
>     >>>>>>
>     >>>>>> www.YouTube.com/user/linuxboxsolution
>     <http://www.YouTube.com/user/linuxboxsolution>
>     >>>>>> www.Krzyview.com <http://www.Krzyview.com>
>     >>>>>> www.Email-Marketers.com <http://www.Email-Marketers.com>
>     >>>>>>
>     >>>>>>
>     >>>>>> On Jun 17, 2011, at 10:03 AM, Alessandro Pellizzari
>     <[email protected] <mailto:[email protected]>>
>     >>>>>> wrote:
>     >>>>>>
>     >>>>>>> Il Fri, 17 Jun 2011 16:53:37 +0300, Vitalie Vrabie ha scritto:
>     >>>>>>>
>     >>>>>>>> where've you seen 8g on 32bit???
>     >>>>>>>
>     >>>>>>> Linux 32bit supports 64 GB of RAM.
>     >>>>>>>
>     >>>>>>> Bye.
>     >>>>>>>
>     >>>>>>> --
>     >>>>>>> You received this message because you are subscribed to
>     the Google
>     >>>>>>> Groups "Android Discuss" group.
>     >>>>>>> To post to this group, send email to
>     >>>>>>> [email protected]
>     <mailto:[email protected]>.
>     >>>>>>> To unsubscribe from this group, send email to
>     >>>>>>> [email protected]
>     <mailto:android-discuss%[email protected]>.
>     >>>>>>> For more options, visit this group at
>     >>>>>>> http://groups.google.com/group/android-discuss?hl=en.
>     >>>>>>>
>     >>>>>>
>     >>>>>> --
>     >>>>>> You received this message because you are subscribed to the
>     Google
>     >>>>>> Groups "Android Discuss" group.
>     >>>>>> To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     >>>>>> To unsubscribe from this group, send email to
>     >>>>>> [email protected]
>     <mailto:android-discuss%[email protected]>.
>     >>>>>> For more options, visit this group at
>     >>>>>> http://groups.google.com/group/android-discuss?hl=en.
>     >>>>>>
>     >>>>>
>     >>>>> --
>     >>>>> You received this message because you are subscribed to the
>     Google
>     >>>>> Groups "Android Discuss" group.
>     >>>>> To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     >>>>> To unsubscribe from this group, send email to
>     >>>>> [email protected]
>     <mailto:android-discuss%[email protected]>.
>     >>>>> For more options, visit this group at
>     >>>>> http://groups.google.com/group/android-discuss?hl=en.
>     >>>>>
>     >>>>
>     >>>>
>     >>>>
>     >>>> --
>     >>>> Sent from my iMat.
>     >>>>
>     >>>>
>     >>>> --
>     >>>> You received this message because you are subscribed to the
>     Google Groups
>     >>>> "Android Discuss" group.
>     >>>> To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     >>>> To unsubscribe from this group, send email to
>     >>>> [email protected]
>     <mailto:android-discuss%[email protected]>.
>     >>>> For more options, visit this group at
>     >>>> http://groups.google.com/group/android-discuss?hl=en.
>     >>>>
>     >>>>
>     >>>> --
>     >>>> You received this message because you are subscribed to the
>     Google Groups
>     >>>> "Android Discuss" group.
>     >>>> To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     >>>> To unsubscribe from this group, send email to
>     >>>> [email protected]
>     <mailto:android-discuss%[email protected]>.
>     >>>> For more options, visit this group at
>     >>>> http://groups.google.com/group/android-discuss?hl=en.
>     >>>
>     >>>
>     >>>
>     >>> --
>     >>> Sent from my iMat.
>     >>>
>     >>>
>     >>> --
>     >>> You received this message because you are subscribed to the
>     Google Groups
>     >>> "Android Discuss" group.
>     >>> To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     >>> To unsubscribe from this group, send email to
>     >>> [email protected]
>     <mailto:android-discuss%[email protected]>.
>     >>> For more options, visit this group at
>     >>> http://groups.google.com/group/android-discuss?hl=en.
>     >>>
>     >>> --
>     >>> You received this message because you are subscribed to the
>     Google Groups
>     >>> "Android Discuss" group.
>     >>> To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     >>> To unsubscribe from this group, send email to
>     >>> [email protected]
>     <mailto:android-discuss%[email protected]>.
>     >>> For more options, visit this group at
>     >>> http://groups.google.com/group/android-discuss?hl=en.
>     >>>
>     >>> --
>     >>> You received this message because you are subscribed to the
>     Google Groups
>     >>> "Android Discuss" group.
>     >>> To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     >>> To unsubscribe from this group, send email to
>     >>> [email protected]
>     <mailto:android-discuss%[email protected]>.
>     >>> For more options, visit this group at
>     >>> http://groups.google.com/group/android-discuss?hl=en.
>     >>
>     >>
>     >>
>     >> --
>     >> Sent from my iMat.
>     >>
>     >> --
>     >> You received this message because you are subscribed to the
>     Google Groups
>     >> "Android Discuss" group.
>     >> To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     >> To unsubscribe from this group, send email to
>     >> [email protected]
>     <mailto:android-discuss%[email protected]>.
>     >> For more options, visit this group at
>     >> http://groups.google.com/group/android-discuss?hl=en.
>     >>
>     >
>     > --
>     > You received this message because you are subscribed to the
>     Google Groups "Android Discuss" group.
>     > To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     > To unsubscribe from this group, send email to
>     [email protected]
>     <mailto:android-discuss%[email protected]>.
>     > For more options, visit this group at
>     http://groups.google.com/group/android-discuss?hl=en.
>     >
>
>     --
>     You received this message because you are subscribed to the Google
>     Groups "Android Discuss" group.
>     To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>.
>     To unsubscribe from this group, send email to
>     [email protected]
>     <mailto:android-discuss%[email protected]>.
>     For more options, visit this group at
>     http://groups.google.com/group/android-discuss?hl=en.
>
>
>
>
> -- 
> Sent from my iMat.
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Android Discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/android-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to