jamesh wrote:I've said this before, but its worth repeating, I have never had an SD card corruption. So, we need to get to the bottom of why the OP is seeing so many problems, over multiple Raspi's and SD cards.
So, some questions.
What revision of Raspi do you have? (approx serial numbers might help)
Wow ...... I have more than 12 of the things, purchased in three batches. Strangely the original 4 model B cards I got the month after release have not corrupted -ever .... hmmm ...... Getting serial numbers from the all would take a while as they are scattered in various devices and its a real job to move everything round and power them up. I can do if it is important.
What SD cards are you using and what size?
4 GB mostly. "Elite Pro", "Kingston" and "Sony" are the main ones.
What HW are you attaching to? (You said you had been designing HW)
I have two of these units built, so far one has corrupted once in 6 months, better than average.
I have another single (the original 256MB ModelB) in this:
It has never corrupted. I would have to undo a lot of screws to find what card is in it.
I have 7 units built with this front panel board. Most, but not all, show corruption, some minor - some major.
I was hoping to sell the boards as a kit to make desktop players, but that seems impossible if the user puts the card into the machine and it promptly fails.
I dont have much documentation on my projects at the moment. The front panel board is nothing very clever. It has an SPI driven O-LED display and PIC microntroller connected to the Pi via its serial pins. It does power the Pi via its GPIO header using a 5v buck converter - BUT the machines with their own USB power supply suffer if anything more corruption. I have also measured the noise and its around 10mv, bad but less bad than the typical USB 5v power adapter.
I also have two XBMC machines, each using a standard USB power adapter.
These are a mess, neither of the two now run, one lasted 2 weeks the other only a few hours before it was un-bootable. I dont have time to look at them so they are sitting unused.
How are you shutting them down?
I pull the plug. Most the devices have no keyboard, some have no input device at all.
What OS are you using?
And is it up to date?
Mostly... some are right up to date. The most reliable is more than a year out of date.
What environments are they running in?
Normal domestic , nothing clever.