#8024 NORM 8.2.1: Browse hangs on startup

Zarro Boogs per Child bugtracker at laptop.org
Tue Aug 19 05:43:27 EDT 2008


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

Comment(by tomeu):

 Replying to [comment:2 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.

 Which are the sources of data for randomness? Just the touchpad?

 > Can you test again with
 http://dev.laptop.org/~dilinger/testing/kernel-2.6.25-20080810.1.olpc.0bc186239fb1afa.i586.rpm?

 First time I try to update the kernel and got this error:

 {{{
 -bash-3.2# rpm -U kernel-2.6.25-20080810.1.olpc.0bc186239fb1afa.i586.rpm
         package kernel-2.6.25-20080813.4.olpc.cc866cfe0c31220.i586 (which
 is newer than kernel-2.6.25-20080810.1.olpc.0bc186239fb1afa.i586) is
 already installed
 -bash-3.2# rpm -U --force
 kernel-2.6.25-20080810.1.olpc.0bc186239fb1afa.i586.rpm
 /var/tmp/rpm-tmp.66030: line 1: /sbin/new-kernel-pkg: No such file or
 directory
 error: %preun(kernel-2.6.25-20080813.4.olpc.cc866cfe0c31220.i586)
 scriptlet failed, exit status 127
 }}}

 Doing something wrong?

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


More information about the Bugs mailing list