#9836 HIGH 1.5-sof: BUG() in if_sdio_handle_cmd() (was: Invalid opcode in Libertas if_sdio_interrupt() routine)

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 16 13:49:59 EST 2009


#9836: BUG() in if_sdio_handle_cmd()
--------------------------------+-------------------------------------------
           Reporter:  dsaxena   |       Owner:  dsaxena            
               Type:  defect    |      Status:  new                
           Priority:  high      |   Milestone:  1.5-software-update
          Component:  kernel    |     Version:  1.5-B3             
         Resolution:            |    Keywords:                     
        Next_action:  diagnose  |    Verified:  0                  
Deployment_affected:            |   Blockedby:                     
           Blocking:            |  
--------------------------------+-------------------------------------------

Comment(by dsaxena):

 OK, so we're hitting the BUG_ON(priv->resp_len[i]); as BUG() simply
 generates the invalid opcode as we have CONFIG_DEBUG_BUGVERBOSE disabled.

 Doing a cscope search shows that priv->resp_len should be cleared after a
 command is processed in lbs_thread(). The driver can only handle one
 command response at a time (i.e., there is no response queue equivalent to
 the outbound command queue) so this looks like some sort of race where
 we're getting responses at a high rate (makes sense given your pingflood)
 and have not completed processing a response before the next one comes in.

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


More information about the Bugs mailing list