Author Topic: Sd Card Mounted Read-only  (Read 6153 times)

HearWa

  • Newbie
  • *
  • Posts: 28
    • View Profile
Sd Card Mounted Read-only
« on: February 10, 2005, 06:39:09 pm »
Hello,
I just bought a 5500 from ebay and it is working great. Earlier today I put some MP3s on an SD card to listen to with the Sharp ROM 2.38. Unfortunately I now can't seem to do any writing operations on the SD card. Every time I insert it it automatically mounts as read-only.

Does anyone know what's going on? Thank you.
Sharp Zaurus SL-5500 +
Sanded (600 grit) and polished (RB-538) to be black +
Open Zaurus 3.5.2, Opie-image (64-0) +
Sandisk 128MB SD Card, Verbatim 128MB CF Card +
10 Base Ethernet Card, 802.11b Wireless CF Card +
Generic leather PDA case =
One happy geek!

JohnKiniston

  • Full Member
  • ***
  • Posts: 213
    • View Profile
    • http://
Sd Card Mounted Read-only
« Reply #1 on: February 10, 2005, 07:05:56 pm »
Is the card formated FAT or EXT2?

It may need to be fsck'd so its clean.

HearWa

  • Newbie
  • *
  • Posts: 28
    • View Profile
Sd Card Mounted Read-only
« Reply #2 on: February 10, 2005, 07:06:41 pm »
I'm still toying aroun with it and I can unmount the card no problem. Is there a special way I should mount it?

Here's what 'mount' gives me before this:
/dev/mmcda1 on /usr/mnt.rom/card type vfat (ro)
« Last Edit: February 10, 2005, 07:08:43 pm by HearWa »
Sharp Zaurus SL-5500 +
Sanded (600 grit) and polished (RB-538) to be black +
Open Zaurus 3.5.2, Opie-image (64-0) +
Sandisk 128MB SD Card, Verbatim 128MB CF Card +
10 Base Ethernet Card, 802.11b Wireless CF Card +
Generic leather PDA case =
One happy geek!

HearWa

  • Newbie
  • *
  • Posts: 28
    • View Profile
Sd Card Mounted Read-only
« Reply #3 on: February 10, 2005, 07:47:24 pm »
Wow, I didn't see your post after I wrote the second! What fsck command should I use, exactly? It has a vfat partition on it.
Sharp Zaurus SL-5500 +
Sanded (600 grit) and polished (RB-538) to be black +
Open Zaurus 3.5.2, Opie-image (64-0) +
Sandisk 128MB SD Card, Verbatim 128MB CF Card +
10 Base Ethernet Card, 802.11b Wireless CF Card +
Generic leather PDA case =
One happy geek!

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Sd Card Mounted Read-only
« Reply #4 on: February 11, 2005, 07:13:16 am »
Assuming the partition table has the correct partition type set than a simple:

umount /mnt/card
fsck /dev/mmcda1

should do the trick. Otherwise try fsck.msdos or fsck.vfat


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Sd Card Mounted Read-only
« Reply #5 on: February 11, 2005, 08:19:46 am »
If your using the SD card in another machine to copy your files onto be shure to eject(MS) or unmount(Linux) the card before taking it out of the reader or else you run the risk of corruptin the file allocation table and or not writing all the data to the card.  Then when you put it into your Z it will only mount read only.

if you use the tkc rom v1 then there is a gui utility to to the fsck for you
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

HearWa

  • Newbie
  • *
  • Posts: 28
    • View Profile
Sd Card Mounted Read-only
« Reply #6 on: February 11, 2005, 10:25:46 am »
Thank you everyone.  It's working now.
Sharp Zaurus SL-5500 +
Sanded (600 grit) and polished (RB-538) to be black +
Open Zaurus 3.5.2, Opie-image (64-0) +
Sandisk 128MB SD Card, Verbatim 128MB CF Card +
10 Base Ethernet Card, 802.11b Wireless CF Card +
Generic leather PDA case =
One happy geek!

tbok

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
Sd Card Mounted Read-only
« Reply #7 on: July 04, 2005, 07:27:41 am »
Quote
Thank you everyone.  It's working now.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66622\"][{POST_SNAPBACK}][/a][/div]

I've got the same problem as you - could you say what fixed it?

I'm not a Zaurus geek yet - I've only just got my 5500 (dead cheap - I'm short of cash!), but I'm very familiar with *nix on bigger kit.

The card I have is a Kingston 512Mb SD which was brand new and pre-formatted as FAT. It mounted OK, but I couldn't write to it. I fdisked it and reformatted it as extfs and I wrote to it successfully once using terminal access (created a directory), but now any time I try I get a message that there's no file space available, even though df says there is. By the way, I'm still running ROM 2.35 - I've not dared to try flashing it yet!!

I'm stumped!!

Thanks in advance,

tbok
« Last Edit: July 04, 2005, 07:29:08 am by tbok »
Zarus SL-5500
Open Zaurus 3.5.3 (2.4.18 kernel)
Opie 1.2.0
512Mb Kingston CF card
512Mb Kingston SD card (won't work!)

Timothy

  • Newbie
  • *
  • Posts: 3
    • View Profile
Sd Card Mounted Read-only
« Reply #8 on: July 20, 2005, 10:03:05 am »
I picked up my Zaurus yesterday after a long absence and plugged in my SD card, I had the same issue.  For the life of Me I couldn't figure it out.  Finally I ejected the card to realize there is a little switch on the sd card itself that will switch it to read only.

maybe obvious but easier to overlook. Perhaps yours has one too.

tbok

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
Sd Card Mounted Read-only
« Reply #9 on: July 21, 2005, 06:24:14 am »
Quote
. . . there is a little switch on the sd card itself that will switch it to read only.

maybe obvious but easier to overlook. Perhaps yours has one too.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=88925\"][{POST_SNAPBACK}][/a][/div]

Thanks for the thought, but it isn't that.

I've since tried to reformat the disk back to FAT via the card reader on my PC, but that didn't fix it.

I've also bitten the bullet and reflashed to OZ 3.5.3 with Opie - I hoped it might have different (better!) drivers. The problem's still there, but now manifests as loads of spurious files on the SD disk. I think I'll just have to give this card up as a bad job, and try another manufacturer.

By the way, the card works like a dream on the PC!

tbok
Zarus SL-5500
Open Zaurus 3.5.3 (2.4.18 kernel)
Opie 1.2.0
512Mb Kingston CF card
512Mb Kingston SD card (won't work!)

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Sd Card Mounted Read-only
« Reply #10 on: July 21, 2005, 06:34:38 am »
Unfortunately no distribution has better drivers since we all are forced to use the binary only Sharp SD driver on SL5500 and SL5000.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.