#7973 BLOC 8.2.0 (: libertas unknown event IDs and hang

Zarro Boogs per Child bugtracker at laptop.org
Thu Aug 14 20:06:54 EDT 2008


#7973: libertas unknown event IDs and hang
------------------------+---------------------------------------------------
   Reporter:  cjb       |       Owner:  dsaxena             
       Type:  defect    |      Status:  new                 
   Priority:  blocker   |   Milestone:  8.2.0 (was Update.2)
  Component:  kernel    |     Version:  not specified       
 Resolution:            |    Keywords:                      
Next_action:  diagnose  |    Verified:  0                   
  Blockedby:            |    Blocking:                      
------------------------+---------------------------------------------------

Comment(by dsaxena):

 Replying to [ticket:7973 cjb]:
 > Obvious questions:  What do these event IDs mean?  Why does the firmware
 require a hard reset from the EC in this situation?

 Command 0x50 is associate, so it looks like we're failing to connect to
 the network.
 The notification events from the HW are stored in a FIFO queue and the
 bogus ones means that either we're corrupting the FIFO state or that we're
 actually getting bogus events from the FW. Given that you see this in more
 than 1 laptop, the corruption is more likely. It is possible that
 something we're doing in the driver causes the FW to get confused and send
 us bogus events.

 Javier, any input here?



 As fro the EC reset, the driver's main.c file has this magic hack in it:

 {{{
 #ifdef CONFIG_OLPC
                                 if (machine_is_olpc()) {
 spin_unlock_irq(&priv->driver_lock);
                                         printk(KERN_CRIT "Resetting OLPC
 wireless via EC...\n");
                                         olpc_ec_cmd(0x25, NULL, 0, NULL,
 0);
                                         spin_lock_irq(&priv->driver_lock);
                                 }
 #endif
 }}}

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


More information about the Bugs mailing list