Notices


Reply
Thread Tools
Posts: 356 | Thanked: 38 times | Joined on Nov 2005 @ Finland
#51
dmesg | tail
[66161.443237] hwa742: setting update mode to manual
[66161.443298] omapfb_notifier_cb(): event = READY
[66170.687774] ramzswap: Unknown symbol xv_destroy_pool
[66170.688781] ramzswap: Unknown symbol lzo1x_decompress_safe
[66170.689605] ramzswap: Unknown symbol lzo1x_1_compress
[66170.691986] ramzswap: Unknown symbol xv_get_total_size_bytes
[66170.694793] ramzswap: Unknown symbol xv_create_pool
[66170.697326] ramzswap: Unknown symbol xv_malloc
[66170.698425] ramzswap: Unknown symbol xv_free
[66170.699218] ramzswap: Unknown symbol xv_get_object_size
__________________
N900 as day to day phone
N770 for childrens music
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#52
Originally Posted by mrp View Post
dmesg | tail
[66161.443237] hwa742: setting update mode to manual
[66161.443298] omapfb_notifier_cb(): event = READY
[66170.687774] ramzswap: Unknown symbol xv_destroy_pool
[66170.688781] ramzswap: Unknown symbol lzo1x_decompress_safe
[66170.689605] ramzswap: Unknown symbol lzo1x_1_compress
[66170.691986] ramzswap: Unknown symbol xv_get_total_size_bytes
[66170.694793] ramzswap: Unknown symbol xv_create_pool
[66170.697326] ramzswap: Unknown symbol xv_malloc
[66170.698425] ramzswap: Unknown symbol xv_free
[66170.699218] ramzswap: Unknown symbol xv_get_object_size
Hmm ok, you insmodded the ramzswap module before insmodding xvmalloc.ko. So that creates the xv_* unknown symbols. But the lzo1x_* symbols are not available on the kernel, I'll compile them and post them here.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#53
Here, untar this lzo.tar and then run:
Code:
insmod lzo1x_compress.ko
insmod lzo1x_decompress.ko
insmod xvmalloc.ko
insmod ramzswap.ko
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 

The Following User Says Thank You to locusf For This Useful Post:
Posts: 356 | Thanked: 38 times | Joined on Nov 2005 @ Finland
#54
insmods successfull and /dev/ramzwap0 active, sixe 15536! What should I do next? Thank you so far
__________________
N900 as day to day phone
N770 for childrens music
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#55
Originally Posted by mrp View Post
insmods successfull and /dev/ramzwap0 active, sixe 15536! What should I do next? Thank you so far
Code:
swapon /dev/ramzswap0
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
Posts: 356 | Thanked: 38 times | Joined on Nov 2005 @ Finland
#56
done. Any settings to make this ready at reboot (simple instructions)?
__________________
N900 as day to day phone
N770 for childrens music
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#57
Originally Posted by mrp View Post
done. Any settings to make this ready at reboot (simple instructions)?
Just add the insmod and swapon stanzas to /etc/init.d/ramzez. Replace the existing stanzas.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
Posts: 356 | Thanked: 38 times | Joined on Nov 2005 @ Finland
#58
ok, now I have a 15MB ramz. Is it ok to keep the mmc-swap alongside with ramz?
__________________
N900 as day to day phone
N770 for childrens music
 
Posts: 1,213 | Thanked: 356 times | Joined on Jan 2008 @ California and Virginia
#59
would this decrease battery life in any way because of the increased CPU usage?
__________________
----------------------------------------------------

www.ezschool.com - The best online educational experience.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#60
Originally Posted by Thesandlord View Post
would this decrease battery life in any way because of the increased CPU usage?
I don't have any hard numbers, but my guess is that battery life should be about the same or perhaps even slightly better. On the one hand you use the CPU a bit more, but on the other you don't have to write to a flash device for swap. Consider also that paging happens when a process is actually doing something, ie the CPU is already awake for other reasons.
 

The Following User Says Thank You to lma For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:01.