Author Topic: Using 4gb Sd-card  (Read 4292 times)

Snake

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://www.wide-eye.de
Using 4gb Sd-card
« on: March 13, 2007, 07:08:16 am »
Hi!

I have ordered a 4GB Transcend 150x SD-Card for my SL-C1000 with CackoROM 1.23 this morning. And now I want to know to use this card at best.

Make it a sense to create a special parition for swap on the sd-card?
I'd like to use the card for installing apps too, so is ext2 the right choice? Or can/should I use ext3 or others?
With dirs could/should I move (and symlink) to the card to save most space on internal flash?

Regards,
Frank
SL5500(G), Modified  64-0-CackoROM, 256MB HiSpeed Panasonic SD
SL-C1000, CackoROM 1.23 light, 1GB 80x Transcend SD
German SharpROM HowTo: http://www.wide-eye.de...

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Using 4gb Sd-card
« Reply #1 on: March 13, 2007, 08:55:19 am »
Are you planning to stick with Cacko?
if so I believe that cacko has an applet that will let you set up a swap file. I would recommend 128MB-256MB
I've asked about ext2 vs ext3 recently and people recommend ext2
I wold recommend a lean in stall of the ROM/Distro and install your apps that you don't mind waiting a bit longer to load, on the SD.
Please add your experience to the Wiki (or let me know and I would be happy to do it): http://www.tyrannozaurus.com/?q=wiki/SDCompatList
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

deluxe

  • Full Member
  • ***
  • Posts: 186
    • View Profile
Using 4gb Sd-card
« Reply #2 on: March 13, 2007, 10:50:42 am »
Correct: Cacko 1.23 (Heavy, at least) has the swap-making applet built in.
On my c1000 with Heavy I found that if I even ejected the card, then reinserted it, that I had to "re-establish" the swap file.
Memory seems fuzzy, but I believe that a reboot made the same process necessary too.

