Author Topic: sl5600 - SD flash keeps going read-only  (Read 10203 times)

Anonymous

  • Guest
sl5600 - SD flash keeps going read-only
« on: February 23, 2004, 01:19:27 pm »
hi-

 I have a new SL5600.

 I\'d like to use the /mnt/card (SD flash) device as general purpose storage,
but whenever I try to use it, it automagically gets set to read-only mode
somehow.  even after I remount it in read-write mode, some other process
forces it back to read-only...

 help, any hints?

ron

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
sl5600 - SD flash keeps going read-only
« Reply #1 on: February 23, 2004, 02:20:46 pm »
You will either need to fsck or format your sd card.
If it keeps getting corrupt, then you may have a dodgy card.

You did not say what sd card you have,  or what filesystem you had on it.

Peter.
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

havoc

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://www.galacticslacker.com/
sl5600 - SD flash keeps going read-only
« Reply #2 on: February 23, 2004, 02:37:24 pm »
I\'m having the same problem.  Mine is a Lexar SD \"High Speed\" 256 MB card.  (I\'m also running a 5600.)

I\'ve formatted the card with mkdosfs, mkfs.dos, mkfs.ext2, mkfs.msdos, mkfs.vfat, and I\'ve had the problem every time.  It seems to accept ~2 MB of files, then it goes read only.

I tried to write a \"slowcp\" script to move bite-sized chunks, then pause.  I tried adding a umount/pause/mount/append.  I tried lots of things.  It seems that once it goes Read Only, the only way to get write access back is with a reboot.

I\'m running the Sharp ROM.  What are you running, Ron?

....Oh, yeah, and the Preimptive kernel from the downloads section here.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
sl5600 - SD flash keeps going read-only
« Reply #3 on: February 23, 2004, 03:15:56 pm »
The SD support in the 5600 seems worse than the 5500 to me. I have got a cheap brand 128MB MMC card which works fine in my 5500 but does the read-only thing in my 5600 after only a few seconds of writing. I also have a 64MB Viking MMC which also works fine in my 5500 and generally does in my 5600 except when I write large amounts of data to it. For example I cannot use it as the storage for the voice recorder.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

Anonymous

  • Guest
sl5600 - SD flash keeps going read-only
« Reply #4 on: February 23, 2004, 03:35:36 pm »
hi-

 The 5600 is still nearly \'stock\' (no real changes, just put \'bash\' and tcpdump on it).

 The SD cards come formated as VFAT, it is a a Lexar 256MB card.

 I tried to reformat as ext2, but it wll not remount.

 I reformatted as vfat, and it mounts OK.

 Good guess on the media error. \'dmesg\' reports select errors.

 Maybe I need to slow down an access time option, anybody
got an idea if this can be done?

ron

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
sl5600 - SD flash keeps going read-only
« Reply #5 on: February 23, 2004, 05:34:16 pm »
The \'sync\' option on the SD card mount command might help. You need to put this in the FATOPTS variable in /etc/sdcontrol
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
sl5600 - SD flash keeps going read-only
« Reply #6 on: February 23, 2004, 07:23:56 pm »
My sandisk 256mb had all these problems and more.  Athough many people report similr cards as working fine.  I got a lexar 256mb as nobody at the time had ever reported problems with them.


True to form my lexar card has given me no problems at all, I can store several thousand news group messages for offline viewing, or stick large movie files on it.  All of which would kill the sandisk card, but work without issue on the lexar.

Recently, I have seen one other poster with lexar sd problems, so now it seems like it\'s a lottery, no manufacturer can supply a card which is guranteed to work with the zaurus.

