Author Topic: Swap On Sd - Is It Possible?  (Read 5697 times)

new2006

  • Newbie
  • *
  • Posts: 9
    • View Profile
Swap On Sd - Is It Possible?
« on: August 03, 2006, 04:17:59 pm »
Hi All,

I am a new happy owner of the C1000. The OS is Cacko 1.23.
So, to use as a storage I bought a new SD card Transcend - 1GB. It works. What is the next step? Sure, I tried create a swap on the card. First try was with the memory plugins. There was no reaction for a long time. Just the battery went down slowly. Then everything has aborted. I checked the mount options - SD card is mounted read-only!    Second, third try - all the same. My battery was already empty. Recharged and again - the same. Then I decided make everything manually and started "dd". The same. The card in SysInfo is recignised as "Hitachi". Of course I have rebooted or remounted the card every time.
Could anybody advise me something to create a swap on the SD?

Thanks in advance!

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Swap On Sd - Is It Possible?
« Reply #1 on: August 03, 2006, 08:10:14 pm »
cacko has a memory applet.

click on it on lower right corner.  highlight sd and create sd swap file.  after it is created, highlight sd again and say "ON" and you have more memory.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

new2006

  • Newbie
  • *
  • Posts: 9
    • View Profile
Swap On Sd - Is It Possible?
« Reply #2 on: August 04, 2006, 05:38:33 pm »
Quote
cacko has a memory applet.

click on it on lower right corner.  highlight sd and create sd swap file.  after it is created, highlight sd again and say "ON" and you have more memory.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137404\"][{POST_SNAPBACK}][/a][/div]

Thank for the answer, but in what I described in the first message, the memory applet named I "memory plugins". All the first hang problems had I with the try to create the SD swap file.    And, as I see, it is not an applet problem, cose the same is with the ordinary "dd".

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Swap On Sd - Is It Possible?
« Reply #3 on: August 05, 2006, 06:44:30 am »
use
dd if=/dev/zero of=<path to sd card>/swapfile bs=1024k count=<size in MB>
mkswap <path to sd card>/swapfile
swapon <path to sd card>/swapfile

changing anything inside <> to what it specifies
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

new2006

  • Newbie
  • *
  • Posts: 9
    • View Profile
Swap On Sd - Is It Possible?
« Reply #4 on: August 06, 2006, 08:02:54 am »
Quote
use
dd if=/dev/zero of=<path to sd card>/swapfile bs=1024k count=<size in MB>
mkswap <path to sd card>/swapfile
swapon <path to sd card>/swapfile

changing anything inside <> to what it specifies
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137506\"][{POST_SNAPBACK}][/a][/div]

I used it, like described at the first message. During the dd command my Zaurus hanged ande the power (battery charge) went down. Some time later (any timeout?) the card was mounted read-only. And the size of the created file was some hundred K only. So it looks very similar the reaction of the system to the swap creation tries by applet and from terminal emulator.

new2006

  • Newbie
  • *
  • Posts: 9
    • View Profile
Swap On Sd - Is It Possible?
« Reply #5 on: August 22, 2006, 04:49:03 pm »
Hmmm... Interesting. This brandname "transcend" was enough to play. At last I bought another SD-card. Noname 1GB for 19.90. And it works. Perfect. I could create 2 slices, make a swap and so on. Is it true, that cheaper card is better?  

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Swap On Sd - Is It Possible?
« Reply #6 on: August 22, 2006, 10:08:14 pm »
Quote
Hmmm... Interesting. This brandname "transcend" was enough to play. At last I bought another SD-card. Noname 1GB for 19.90. And it works. Perfect. I could create 2 slices, make a swap and so on. Is it true, that cheaper card is better? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139430\"][{POST_SNAPBACK}][/a][/div]

made in Taiwan is good, everything else is crap
seriously, nowadays, the quality of most electronics is quite good that the expensive brands only differentiate themselves through better marketing and higher prices, but quality and support wise, they aren't much better....
For SD cards, they may be faster, but the Zaurus does not care so the cheaper the better...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K