View Single Post
Old 06-24-2012, 10:43 PM   #21
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by UnknownUser View Post
first off, thanks for all the info guys!
Also, I ran into the same problem with the swap file. It seems that busybox doesnt like using files for swap. heres more info about it from the XDA forums: http://forum.xda-developers.com/arch.../t-586750.html

mounting the file as a loop device works just fine though. for me, here's what I did:
mkswap /mnt/us/swapfile
losetup /dev/loop/7 /mnt/us/swapfile #/dev/loop/7 seems unlikely to be used
swapon /dev/loop/7
free reports 127M of free swap

so with that done, killing a few things (namely framework, pillow, webreader, and kb) I have 200M of free mem plus an additional 127M of swap. looks good to me.

so I tried the chroot env again, still with no luck.
running apt-get update within the chroot freezes up again, this time it got as far as "Reading package lists... 93%", however the same symptoms show up. things freezes up, inside and outside the chroot.
I ran "free" outside the chroot in another shell, and got 7M free, and 154M cached, and the 127M of swap untouched. it seems that memory isnt the culprit here.
Any clues as to where to look next?
That looks similar to what I did. Loop mounted swap files. Except on a K3, and it let me do bigger stuff. It looks like it helped you some if apt-get made more progress.

Perhaps your apt-get temp or cached files are filling /tmp or /var/local? Make sure they go to /mnt/us...

Last edited by geekmaster; 06-24-2012 at 10:47 PM.
geekmaster is offline   Reply With Quote