If you can exchange the card, then do so, and hope the replacment is a good one as there is no way of knowing ( serial no\'s etc don\'t seem to mean squat).  


Adding the sync option is a compromise that is not necessary on a fully compatible card.

I still have the \"faulty\" sandisk card, it works fine in my digital camera, and as a test device on my 5500.  It will not format to ext2 however and will become corrupt within minutes if I try to use it heavily on either of  my zauri.
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
sl5600 - SD flash keeps going read-only
« Reply #7 on: February 23, 2004, 07:33:22 pm »
A good test for your sd card is to xtract a large tar file onto it.  Do a suspend and run a find / -name \"rubish\".

if you get an io error your card is not compatible with the zaurus, or the zaurus can just lock up while extracting the tar file, and then become \"read only\" on reboot.

All sd cards may behave well and appear ok if they are just lightly used.

Any hardware I buy gets more that light usage   :evil:
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

havoc

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://www.galacticslacker.com/
sl5600 - SD flash keeps going read-only
« Reply #8 on: February 23, 2004, 08:56:35 pm »
Quote
The \'sync\' option on the SD card mount command might help. You need to put this in the FATOPTS variable in /etc/sdcontrol

Well. that didn\'t work...  :cry:

I did get ~16 MB transfered (first test only) before it crashed, though.  That\'s a huge improvement.

---------------------

Hrm.... looks like it was the 7.3 MB \"mega mix\" mp3 that did it in.  Maybe that was too much for one session....

Anonymous

  • Guest
sl5600 - SD flash keeps going read-only
« Reply #9 on: February 28, 2004, 03:16:54 pm »
Hi-

 My \"Lexar 64 MB\" SD card works fine (it has a single FAT12 partition).

 My \"Lexar 256MB\" SD card is hosed after several megs of use (single FAT16 partition).

 I had to download \'fdisk\' to display the partition types.

 I guess the SD cards are not very reliable, eh?

ron

havoc

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://www.galacticslacker.com/
sl5600 - SD flash keeps going read-only
« Reply #10 on: February 28, 2004, 10:16:52 pm »
I returned the Lexar card and laid down an additional $17.00 for the Panasonic \"Super High Speed\" 256 MB card.  I walked out to the parking lot, cut open the package, and tested it by coping over all 93 MB MP3s.

Flawless!

I\'ve been running a 64 MB swap partition from this card all day with no problems.  (Well, no problems from the Z, only problems I\'ve caused myself.)  I suspect there\'s a problem in the Lexar 256 MB card.

As far as I can tell, the Panasonic card was worth the extra money for stability alone.

Now, Panasonic claims \"up to 10 MB/s\" for this card.  Anyone got a benchmark for SD performance from the Z?  I\'m wondering if the Z is even capable of moving more than 150 kb/s on that port.

grey_moon

  • Full Member
  • ***
  • Posts: 100
    • View Profile
sl5600 - SD flash keeps going read-only
« Reply #11 on: March 12, 2004, 08:31:53 pm »
Not too sure if anyone else has seen this, but with my 256 sd card formatted with ext2 i found that voice recorder could not record to the sd card.  But it works if I point it internal and have a symbolic link pointing the x-wav dir to the sd card.  heh just wasted ages changing rights everywhere
SL_5600 with Sharp ROM 1.32 - Windows XP Pro
AmbiCom 802.11b CF WL1100C, Pretec CompactBT Bluetooth CF, Hagiwara 256MB SD Card
Expansys Black Chairmans Case, ShirtPocket Battery Extender, ShirtPocket Retractable USB Sync/Charger

freckface

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://www.cs.colostate.edu/dane
sl5600 - SD flash keeps going read-only
« Reply #12 on: March 16, 2004, 04:09:34 pm »
Quote
I have a new SL5600.

 I\'d like to use the /mnt/card (SD flash) device as general purpose storage,
but whenever I try to use it, it automagically gets set to read-only mode
somehow.  even after I remount it in read-write mode, some other process
forces it back to read-only...
ron

Any further progress made on this problem?  I have a lexar 64MB SD card and am experiencing the same problem.

Has anyone made it back from this problem, or am I eternally screwed?

havoc

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://www.galacticslacker.com/
sl5600 - SD flash keeps going read-only
« Reply #13 on: March 16, 2004, 04:22:17 pm »
See my post above about returning the Lexar card and replacing it with the Panasonic card.

sikity

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
sl5600 - SD flash keeps going read-only
« Reply #14 on: March 16, 2004, 04:27:25 pm »
I know that I have had the same issue with one 256 Lexar SD while another worked fine.  

I also had the issue occur with the working SD card when I started using the premptive patch on my 5600.  The stock Sharp rom worked.

I found that by changing the mount from the directions at http://www.pocketworkstation.org/

mount /dev/mmcda1 -o remount,sync,noatime

helped the readonly issue with the premtive patch.  It ends up slowing the write down a lot.