Reply
Thread Tools
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#1671
I meet some error:
Nokia-N900:~# swapon /dev/ramzswap0
swapon: /dev/ramzswap0: Invalid argument
Nokia-N900:~#
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
Banned | Posts: 778 | Thanked: 337 times | Joined on Jun 2010
#1672
Originally Posted by SirSocke View Post
Hi dignified,

I used wget for download and installed it with dpkg in same order like in palis post on page 166.

Greetings,
SirSocke
I'll teach you if you decide to shut up..
download the flasher, modules, kernel, and bootimg *if ure using bootmenu..*
first install kernel, then install modules then flasher..
and oh, first, download it from here then copy to phone and dpkg -i
and im not sure of the order, but if u have a conflict, try rearranging like flasher first then kernel then modules.. jus use ur brain.
and no, u can remove the kernel power v48 *older* but wont make any difference.. jus install em anyway, they'll be upgraded..
 
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:
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#1674
@don_falcone
sorry i forgot, here it is:
Code:
Nokia-N900:~# modprobe ramzswap num_devices=1 disksize_kb=98304
Nokia-N900:~# swapon /dev/ramzswap0
swapon: /dev/ramzswap0: Invalid argument
Nokia-N900:~# swapon /dev/mmcblk0p3
swapon: /dev/mmcblk0p3: Device or resource busy
Nokia-N900:~#
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#1675
try this

insmod /lib/modules/current/ramzswap.ko disksize_kb=81920
swapon /dev/ramzswap0
swapoff /dev/mmcblk0p3
swapon /dev/mmcblk0p3
 
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#1676
@Alfred: what's the dmesg output?
 

The Following User Says Thank You to don_falcone For This Useful Post:
Posts: 156 | Thanked: 239 times | Joined on Sep 2009 @ Finland
#1677
Were the commands copy-pasted? In that case the swapon command might have came too soon after loading ramzswap. That's the reason you need to use "sleep 1" when enabling ramzswap on a script.

Last edited by DeeGee; 2011-09-22 at 14:50.
 

The Following User Says Thank You to DeeGee For This Useful Post:
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#1678
Guys, seriousy Thank You a lot for trying to help me, but i don't know what all these commands do. I just tried what don_falcone suggested to all. So nevermind...
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
Posts: 159 | Thanked: 68 times | Joined on Sep 2011 @ India
#1679
working flawless...nice work...quick reboot..
bu qcpufreq showing cpu temp about 400 degrees...
 
Banned | Posts: 695 | Thanked: 308 times | Joined on Apr 2011 @ originally pakistan ,now in china
#1680
i cant upgrade this through repositories ,probably it has not reached there ,not yet ? right ?
 
Reply

Tags
battery-status, bq27x00_battery, kernel, kernel-power, misiak4king, noobs-cant-read, pali4president, patches, readdirections, revolverspinyou


 
Forum Jump


All times are GMT. The time now is 00:45.