View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#213
Originally Posted by impeham View Post
ok - issue solved - the following made it work:

swapon /dev/mmcblk0p3
insmod /lib/modules/current/ramzswap.ko disksize_kb=65536
swapon /dev/ramzswap0 -p 10
swapoff /dev/mmcblk0p3

it seems that enabling the internal memory's swap was needed to avoid the crash - i don't know why.

Now i have 2 swaps:

/dev/mmcblk1p4 (P -1)
/dev/ramzswap0 (P - 10)

Thanks for the help.
Uh, why would you set the prioroty of ramzswap LOWER than emmc swap? That completely defeats the point of ramzswap. Now VM will use emmc till it is full THEN use ramzswap.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.