Author Topic: Suddenly Sd Read-only - Hentges 3.5.3 On Collie  (Read 3156 times)

daniela

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
Suddenly Sd Read-only - Hentges 3.5.3 On Collie
« on: February 07, 2006, 12:15:29 pm »
hi...

i didn't use my zaurus for a while (maybe 2 or 3 months), but regularly charged it. i never took out any cards, especially not the sd.

pre-story:
when i wanted to turn it on, it booted, & just turned off when it should have started opie. i could log in as root when choosing not to mind the gui at boot & deleted /etc/.cardfs_installed because when i tried to boot once without the sd card in, it worked like a charm. installing the new card_fs didn't work because the sd seems to be read-only, but interestingly it must have succeeded to create a new .cardfs_installed, as it doesn't ask for it at boot-time anymore. now it boots, even if it didn't have the chance to change anything on the (obvious read-only) sd.  

remaining problem:
however, i always get a "there are problems with your sd card"-message at (re-)boot & because the whole sd is read-only (according to the file manager) i can't do anything with it, neither save any files nor install anything or at least update the lists at package manager...

does somebody know how to change the read-only thing on the sd card? i don't have a clue how this could have happened...
« Last Edit: February 07, 2006, 12:15:46 pm by daniela »

lareya

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
Suddenly Sd Read-only - Hentges 3.5.3 On Collie
« Reply #1 on: February 07, 2006, 04:16:20 pm »
If you search this forum, you will see alot of info regarding fscked SD cards, and cards that finally died. There was a rash of SD cards that flaked like that.  If I remember correctly, Ian was doing some insightful work into the cause.  I think it had to do with the type of format or fdsk?  any... I know that I have a completely dead SD card - Nothing recognizes it!    
Lareya
SL-C3000: un-bricked (Thanks to Cresho!)
C-860: pdxRom

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Suddenly Sd Read-only - Hentges 3.5.3 On Collie
« Reply #2 on: February 08, 2006, 05:27:44 am »
umount the card and run fsck.ext2 on it.

umount /media/card
fsck.ext2 /dev/mmcda1


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

daniela

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
Suddenly Sd Read-only - Hentges 3.5.3 On Collie
« Reply #3 on: February 08, 2006, 03:49:19 pm »
actually, i did search the forum, but i'm not getting a single result when searching for "sd read only" or "sd fsck"...(i would be very interested in further reading...where can i find these "infos regarding fscked sd cards"?)

wow...it seems to be writable again...what did fsck.ext2 change? it didn't output anything special...

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Suddenly Sd Read-only - Hentges 3.5.3 On Collie
« Reply #4 on: February 09, 2006, 05:49:24 am »
Quote
actually, i did search the forum, but i'm not getting a single result when searching for "sd read only" or "sd fsck"...(i would be very interested in further reading...where can i find these "infos regarding fscked sd cards"?)

wow...it seems to be writable again...what did fsck.ext2 change? it didn't output anything special...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114164\"][{POST_SNAPBACK}][/a][/div]

Ah, sounds like an older version of the Hentge scripts.
When the FS contains errors on boot, it was remounted RO to prevent further damage.
I believe I removed the RO thing quite some time ago  

If your card fsck's all right, you shouldn't get the message and it won't be mounted RO.
Webmaster of hentges.net & Embedded Linux Developer.

daniela

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
Suddenly Sd Read-only - Hentges 3.5.3 On Collie
« Reply #5 on: February 09, 2006, 11:50:10 am »
Quote
Ah, sounds like an older version of the Hentge scripts.
When the FS contains errors on boot, it was remounted RO to prevent further damage.
I believe I removed the RO thing quite some time ago   

If your card fsck's all right, you shouldn't get the message and it won't be mounted RO.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114231\"][{POST_SNAPBACK}][/a][/div]
you're right. i have several cf cards, but none that the zaurus could flash from. i had to borrow one & therefore didn't flash it for "some time"...

thanks for your info