OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: GadgetGuy on May 27, 2006, 01:44:43 pm
-
Thanks to several people, my C3100 starts to work quite nicely with beta 4 ( if I forget about the occasional cases where it does not come back after a suspend - and requires a reset...)
I am trying now to set up a swap partition on my HDD.
I am doing exatly what has perfectly worked with Cacko.
1. I add the following entry to my fstab file:
/dev/hda6 swap swap defaults 0 0
Then I type in my console as su
swapon -a
I get the following error:
swapon: /dev/hda6: invalid argument
What is going on? The exact same sequence worked 100% under cacko...
Thank you all...
-
Thanks to several people, my C3100 starts to work quite nicely with beta 4 ( if I forget about the occasional cases where it does not come back after a suspend - and requires a reset...)
I am trying now to set up a swap partition on my HDD.
I am doing exatly what has perfectly worked with Cacko.
1. I add the following entry to my fstab file:
/dev/hda6 swap swap defaults 0 0
Then I type in my console as su
swapon -a
I get the following error:
swapon: /dev/hda6: invalid argument
What is going on? The exact same sequence worked 100% under cacko...
Thank you all...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128602\"][{POST_SNAPBACK}][/a][/div]
You did fdisk and made the partition and did mkswap to set it up?
-
You did fdisk and made the partition and did mkswap to set it up?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128605\"][{POST_SNAPBACK}][/a][/div]
I have used fdisk to create a swap partition - and it has worked on cacko.
Do I also need mkswap - in addition to creating the swap partition?
-
Do I also need mkswap - in addition to creating the swap partition?
yep do a:
mkswap /dev/hda6
should work perfectly for you....
then the swap on command
-
Do I also need mkswap - in addition to creating the swap partition?
yep do a:
mkswap /dev/hda6
should work perfectly for you....
then the swap on command
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128616\"][{POST_SNAPBACK}][/a][/div]
Perfect. Works now! Thanks!
I now just hope, that beta 5 will come soon, as I would love to be able to properly suspend, use the character "a" after leaving X and more...
-
Do I also need mkswap - in addition to creating the swap partition?
yep do a:
mkswap /dev/hda6
should work perfectly for you....
then the swap on command
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128616\"][{POST_SNAPBACK}][/a][/div]
Perfect. Works now! Thanks!
I now just hope, that beta 5 will come soon, as I would love to be able to properly suspend, use the character "a" after leaving X and more...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128617\"][{POST_SNAPBACK}][/a][/div]
UHM.... pay attention with the swap on the Zauri HD, i did a swap and a ext2 partition on my 3100.
Never had problems with other Beta, but the 2.6 kernel seems to be not stable with the Swap.
Yesterday mounting the swap fs i had a strange behaviour.
After after a suspend and wake up action, my partition table was altered, i really don' t know why.
The Zauri froze and partitions were deleted, maybe my fault but i formatted again with a unic ext2 partition, did a lot of tries and nothing happened.
It' s a strange thing.
BYEZ!
-
have you tried a swapfile instead of a partition? theoretically slower, but I don'really see much difference in real performance on cacko. It might be easier to manage.
I'm really loooking forward to beta5 or beta4 non-extreme or whatever it gets called too --pdaX with 2.6 and the problems ironed out bvdd back in and generally behaving itself the way it normally does will be ..well...really cool.
To go back from cacko/pdaxqt, though, I'll need bvdd (or some unknown to me equiavalent or improvement) and most importantly support for my 4 gig sd card. I'm guessing thes, other improvements and the stability you mentioned are in the near future. til then, try the swapfile and let us know if it's an improvement?
-
UHM.... pay attention with the swap on the Zauri HD, i did a swap and a ext2 partition on my 3100.
Never had problems with other Beta, but the 2.6 kernel seems to be not stable with the Swap.
Yesterday mounting the swap fs i had a strange behaviour.
After after a suspend and wake up action, my partition table was altered, i really don' t know why.
The Zauri froze and partitions were deleted, maybe my fault but i formatted again with a unic ext2 partition, did a lot of tries and nothing happened.
It' s a strange thing.
BYEZ!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128622\"][{POST_SNAPBACK}][/a][/div]
That sounds scary... I hope it will not happen to me too... I have 5 partitions: the first 2 are the "factory" ones, the third is a Fat partition ( so that I can transfer data easily via USB), the fourth is an Ext3 partition and the last is the swap.
For now it works ok... but the fact that most of the time I cannot put the unit properly to sleep (and also that the UP directional key does not work when X is running) is quite bad... I hope Beta 5 will fix these issues...
-
I now just hope, that beta 5 will come soon, as I would love to be able to properly suspend, use the character "a" after leaving X and more...
GadgetGuy - to get the 'a' working after exiting x you need to delete (or rename) the "/etc/sysconfig/keyboard/kernel.map" file. There is a bug with the Input Setup applet that causes this to happen - any changes in this will cause the "a" to stop working.
There may be a better way to fix this - check the following two links;
https://www.oesf.org/forums/index.php?showtopic=18112 (https://www.oesf.org/forums/index.php?showtopic=18112)
https://www.oesf.org/forums/index.php?showtopic=17050 (https://www.oesf.org/forums/index.php?showtopic=17050)
I discovered this while trying to figure out how to get the "alt-tap" right mouse button funtion to work - never did figure that one out. I have switched back to Cacko until I can get a fix for this, and bvvd, and the resume from suspend problem...otherwise I think it is a great ROM - also waiting eagerly for beta 5
BTW - I found that the most recent beta 4 initialized my swap partition automatically without making any changes at all - but then I had already done a mkswap on it?
-
GadgetGuy - to get the 'a' working after exiting x you need to delete (or rename) the "/etc/sysconfig/keyboard/kernel.map" file. There is a bug with the Input Setup applet that causes this to happen - any changes in this will cause the "a" to stop working.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128633\"][{POST_SNAPBACK}][/a][/div]
Thanks... I decided to wait for beta 5 instead of all the various fixes... ( I still dont know how to make the "UP" work - it works after a reboot, but does not work in X, and does not work after X has been shut down. )
I just hope it comes soon - as I would really like to use my Z ( and I am too lazy to reflash Cacko) to learn Python on it...
-
GadgetGuy - to get the 'a' working after exiting x you need to delete (or rename) the "/etc/sysconfig/keyboard/kernel.map" file. There is a bug with the Input Setup applet that causes this to happen - any changes in this will cause the "a" to stop working.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128633\"][{POST_SNAPBACK}][/a][/div]
Thanks... I decided to wait for beta 5 instead of all the various fixes... ( I still dont know how to make the "UP" work - it works after a reboot, but does not work in X, and does not work after X has been shut down. )
I just hope it comes soon - as I would really like to use my Z ( and I am too lazy to reflash Cacko) to learn Python on it...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128634\"][{POST_SNAPBACK}][/a][/div]
The "a" problem & "up" cursor problem are the result of running the input config app. It modifies your /etc/sysconfig/keyboard/Borzoi/kernel map, /etc/sysconfig/x11mousebuttons, /etc/x11/kb/xmodmap_us and ~/.Choices/input.conf files.
I recommend backing up those files after a fresh flash so you can replace them if needed to get back to normal keyboard/cursor behavior.
To get right mouse action working I had to manually modify ~/Choices/input.conf file. I set it to my right shift key.
Cheers,
Jerry
-
1 -open cfdisk
$ cfdisk
2 -change the type of your swap partition to SWAP Type (number 82) ....
3- look at FS Type
Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
hda1 Primary Linux ext3 150.71
hda2 Primary Linux ext3 50.58
hda3 Primary Linux ext3 3765.96
hda4 Primary Linux swap / Solaris 128.51
[Bootable] [ Delete ] [ Help ] [Maximize] [ Print ]
[ Quit ] [ Type ] [ Units ] [ Write ]
yeah .... now your swap partition goes up on boot time!