#4013 BLOC Update.: sd goes unusable after a suspend cycle

Zarro Boogs per Child bugtracker at laptop.org
Thu Nov 1 13:26:34 EDT 2007


#4013: sd goes unusable after a suspend cycle
---------------------------+------------------------------------------------
  Reporter:  PierreOssman  |       Owner:  dwmw2                            
      Type:  defect        |      Status:  new                              
  Priority:  blocker       |   Milestone:  Update.2                         
 Component:  kernel        |     Version:  Development build as of this date
Resolution:                |    Keywords:  killjoy?                         
  Verified:  0             |  
---------------------------+------------------------------------------------

Comment(by dwmw2):

 This stops mmc_block from freeing up the minor number while it's still
 actually in use by the system (even though the card is gone). So if you
 still have /dev/mmcblk0 open (or mounted) when it goes away and comes back
 again, it'll appear as /dev/mmcblk1 instead. This matches the behaviour of
 other removable media.

 http://david.woodhou.se/mmcblock-reuse.patch

 A scheme where the existing /dev/mmcblk0 device can be 'reactivated' when
 the card comes back would be nice, but there are issues there if the
 contents of the device have been modified externally. We may need a
 solution for that in the CAFÉ suspend case though.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4013#comment:8>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list