#11710 NORM 12.1.0: os4: hostname is none

Zarro Boogs per Child bugtracker at laptop.org
Tue May 1 06:22:28 EDT 2012


#11710: os4: hostname is none
----------------------------------+-----------------------------------------
           Reporter:  erikos      |       Owner:  dsd          
               Type:  defect      |      Status:  assigned     
           Priority:  normal      |   Milestone:  12.1.0       
          Component:  olpc-utils  |     Version:  not specified
         Resolution:              |    Keywords:               
        Next_action:  diagnose    |    Verified:  0            
Deployment_affected:              |   Blockedby:               
           Blocking:              |  
----------------------------------+-----------------------------------------

Comment(by martin.langhoff):

 See attached: draft patch: load drivers early, settle only wlan, wait for
  path

 This patch cuts first boot time for me from 1:11s to 49s, and
 increases the reliability of hostname setup.

  * Without any changes, I get ~50% success rate.
  * Early driver load and udevadm trigger changes shorten boot time but
 still hit and miss.
  * Adding waitonpath seems to resolve issues, have not seen it fail. The
 debugging echo always reports "10" however so perhaps we're in a very
 tight race with udevadm, one that sleep 0.1 would solve.

 All of this on a short number of runs, with "rm /.olpc-configured
 /home/olpc/.olpc-configured /etc/sysconfig/network" to clear state.

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


More information about the Bugs mailing list