Bug 583324 - Filesystem corruption on MMC devices
Summary: Filesystem corruption on MMC devices
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 13
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-17 21:12 UTC by Pat Gunn
Modified: 2011-06-27 15:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-27 15:41:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A file corruptly read (4.94 MB, image/jpeg)
2010-04-17 21:12 UTC, Pat Gunn
no flags Details
A second file, corruptly read with the older kernel (4.94 MB, image/jpeg)
2010-04-17 21:15 UTC, Pat Gunn
no flags Details
Proper noncorrupt version of that file retrieved from another computer (4.94 MB, image/jpeg)
2010-04-18 00:32 UTC, Pat Gunn
no flags Details

Description Pat Gunn 2010-04-17 21:12:44 UTC
Created attachment 407315 [details]
A file corruptly read

Description of problem:Reading image files from a known good 16G SD card, all of them read as corrupt. The copy occurs with no visible errors, dmesg says nothing, the files also seem to be corrupt on the device itself. I know this is not the case because I can still read them fine on another system (running F11, as this laptop used to).

I tried an older F13 kernel to see if the problem was the same, and I got a differently corrupt file. Each kernel always produces the same corrupt file from the source media, but these differ from each other.

As far as I can tell, the image data has chunks of good data with occasional bits of bad data - viewing the mangled files in an image viewer gives me a striped image composed of bits of the actual image (with colour distortions). With some of the images, "file" thinks they're not images (presumably the header is in the part the MMC driver is misreading).

I will attach one of the mangled images to this bug report in case it helps determine how the driver is corrupting the files.


Version-Release number of selected component (if applicable):
2.6.33.2-41.fc13 AND 2.6.33.1.fc13

How reproducible:
100%

Steps to Reproduce:
1. mount /dev/mmcblk0p1 /mnt/flash
2. file /mnt/flash/DCIM/images/*
3. Note that regularly some images are recognised as data, also note that all files are corrupt when viewed with an image viewer
  
Actual results:


Expected results:


Additional info:

Comment 1 Pat Gunn 2010-04-17 21:15:11 UTC
Created attachment 407318 [details]
A second file, corruptly read with the older kernel

Comment 2 Pat Gunn 2010-04-18 00:32:41 UTC
Created attachment 407333 [details]
Proper noncorrupt version of that file retrieved from another computer

Comment 3 Bug Zapper 2011-06-02 15:10:42 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Bug Zapper 2011-06-27 15:41:39 UTC
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.