#4470 BLOC Update.: WLAN stops working after good functionality

Zarro Boogs per Child bugtracker at laptop.org
Sat Nov 10 17:05:02 EST 2007


#4470: WLAN stops working after good functionality
-----------------------+----------------------------------------------------
  Reporter:  kimquirk  |       Owner:  carrano 
      Type:  defect    |      Status:  new     
  Priority:  blocker   |   Milestone:  Update.1
 Component:  wireless  |     Version:          
Resolution:            |    Keywords:          
  Verified:  1         |  
-----------------------+----------------------------------------------------

Comment(by dwmw2):

 Trying to reproduce... I think I was seeing it a lot while I was
 distracted by trying to debug the oopses on module unload and the other
 race conditions. But in accordance with Murphy's Law, as soon as I start
 trying to concentrate on this, it seems to go away. Trying to reproduce it
 with the following patch applied...

 {{{
 --- a/drivers/net/wireless/libertas/cmd.c
 +++ b/drivers/net/wireless/libertas/cmd.c
 @@ -1599,7 +1599,18 @@ struct cmd_ctrl_node
 *libertas_get_free_cmd_ctrl_node(wlan_private * priv)
                 tempnode = (struct cmd_ctrl_node *)adapter->cmdfreeq.next;
                 list_del((struct list_head *)tempnode);
         } else {
 +               int i;
                 lbs_deb_host("GET_CMD_NODE: cmd_ctrl_node is not
 available\n");
 +
 +               for (i=0; i < MRVDRV_NUM_OF_CMD_BUFFER; i++) {
 +                       tempnode = &adapter->cmd_array[i];
 +                       printk("CMD %d at %p: %x %x %x %p %p %x %x\n", i,
 +                              tempnode,
 +                              tempnode->status, tempnode->cmd_oid,
 +                              tempnode->wait_option, tempnode->pdata_buf,
 +                              tempnode->bufvirtualaddr,
 tempnode->cmdflags,
 +                              tempnode->cmdwaitqwoken);
 +               }
                 tempnode = NULL;
         }
 }}}

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



More information about the Bugs mailing list