I am seeing rare SD card write corruption on DM355 running 2.6.36.
The system will get itself into a state where it appears all SD writes are
offset by two bytes. This is using a vfat filesystem on the SD, and
affects the FAT and directories at least.

When I look at the contents of the SD card, corrupt sectors start with
two bytes of junk which looks like the end of the previous sector write,
then valid data (but shifted up two byte places), with the last two bytes
missing - they seem to get written at the start of whatever sector gets
written next.

When the system is in this state I can umount and change cards, mount,
touch a file and unmount and it repeatably corrupts the sector containing
the directory entry.

Unfortunately after a reboot everything works fine again, I haven't found
a repeatable way to get the system back into the corrupting state.

I have seen this happen on at least two separate occasions now and was not
doing anything particularly abusive or unusual this time, so I know now this
is real and needs to be fixed.

I am going to look at git history since 2.6.36 to see if anything looking
like a fix has been committed, will also try banging on things to reproduce
the problem.

But if anyone has any similar experiences, comments, suggestions they would
be most welcome.

Thanks.

--
Jon Povey
[email protected]

Racelogic is a limited company registered in England. Registered number 2743719 
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .

The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to