Ticket #9415 (new defect)
improve error handling in sdhci driver
| Reported by: | wad | Owned by: | dsaxena |
|---|---|---|---|
| Priority: | high | Milestone: | Opportunity |
| Component: | kernel | Version: | 1.5-A2 |
| Keywords: | XO-1.5 SD | Cc: | |
| Action Needed: | code | Verified: | no |
| Deployments affected: | Blocked By: | ||
| Blocking: |
Description
On an XO-1.5 A2 prototype (#14), running Linux kernel 2.6.30_xo1.5-20090717.0115.1.olpc.ba8f22b and firmware Q2E05, I encountered write errors when transferring large files to the SD card.
I was running the NAND test script (described at: http://wiki.laptop.org/go/NAND_Testing ) and obtained four errors over several thousand cycles of testing (where each cycle is 94 MB of reading and 20 MB of writing).
The errors were not, however, bit errors. Examination of the two test files for one of the errors (one file is generated randomly, then copied to make the second) shows that a large region (around a megabyte) is wrong.
The attached dmesg and /var/log/messages logs show identical information about an error encountered by the kernel at the time of the error.


