Author Topic: Why are SD cards so FRAGILE ?  (Read 7114 times)

sigmaX

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Why are SD cards so FRAGILE ?
« on: September 11, 2004, 12:51:36 am »
I installed Kathrin RC3 ... my SD stopped working in my zaurus. I just REINSTALLED SHARP ROM 1.40J just to find that it doesnt recognize my SD card either ...

It is a VIKING 512MB ...

I place it in my desktop card reader ... and there it is !!!

Anyway I try to format it (fat 16) on my desktop and I get a "Could not complete format" error the first time, but the second time it just formats it.

It seems to be the SD card !! why o hell are so fragile ?? I keep reading posts of SD cards going down everywhere on the web.

Is there any "Trick" to revive them ? Any software that can test them and give a more deep analysis of these small monsters ?

Regards,
Enrique

sl-c860 / 1gigCF 40X / 256mbSD / Ambicom WIFI / TRENDnet 10/100 ethernet / SL-5500 CF 40X 32MB

Chaos

  • Full Member
  • ***
  • Posts: 197
    • View Profile
    • http://zaurus.duelmonsters.ca
Why are SD cards so FRAGILE ?
« Reply #1 on: September 12, 2004, 01:56:51 am »
Maybe they're so fragile because of the size of them?

A CF card has an obviously hard shell. The SD cards bend a bit. They're thinner than floppies, and about 1/8th the area, but hold at most over 1000x the data. I know it's a bad comparison, but it gives you a bit of an idea of how small the parts inside them are.

Because of the size, they're easy to damage, and any damage effects more of the useable space on them then on a CF card.
Sorry. I just don't have the time...

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
Why are SD cards so FRAGILE ?
« Reply #2 on: September 12, 2004, 12:37:13 pm »
It may be how you (or others) use them.  I keep my 256mb SD card in my zaurus at all times... The only time I take it out is to swap it with my 512mb when I'm viewing videos taken from my video cam (it uses SD also), which I do maybe every couple months...?
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

Zuber

  • Sr. Member
  • ****
  • Posts: 277
    • View Profile
    • http://www.shirtpocket.co.uk
Why are SD cards so FRAGILE ?
« Reply #3 on: September 12, 2004, 03:00:02 pm »
I doubt it is the fact that they are flexible etc.

Someone posted a link a while back with some endurance testing of memory cards. They did rather well SD included.

I think offroadgeek is right.

It is more to do with type of use rather than abuse.
Zuber
ShirtPocket Ltd.
www.shirtpocket.co.uk

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Why are SD cards so FRAGILE ?
« Reply #4 on: September 13, 2004, 04:24:10 am »
I think if you read this artical it may suggest that it's not physical abuse that's causing problems with these cards...

http://news.bbc.co.uk/2/hi/technology/3939333.stm

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

VeeDubb

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
Why are SD cards so FRAGILE ?
« Reply #5 on: September 13, 2004, 07:43:07 pm »
I think a more intersting question is this. "Why is such an unreliable and flimsy format so popular?"  CF cards, which are nearly indestructible, are realy not that big.  frankly, I've never thought to myself, "God, I wish these damn CF's were smaller."

xarope

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • http://
Why are SD cards so FRAGILE ?
« Reply #6 on: September 13, 2004, 11:10:19 pm »
hmm, strange, I've had a toshiba 128MB, 2x panasonic 256MBs and a 1GB rebadged Panasonic, with no problems, swapping them between phone (treo 600), Sl5500D, C760, and my fujitsu p5010 with no worries over the last 3 years (well, when I first bought the SL5500D, it was 3 years ago).
sl-c760, Cacko 1.22a 'Full', Panasonic 1GB SD, Transcend 512MB CF-I, Symbol wireless worker PN#LA4137, Voice Recorder Kit (CE-VK1), KDE-PIM 2.0.19

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Why are SD cards so FRAGILE ?
« Reply #7 on: September 14, 2004, 01:52:42 am »
Quote
Is there any "Trick" to revive them ? Any software that can test them and give a more deep analysis of these small monsters ?
I recommend using the 'badblocks' command to test cards.

I had a lot of trouble with a "fragile" SanDisk 256MB SD card.  The filesystem would corrupt itself every so often and some or all of the files on the card would be destroyed.  I finally realised I could just use badblocks to check the card, and I found that only the first 108MB of the card was free of bad blocks.  After repartitioning the card to only use this first 108MB I didn't have any more probems.

I ended up returning the SanDisk card and bought a Kingston 512MB SD instead.  I made sure to run badblocks on the Kingston card as soon as I got it.  The scan showed no bad blocks and I haven't had  any problems with it whatsoever.

To run a badblocks scan (in read-only mode) on your entire SD card, and have it write a list of suspect blocks to /tmp/sd.bad, type the following at the shell prompt:

Code: [Select]
umount /dev/mmcda1
badblocks -s -v -o /tmp/sd.bad /dev/mmcda
You can also run a read-write scan (which will DESTORY all data on your card) by adding the -w command-line switch.  There is also a "non-destructive" read-write mode which will preserve your data, but use that at your own risk.
« Last Edit: September 14, 2004, 01:54:16 am by rgrep »
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

Bundabrg

  • Full Member
  • ***
  • Posts: 183
    • View Profile
Why are SD cards so FRAGILE ?
« Reply #8 on: September 19, 2004, 01:20:47 am »
Hmmm, here are my experiences.

C860, Katherin RC3 pdaXrom.

I bought a 1G Sandisk sd. Formatted it to ext2.

Dmesg is always full of i/o errors and "-W- Don't Delete" messages. If i copy a large file to the card it gets corrupt or I lose l files and have to remount. Havn't tried mounting with async, but running a while 1 do sync sleep 1 seems to help with big files.
Then it started complaining that it was FULL, with 500mb free. Keep in mind I,m using the original partition table with fat16 id.

Enough is enough. I did the following:
  - unmounted it
  - ran fdisk on it. Emptied the partiton table (press "o").
  - noticed that if I created a partiton, all these wierd 0 length partitions were created.
  - Therefor created 1 partition, but as partition 4. This gave me a single partition 4 with none of the wierd partitions.
  - ensured id was linux
  - wrote table.
  -  modified fstab to use partition 4, noauto
  - rebooted... just in case
  - formatted it to ext3
  - edited fstab, set to auto
  - mounted
  - downloaded gentooForZaurus, a 112Mb file... IT WROTE!
  - extracted it...... NO ERRORS.

ymmv , havn't tested it long enough to be sure my problem is solved but I thought this may help someone.

- Bundaberg
[img]http://www.worldguard.com.au/brendan-ambi.png\" border=\"0\" class=\"linked-sig-image\" /]

Chaos

  • Full Member
  • ***
  • Posts: 197
    • View Profile
    • http://zaurus.duelmonsters.ca
Why are SD cards so FRAGILE ?
« Reply #9 on: September 19, 2004, 02:42:45 am »
Quote
I think a more intersting question is this. "Why is such an unreliable and flimsy format so popular?"  CF cards, which are nearly indestructible, are realy not that big.  frankly, I've never thought to myself, "God, I wish these damn CF's were smaller."
Most SD cases are the same size as CF cases, in my experience... I think it's, in the Zaurus, the fact that many people would rather have CF network card in, in most cases. In the case of other, SD only devices, I'd bet that it's just because the manufacturer wants to make the device the smallest that it can. Most people think that the smaller a device is, the sexier it is.

Can't wait until cellphones are so small that they're just a small headset (i.e. earpiece and microphone, with voice interface  ).
Sorry. I just don't have the time...

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Why are SD cards so FRAGILE ?
« Reply #10 on: September 19, 2004, 04:06:41 am »
Quote
- noticed that if I created a partiton, all these wierd 0 length partitions were created.
That's an ARM compiler bug generating problems with the routine in FDISK that determines if a partition slot is empty. To fix this fdisk must be compiled with -mstructure-size-boundary=8 as a GCC flag.

It's quite important that you use a version of fdisk that doesn't have this problem. You may want to check out the fdisk212ae2fsprogs135.ipk on the Sharp ROM forum under the 'New version of fdisk...' thread. This should correct the fdisk issue and it has a version of e2fsck that doesn't scrap the ext3 journal if you force a check.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

doc

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
Why are SD cards so FRAGILE ?
« Reply #11 on: September 19, 2004, 11:19:37 am »
Another thing you should setup with your Z when mounting SD cards...

Add the "noatime" option to the /etc/fstab in the mount line for your SD.

This will eliminate many writes to the SD card that are done when a file is "accessed."  That way when you view files like images, documents, etc. that you have on your SD card, it won't perform a write to update the access time on the file.  That will give your SD card a longer life, as the SD cards will wear out faster when you write to them often.
« Last Edit: September 19, 2004, 11:20:13 am by doc »
By your command...

Doc
Sharp SL-5500 PDA
Sharp 2.78 ROM
Viking 256MB SD
Socket LP-E CF Ethernet

jamesannan

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Why are SD cards so FRAGILE ?
« Reply #12 on: September 23, 2004, 08:01:31 am »
Ok, so my SD card seems to have just gone bad...Zaurus hanging, works fine when I take out the card and reboot but cannot restore a full backup and even putting in the card seems to bugger things up.


So I'm running badblocks -svw, and  it is taking for ever. At this rate it is going to be all night, and then some. (512Mb card). Does this mean the card is completely buggered? I'm puzled as to how it can have been fine one day, and collapse the next - I didn:t even put it in the washing machine or anything, it just sits in the zaurus all day.

James

doc

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
Why are SD cards so FRAGILE ?
« Reply #13 on: September 24, 2004, 08:42:28 am »
What brand?  Same deal happened with my SanDisk, so I bough Viking, and it has lasted longer but the jury is out as it has only been a few months.

Do you have another piece of hardware, like a 6-in-1 card reader or camera to check it out, or is the Z your only way of reading the SD card?

If you need to reformat it, you might be able to go to a camera store and talk them into letting you put it in a demo camera to reformat it.
By your command...

Doc
Sharp SL-5500 PDA
Sharp 2.78 ROM
Viking 256MB SD
Socket LP-E CF Ethernet

jamesannan

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Why are SD cards so FRAGILE ?
« Reply #14 on: September 24, 2004, 07:21:44 pm »
No SD card reader but will probably buy one this weekend. I'm pretty convinced the card is knackered but no harm in checking again - the card reader will come in handy anyway, getting large files (dictionaries etc) on the SD card was a bit painful.

The 860 is working fine now with just a CF card.

James