OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> SD card corruption
doublec
post Jan 2 2004, 03:07 PM
Post #1





Group: Members
Posts: 92
Joined: 2-January 04
Member No.: 1,338



Since installing the X11 ROM I've been having a problem with SD card corruption. The following is how i can reproduce it consistently and I'm wondering if anyone else can confirm if it happens to them. It's a 512MB SD card.

It seems to happen if more than one process reads/writes to the card at the same time. For example I have a largish gzipped tar file on the SD drive (I used gnugo-3.4.tar.gz from the GNU site). From a Zaurus terminal I copy the tar file onto the SD drive. Then untar it:

tar -zxvf gnugo-3.4.tar.gz

After a while this fails with input/output errors and the SD card is not accessible. I have to reboot, unmount the card and fsck the card to get it usable again.

If I copy the tar file into the home directory (ie. not on the SD card), change to the SD card and do the untar then things work fine:

tar-zxvf /home/root/gnugo-3.4.tar.gz

I've also had the problem occur when sftping files from one machine to the SD card on the Zaurus while using applications installed on the Zaruus. But the above scenario does it all the time.

Has anyone else experienced anything similar? Anything I can look at to help track down the problem?

Chris.
Go to the top of the page
 
+Quote Post
offroadgeek
post Jan 2 2004, 03:29 PM
Post #2





Group: Admin
Posts: 1,418
Joined: 18-May 03
From: St. Paul, MN
Member No.: 4



I've flashed my 760 with different roms a few times in the last couple days, which means I re-format and use the SD differently with each rom (I don't know exactly why I do all this)... but anyway... I keep all my files, backgrounds, ebooks, etc. on my SD and I have a copy mirrored on my 1gb cf card (just in case). After each re-flash back to the x11 rom, I always do a recursive copy of this "documents" directory from the CF directly to the 256mb SD card, and haven't had a problem yet. The directory is just over 20mb.

The only time I've had troubles with my SD card and the x11rom is when the battery was low (~5%) and I couldn't seem to access the card. That was fixed after I plugged her in and did a quick reboot.

don't think this helps, but it's my story (and I'm sticking to it wink.gif )
Go to the top of the page
 
+Quote Post
doublec
post Jan 2 2004, 03:45 PM
Post #3





Group: Members
Posts: 92
Joined: 2-January 04
Member No.: 1,338



That sort of thing works in my case too. It seems to mostly occur if the file or data I'm copying from is also on the SD card and I'm copying to another location on the SD card. Or some other program is reading/writing to the card while I do the copy.
Go to the top of the page
 
+Quote Post
offroadgeek
post Jan 2 2004, 04:05 PM
Post #4





Group: Admin
Posts: 1,418
Joined: 18-May 03
From: St. Paul, MN
Member No.: 4



hmm... let me try that and see what happens
Go to the top of the page
 
+Quote Post
offroadgeek
post Jan 2 2004, 04:49 PM
Post #5





Group: Admin
Posts: 1,418
Joined: 18-May 03
From: St. Paul, MN
Member No.: 4



this time I created a test directory on the sd (/mnt/card/test/), did a recursive copy from /mnt/card/Documents/ to /mnt/card/test. This is the 20mb directory. While that was copying, I was browsing the SD via gui (rox filer?). I also opened a text file (from the SD card) in scite, edited and saved the file. no troubles with any of this. I did a du -sk . of both directories and they had the same contents.

btw... mine is a SanDisk 256mb card.
Go to the top of the page
 
+Quote Post
doublec
post Jan 2 2004, 06:08 PM
Post #6





Group: Members
Posts: 92
Joined: 2-January 04
Member No.: 1,338



Thanks for trying it out. Maybe it's a bad SD card or something.

Chris.
Go to the top of the page
 
+Quote Post
pgas2
post Jan 2 2004, 11:08 PM
Post #7





Group: Members
Posts: 31
Joined: 26-December 03
Member No.: 1,291



I've experienced the same problem with a 256MB Ultra II San Disk SD card.
If you check with mount, you see that the card for some reason became mounted read only. This happens to me while compiling, untaring, taring
etc rather randomly.

Generally remounting rw allowed me to continue.

Unfortunately my SD card seems to be dead now :-(. So I can't do any furtther testing....
Go to the top of the page
 
+Quote Post
post Jan 3 2004, 09:34 AM
Post #8





Group:
Posts: 0
Joined: --
Member No.: 0



I have had the same problem with my SD card (SanDisk 256MB) and the X11 rom of 24th of December. The SD card became read-only after installing some ipk's from the card or saving a document on the card. The problem cannot be reproduced with the X11 rom from the 12th of December. The problem may be related with the new USB features in the latest rom.
Go to the top of the page
 
+Quote Post
ScottYelich
post Jan 3 2004, 01:26 PM
Post #9





Group: Members
Posts: 992
Joined: 9-October 03
From: NYC
Member No.: 609



yes, this is the same behaviour that I see with my 512mb sd.

it's basically useless to try to use sd with zaurus (with it like this).

Scott
Go to the top of the page
 
+Quote Post
doublec
post Jan 3 2004, 03:11 PM
Post #10





Group: Members
Posts: 92
Joined: 2-January 04
Member No.: 1,338



So it may not be just me. Thanks for the feedback. When it happens I usually unmount the card, eject it, reinsert it, fsck.ext2 /dev/mmcda1 and then remount it and continue.
Go to the top of the page
 
+Quote Post
sweinst
post Jan 3 2004, 06:22 PM
Post #11





Group: Members
Posts: 1
Joined: 11-November 03
Member No.: 895



Hi,

I have also a problem with my SD card. I had to reformat it with the FAT file system. Now, I'm unable to mount it on my zaurus but the card is perfectly read on a Pocket PC.
What is the file system to use with a SD card? It's the first time I've formatted it, before I used the card as bought (I think it was a FAT file system?)...
What is the command to use on the Zaurus for formatting the card?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th November 2014 - 11:51 PM