#9729 NORM 1.5-fir: Race condition in SDHCI driver

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 2 20:44:34 EST 2009


#9729: Race condition in SDHCI driver
-------------------------------------------+--------------------------------
           Reporter:  wmb at firmworks.com    |       Owner:  wmb at firmworks.com   
               Type:  defect               |      Status:  assigned            
           Priority:  normal               |   Milestone:  1.5-firmware-C1-SMT 
          Component:  ofw - open firmware  |     Version:  Development firmware
         Resolution:                       |    Keywords:                      
        Next_action:  test in build        |    Verified:  0                   
Deployment_affected:                       |   Blockedby:                      
           Blocking:                       |  
-------------------------------------------+--------------------------------

Comment(by wmb at firmworks.com):

 One way to test:

   ok dev /sd
   ok debug r/w-blocks
   ok dir int:\
   <the debugger will start inside r/w-blocks>
   f
   ok debug cmd
   ok resume
   <step with 'space' until you get to ';', then step once more>

 In the failing case (i.e. with old firmware), the system will then hang,
 because a later "2 wait" will never complete, because the "2" event has
 already been seen and discarded.

 In the working case (new firmware), the debugger will re-enter at the next
 call to "cmd".  You can type 'g' and everything will work.

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


More information about the Bugs mailing list