View Single Post
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#1673
Originally Posted by Alfred View Post
I meet some error:
Nokia-N900:~# swapon /dev/ramzswap0
swapon: /dev/ramzswap0: Invalid argument
Nokia-N900:~#
You did not supply a disksize_kb (or memlimit) parameter during modprobe. It can work like this too, but then it needs rzscontrol which we do not have:

Code:
modprobe ramzswap;
rzscontrol /dev/block/ramzswap0 --disksize_kb=32768 --init;
swapon /dev/block/ramzswap0;
 

The Following 2 Users Say Thank You to don_falcone For This Useful Post: