OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: daniela on February 07, 2006, 12:15:29 pm

Title: Suddenly Sd Read-only - Hentges 3.5.3 On Collie
Post by: daniela 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...
Title: Suddenly Sd Read-only - Hentges 3.5.3 On Collie
Post by: lareya 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
Title: Suddenly Sd Read-only - Hentges 3.5.3 On Collie
Post by: lardman 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
Title: Suddenly Sd Read-only - Hentges 3.5.3 On Collie
Post by: daniela 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...
Title: Suddenly Sd Read-only - Hentges 3.5.3 On Collie
Post by: CoreDump 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.
Title: Suddenly Sd Read-only - Hentges 3.5.3 On Collie
Post by: daniela 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