#8024 NORM 8.2.1: Browse hangs on startup

Zarro Boogs per Child bugtracker at laptop.org
Mon Aug 18 13:32:05 EDT 2008


#8024: Browse hangs on startup
-------------------------+--------------------------------------------------
   Reporter:  tomeu      |       Owner:  dsaxena      
       Type:  defect     |      Status:  new          
   Priority:  normal     |   Milestone:  8.2.1        
  Component:  kernel     |     Version:  not specified
 Resolution:             |    Keywords:               
Next_action:  never set  |    Verified:  0            
  Blockedby:             |    Blocking:               
-------------------------+--------------------------------------------------

Comment(by dsaxena):

 Replying to [comment:1 tomeu]:
 > strace says:
 >
 > {{{
 > open("/dev/random", O_RDONLY)           = 6
 > read(6,
 > }}}

 Looking at the /dev/random code, it appears that we are hanging on waiting
 for the entropy pool to fill up:

 {{{
   if (n == 0) {
                         if (file->f_flags & O_NONBLOCK) {
                                 retval = -EAGAIN;
                                 break;
                         }

                         DEBUG_ENT("sleeping?\n");

                         wait_event_interruptible(random_read_wait,
                                 input_pool.entropy_count >=
 random_read_wakeup_thresh);
 }}}

 I would think that by this far into the bootup we'd have enough data so
 I'm not 100% sure.
 Can you test again with
 http://dev.laptop.org/~dilinger/testing/kernel-2.6.25-20080810.1.olpc.0bc186239fb1afa.i586.rpm?

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


More information about the Bugs mailing list