#6532 BLOC Update1: SD Card Corruption

Zarro Boogs per Child bugtracker at laptop.org
Tue Jun 10 12:48:15 EDT 2008


#6532: SD Card Corruption
----------------------+-----------------------------------------------------
  Reporter:  haralds  |       Owner:  dsaxena          
      Type:  defect   |      Status:  assigned         
  Priority:  blocker  |   Milestone:  Update1.1 (8.1.1)
 Component:  kernel   |     Version:                   
Resolution:           |    Keywords:  release?         
  Verified:  0        |    Blocking:  6893             
 Blockedby:           |  
----------------------+-----------------------------------------------------

Comment(by dsaxena):

 Replying to [comment:22 PierreOssman]:
 > This is by design and has been discussed to death in several places. The
 SD controller doesn't have any functionality to tell if you left the card
 in the slot during the suspend, so it is assumed to have been removed
 (failing to do so would give silent data corruption if you've put your
 card into some other device and back again as the filesystems lack suspend
 handling). You can make the kernel assume that the card didn't leave the
 slot by enabling "unsafe resume" in the kernel config.

 Pierre, by "by design", are you referring to the rediscovery of the the
 card as a different block device (as per the fix in #4013) or do you mean
 the data corruption? I don't think the later is really acceptable as
 something for shipping kernels on OLPC or in upstream.

-- 
Ticket URL: <http://dev.laptop.org/ticket/6532#comment:23>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list