BTW: I tried a Transcend 4GB card in mine too. Worked fine for 2 or 3 days then totally corrupted. The replacement card did the same, so I got a refund. The card I had was the regular speed though, not the 150X....which seems to work OK.
Meanwhile my PQI 2GB plugs along just fine. I just "bought" a Kingston 2GB to go with it for -$1.05 after rebates with free shipping (!!!) from Buy.com, offer now ended, so we'll see how that fares.
« Last Edit: March 13, 2007, 10:57:21 am by deluxe »
Neill Currie
Hillsborough
Nh, USA.
---------
SL-C3100, Cacko "heavy" ROM.
SL-C1000, Cacko "heavy" ROM.
A SL-5500 with TKrom.
Ambicom and Symbol CF wifi, 8gb Seagate Microdrive, <4gb Transcend SD. Assorted other digital detritus.
---------
Owner of a Nokia n810 Internet Tablet.
Also a Nokia n800, and a 4th generation iPod Touch.
---------

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Using 4gb Sd-card
« Reply #3 on: March 13, 2007, 11:01:28 am »
Quote
Correct: Cacko 1.23 (Heavy, at least) has the swap-making applet built in.
On my c1000 with Heavy I found that if I even ejected the card, then reinserted it, that I had to "re-establish" the swap file.
Memory seems fuzzy, but I believe that a reboot made the same process necessary too.[div align=\"right\"][a href=\"index.php?act=findpost&pid=156107\"][{POST_SNAPBACK}][/a][/div]
IIRC I had to re-enable my swap file when I ejected the card, but not when I rebooted. Anyway, a swap partition would be better, but I don't know if Cacko recognizes that 'out-of-the-box'. I didn't start using one 'til I switched back to pdaxrom.

FWIW, i have my 4bg card partitioned ~ 3gb fat (for easy windoze file transfers), ~ 1gb ext2 (for programs & stuff) & ~ 150mb swap.
GROG!

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Using 4gb Sd-card
« Reply #4 on: March 13, 2007, 11:29:30 am »
meanie has an updated memory applet, I'll attach it here

Quote
Cacko already includes a memoryapplet for creating swap files.
I have packaged an improved version [qtopia-memoryapplet_1.0.4_arm.ipk] which allows C3x00 models to create the swapfile onto the internal MicroDrive on /hdd3 and also the creation of swapfiles up to 512MB.

As always, remember to rename it to "qtopia-memoryapplet_1.0.4_arm.ipk"
The forum substituted an underscore for the dash
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

harvell

  • Full Member
  • ***
  • Posts: 241
    • View Profile
    • http://
Using 4gb Sd-card
« Reply #5 on: March 13, 2007, 04:11:32 pm »
Cacko Lite does have the memory applet however I think a swap partition would be best.  

I setup a 512mb partition for my 4G card and it works great.  

I don't think I ever use it to the full 512 extent however it feels good to know it's there.  Especially when I learn how to compile.  

The memory applet just creates a swap file not a partition.  So to turn on the swap partition just issue a

swapon /dev/mmcda2 #  That's for the second partition on the SD card.
C1000 w/...  Cacko Lite (When I use the Z alot for business)... pdaXrom (when I see something cool and want to try it.  Best way for me to learn shell commands)
Eee PC for Mrs. Harvell  
4G SD

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Using 4gb Sd-card
« Reply #6 on: March 13, 2007, 07:11:40 pm »
problem with using swap on the card is that it will wear it out faster. thus I would recommend putting the swap partition right at the end of the card, so that if it does develop errors you can use the rest of the card.

if doing interesting/custom partitioning and adding entries to fstab, be sure to put "noatime" in the mount args, so that every time the card's contents are listed it won't update inode access times which wear card out faster. playing with async/sync might also be interesting.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Snake

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://www.wide-eye.de
Using 4gb Sd-card
« Reply #7 on: March 14, 2007, 09:37:05 am »
Thx for all your answers.  

So if I'm right, there is no (easy) way to use a real swap partition on sd-card with Cacko. But it make sense to create a special partition to store the swap-file.

Well, if more than one partition on a sd-card, how they are mounted?

@Antikx: I will write my experiences, of course.  

Regards,
Frank
SL5500(G), Modified  64-0-CackoROM, 256MB HiSpeed Panasonic SD
SL-C1000, CackoROM 1.23 light, 1GB 80x Transcend SD
German SharpROM HowTo: http://www.wide-eye.de...

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Using 4gb Sd-card
« Reply #8 on: March 14, 2007, 09:39:57 am »
Quote
Thx for all your answers.   

So if I'm right, there is no (easy) way to use a real swap partition on sd-card with Cacko. But it make sense to create a special partition to store the swap-file.

Well, if more than one partition on a sd-card, how they are mounted?

@Antikx: I will write my experiences, of course.   

Regards,
Frank
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156241\"][{POST_SNAPBACK}][/a][/div]

sdmgr calls /etc/sdcard/sd_mem_ctrl
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

Snake

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://www.wide-eye.de
Using 4gb Sd-card
« Reply #9 on: March 17, 2007, 06:49:36 am »
Okay, with Cresho's SD-Driver the Transcend 4GB 150x SD-Card works out of the box.  

With the "Multiple partitions on a CF / SD card" HowTo I have created 2 partitions on the card. 1st 1GB ext2, 2nd 3GB FAT32.
Well, the 1st partition on mmcda1 works without problems except that mount says nothing about noatime (fstab has noatime and async for /dev/mmcda1).
2nd partition on mmcda2 works after manually mount. I have created sdcontrol2 like the HowTo says and fstab has an entry for mmcda2.

* Where is my noatime on mount for mmcda1? How can I check this?
* What I have to do for automount 2nd partition after reboot or reinsert SD-Card?

Thx and regards,
Frank
SL5500(G), Modified  64-0-CackoROM, 256MB HiSpeed Panasonic SD
SL-C1000, CackoROM 1.23 light, 1GB 80x Transcend SD
German SharpROM HowTo: http://www.wide-eye.de...