#8050 NORM 8.2.0 (: cerebro spins endlessly when "extreme power managment" turns off wifi

Zarro Boogs per Child bugtracker at laptop.org
Tue Aug 19 17:56:17 EDT 2008


#8050: cerebro spins endlessly when "extreme power managment" turns off wifi
---------------------------+------------------------------------------------
 Reporter:  gnu            |         Owner:  ypod                
     Type:  defect         |        Status:  new                 
 Priority:  normal         |     Milestone:  8.2.0 (was Update.2)
Component:  cerebro        |       Version:  not specified       
 Keywords:  blocks?:8.2.0  |   Next_action:  never set           
 Verified:  0              |     Blockedby:                      
 Blocking:                 |  
---------------------------+------------------------------------------------
 joyride-2301, MP G1G1.

 When I turn on "extreme power management" in the Sugar control panel, then
 switch to the ctrl-alt-f1 console, I can see a stream of error messages
 from Cerebro:

 {{{
 error: (6, 'No such device or address')
 msh0: unknown interface: no such device
 Traceback:
  File "/usr/sbin/cerebro", line 115, in setup_network
    self.PRESsock.bind (self.wface, ETH_PRESENCE) )
  File "<string>", line 1, in bind
 error: (19, 'No such device')
 Traceback:
   File "/usr/sbin/cerebro:, line 147, in setup_network
     self.DATsock.bind (self.wface, ETH_DAT_TELEPORTER) )
  File "<string>", line 1, in bind
 error: (19, 'No such device')
 Traceback:
   File "/usr/sbin/cerebro", line 209, in maintain_network_tree
   sent = self.send_frame(soc, payload)
  File "/usr/sbin/cerebro", line 316, in send_frame
   return sock.send( payload )
 ...then it loops...
 }}}

 Cerebro should quietly and calmly deal with a situation in which there are
 no network interfaces.  And should not poll for networks to come back.  It
 should await notification that a network interface is there (whether from
 inotify, from dbus, or whatever).

 Are we actually using cerebro for anything in this release?  It sure seems
 to have a lot of integration bugs, and if we aren't really using it, I
 suggest pulling it.

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


More information about the Bugs mailing list