Coldbird
Member
- Joined
- Aug 15, 2010
- Messages
- 397
Many Pandora users, including myself suffered from this problem... you did something CPU intensive and wanted to write a big chunk of data to your SD-card when suddenly you get a IO-Error Message and the SD-Card remounts in Read-Only Mode...
Well, good news - I've found the cause and fixed it...
This problem seems to be related to Bad-Filesystem Data, usually the CPU has enough time to retry and resolve the error, however when CPU is busy the retry timer times out and you have a problem...
The solution is easy... don't rely on automatic error correction, but instead fix the broken filesystem yourself!
Instructions
1. Unmount your SD card.
2. OPTIONAL!! sudo opkg install dosfstools - this is only required if your SD-card runs on the FAT32 filesystem!
3. Open a shell and issue the following commands...
sudo su
fsck -a /dev/yoursdcarddevice
fsck -r /dev/yoursdcarddevice
4. Remount your SD card.
--- What this does is scan your File-System Nodes, find broken Nodes and fix them. As the broken nodes are the cause of this problem and the trigger to requiring a fallback retry, this will solve your Read-Only Remount Problems.
--- Now you might wonder what exactly causes the Nodes to become corrupted, well - usually this happens when SD cards are removed without properly unmounting them first.
Well, good news - I've found the cause and fixed it...
This problem seems to be related to Bad-Filesystem Data, usually the CPU has enough time to retry and resolve the error, however when CPU is busy the retry timer times out and you have a problem...
The solution is easy... don't rely on automatic error correction, but instead fix the broken filesystem yourself!
Instructions
1. Unmount your SD card.
2. OPTIONAL!! sudo opkg install dosfstools - this is only required if your SD-card runs on the FAT32 filesystem!
3. Open a shell and issue the following commands...
sudo su
fsck -a /dev/yoursdcarddevice
fsck -r /dev/yoursdcarddevice
4. Remount your SD card.
--- What this does is scan your File-System Nodes, find broken Nodes and fix them. As the broken nodes are the cause of this problem and the trigger to requiring a fallback retry, this will solve your Read-Only Remount Problems.
--- Now you might wonder what exactly causes the Nodes to become corrupted, well - usually this happens when SD cards are removed without properly unmounting them first.