Does the host system support the file system on the SD card?
Yes. We have used FAT16 cards on the embedded Linux target box hundreds of times. A few of these cards have somehow been corrupted. Perhaps we pulled them while still mounted. We reprogram these cards many times in a day trying new software. Every once in a while the cards end up in this state. They mount on Win7, WinXP and Linux Fedora13 boxes. But they do not mount on the target Linux box. I have spent hours on this problem. The only indication there is a problem out side of the target Linux box is when I do a fdisk on the Linux Fedora13. Then I see some errors. Why does not either Win box complain? Why does not a reformat of the card on a Win box fix the problem? Why is Win such a crummy OS?
So far, the only way I have been able to fix this problem is to do a byte by byte copy on an SDCard duplicator from a good card to a bad card. I suspect a dd type copy on the Linux Fedora13 box will work as well.
Thoughts of one good and one bad partition table record crossed my mind. That the embedded Linux OS was not picking the good copy. But I have not been able to find much evidence that is how disk partitioning works.
Also see Debugging here:
http://www.lvr.com/mass_storage.htm#basics
It's about USB mass storage but the issues may also apply to SD cards.
Jan
Thanks, I'll take a look.