Active Topics

 



Notices


Reply
Thread Tools
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#41
Originally Posted by lma View Post
Nitpicking: you don't really need cat, and the cut part could be a bit fragile as it relies on the amount of whitespace remaining constant. How about something like:

Code:
PROD=$(grep product /proc/component_version)
PROD=${PROD##* }
Thank you for that, this way it is really much more nicer . For got the ## completely.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#42
Originally Posted by mrp View Post
so no ramzez instal is needed? The prod command gave no output, so seems it works. Now, what exactly shoul I do next to achieve what? I kind of jumped into this ramzez thing without knowing exactly for what it was ment for
Just use your tablet like you normally would, the ramzswap kernel module acts as swap inside RAM, with compression of course. This means that swap is faster than using it via SD card.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#43
Installing systemtap to get some numbers , this might take a while so be patients
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
Posts: 356 | Thanked: 38 times | Joined on Nov 2005 @ Finland
#44
how do I know i'm using it?
__________________
N900 as day to day phone
N770 for childrens music
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#45
Originally Posted by mrp View Post
how do I know i'm using it?
Run lsmod and see if xvmalloc and ramzswap are loaded.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#46
Originally Posted by locusf View Post
Run lsmod and see if xvmalloc and ramzswap are loaded.
And of course run swapon /dev/ramzswap0 . To see if that worked, run cat /proc/swaps and see if the ramzswap0 device is listed.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
Posts: 356 | Thanked: 38 times | Joined on Nov 2005 @ Finland
#47
/usr/share/ramzez # insmod ramzswap.ko
insmod: cannot insert 'ramzswap.ko': Unknown symbol in module (-1): No such file or directory
/usr/share/ramzez # cd 770/
/usr/share/ramzez/770 # ls
ramzswap.ko xvmalloc.ko
/usr/share/ramzez/770 # insmod ramzswap.ko
insmod: cannot insert 'ramzswap.ko': Unknown symbol in module (-1): No such file or directory
__________________
N900 as day to day phone
N770 for childrens music
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#48
Originally Posted by mrp View Post
/usr/share/ramzez # insmod ramzswap.ko
insmod: cannot insert 'ramzswap.ko': Unknown symbol in module (-1): No such file or directory
/usr/share/ramzez # cd 770/
/usr/share/ramzez/770 # ls
ramzswap.ko xvmalloc.ko
/usr/share/ramzez/770 # insmod ramzswap.ko
insmod: cannot insert 'ramzswap.ko': Unknown symbol in module (-1): No such file or directory
Check your dmesg, it seems that you are probably missing lzo_1x_compress/decompress symbols.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
Posts: 356 | Thanked: 38 times | Joined on Nov 2005 @ Finland
#49
the dmesg output is long. What text should I look for?
__________________
N900 as day to day phone
N770 for childrens music
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#50
Originally Posted by mrp View Post
the dmesg output is long. What text should I look for?
As I said, "lzo_1x_compress/decompress not found" or similar messages. These messages should occur immediately after insmodding the module.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:59.