Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )

2010-03-29 Thread Yioryos Asprobounitis
--- On Sun, 3/28/10, Paul Fox p...@laptop.org wrote:

 From: Paul Fox p...@laptop.org
 Subject: Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )
 To: Yioryos Asprobounitis mavrot...@yahoo.com
 Cc: OLPC Devel devel@lists.laptop.org, fedora-olpc-list 
 fedora-olpc-l...@redhat.com
 Date: Sunday, March 28, 2010, 11:40 AM
 yioryos wrote:
   So SLEEP basically drops connections and then the
 XO-1 fails
   to DIM or BLANK.  Setting SLEEP time _after_ DIM
 and BLANK has
 
 sounds like something's going wrong for you that isn't
 going wrong
 for me:  dim and blank happen correctly after sleep
 for me.
 
   the expected behavior.  In all cases the XO
 fails to reconnect
   to the preferred network after wakeup from
 SLEEP.  I settled
 
 i haven't tested networking robustness on os13, so can't
 speak to
 this.
 
 please file tickets for the problems you're seeing, and
 attach
 dmesg output, as well as powerd.trace.  (enable powerd
 tracing
 with sudo powerd-config =trace-on.)

Well, my predicament with powerd and a proper ticket filling is that I can get 
no logs. So I'll describe the story instead ...:-)

Test settings SLEEP=15 DIM=30 BLANK=45 running on battery. os13 (clean). XO-1 
CL1 Firmware q2e42d(not overclocked, no SDcard or anything attached to it)

Without trace-on the XO will sleep and will _not_ dim or blank. On slight 
touchpad touch after the timeouts (or spontaneous if you let it long enough) 
will wake to dim and then blank. Power button wakes it up fine but no trace log.

With trace-on, same behavior but on slight touch of the touchpad (or 
spontaneously) will wake to dim and freeze there. After hard reboot no trace 
log either :( and no I do not have a serial port adapter) 
It's a clue though (I hope) 

If while at sleep, pass dim or blank time points, you wake it up by typing or 
rubbing the touchpad constantly, will wake, dim and then recover to normal 
operation. This is where the attached powerd.trace is coming from.

It would appear that the kernel configuration is also relevant. With the os13 
kernel I also got a freeze without the trace-on (1 in 5 tests). With the 
2010322 kernel never (in 6 tests). Using one of my kernels patched for Aufs and 
with hfsplus, sisusbvga modules and in-kernel loop enabled, I can not get it to 
sleep unless both DIM and BLANK are before SLEEP time (I could provide config 
diffs and trace logs if you think it may help the issue at hand)  

 
 paul
 
 
   in DIM=180, BLANK=480, SLEEP=600.  No huge power
 savings but
   at least the build is usable.
     
   
   --- On Sat, 3/27/10, Paul Fox p...@laptop.org
 wrote:
   
From: Paul Fox p...@laptop.org
Subject: Re: (fwd) Re: powerd on XO-1 (was Re:
 New release ... OS13 )
To: Yioryos Asprobounitis mavrot...@yahoo.com
Cc: OLPC Devel devel@lists.laptop.org,
 fedora-olpc-list 
   fedora-olpc-l...@redhat.com
Date: Saturday, March 27, 2010, 1:26 PM
yioryos wrote:
      I guess the question is: is os13
 usable at this
stage?
      Should power management be be
 inactivated in the
control panel?
      Are there appropriate/recommended
 powerd.conf
settings for the XO-1 at this 
      stage?

maybe, i don't know, and i don't know.

paul
=-
     paul fox, p...@laptop.org

   
   
         
 
 =-
  paul fox, p...@laptop.org



  

powerd.trace.gz
Description: GNU Zip compressed data
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )

2010-03-29 Thread Paul Fox
hi yioryos --

thanks for the detailed descriptions.

debugging and drawing conclusions about suspend/resume
problems is pretty hard without a serial connection.  i'll
try and stress an OS13 a little more, and see if i can't
reproduce your symptoms.  others with serial ports are
welcome/encouraged to try as well.  ;-)

paul

yioryos wrote:
  
  Well, my predicament with powerd and a proper ticket filling
  is that I can get no logs.  So I'll describe the story instead
  ...:-)
  
  Test settings SLEEP=15 DIM=30 BLANK=45 running on battery. 
  os13 (clean).  XO-1 CL1 Firmware q2e42d(not overclocked, no
  SDcard or anything attached to it)
  
  Without trace-on the XO will sleep and will _not_ dim or
  blank.  On slight touchpad touch after the timeouts (or
  spontaneous if you let it long enough) will wake to dim and
  then blank.  Power button wakes it up fine but no trace log.

okay -- this is definitely a kernel issue then.  i think i thought
we'd gotten past all the bad ones, but i guess not.

  
  With trace-on, same behavior but on slight touch of the
  touchpad (or spontaneously) will wake to dim and freeze there. 
  After hard reboot no trace log either :( and no I do not have
  a serial port adapter) It's a clue though (I hope)

hard freezes are certainly harder to diagnose.

  
  If while at sleep, pass dim or blank time points, you wake it
  up by typing or rubbing the touchpad constantly, will wake,
  dim and then recover to normal operation.  This is where the
  attached powerd.trace is coming from.
  
  It would appear that the kernel configuration is also
  relevant.  With the os13 kernel I also got a freeze without
  the trace-on (1 in 5 tests).  With the 2010322 kernel never
  (in 6 tests).  Using one of my kernels patched for Aufs and
  with hfsplus, sisusbvga modules and in-kernel loop enabled, I
  can not get it to sleep unless both DIM and BLANK are before
  SLEEP time (I could provide config diffs and trace logs if you
  think it may help the issue at hand)

  
   
   paul
   
   
 in DIM=180, BLANK=480, SLEEP=600.  No huge power
   savings but
 at least the build is usable.
   
 
 --- On Sat, 3/27/10, Paul Fox p...@laptop.org
   wrote:
 
  From: Paul Fox p...@laptop.org
  Subject: Re: (fwd) Re: powerd on XO-1 (was Re:
   New release ... OS13 )
  To: Yioryos Asprobounitis mavrot...@yahoo.com
  Cc: OLPC Devel devel@lists.laptop.org,
   fedora-olpc-list 
 fedora-olpc-l...@redhat.com
  Date: Saturday, March 27, 2010, 1:26 PM
  yioryos wrote:
I guess the question is: is os13
   usable at this
  stage?
Should power management be be
   inactivated in the
  control panel?
Are there appropriate/recommended
   powerd.conf
  settings for the XO-1 at this 
stage?
  
  maybe, i don't know, and i don't know.
  
  paul
  =-
   paul fox, p...@laptop.org
  
 
 
   
   
   =-
paul fox, p...@laptop.org
  
  
  
  

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )

2010-03-28 Thread Paul Fox
yioryos wrote:
  So SLEEP basically drops connections and then the XO-1 fails
  to DIM or BLANK.  Setting SLEEP time _after_ DIM and BLANK has

sounds like something's going wrong for you that isn't going wrong
for me:  dim and blank happen correctly after sleep for me.

  the expected behavior.  In all cases the XO fails to reconnect
  to the preferred network after wakeup from SLEEP.  I settled

i haven't tested networking robustness on os13, so can't speak to
this.

please file tickets for the problems you're seeing, and attach
dmesg output, as well as powerd.trace.  (enable powerd tracing
with sudo powerd-config =trace-on.)

paul


  in DIM=180, BLANK=480, SLEEP=600.  No huge power savings but
  at least the build is usable.

  
  --- On Sat, 3/27/10, Paul Fox p...@laptop.org wrote:
  
   From: Paul Fox p...@laptop.org
   Subject: Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )
   To: Yioryos Asprobounitis mavrot...@yahoo.com
   Cc: OLPC Devel devel@lists.laptop.org, fedora-olpc-list 
  fedora-olpc-l...@redhat.com
   Date: Saturday, March 27, 2010, 1:26 PM
   yioryos wrote:
 I guess the question is: is os13 usable at this
   stage?
 Should power management be be inactivated in the
   control panel?
 Are there appropriate/recommended powerd.conf
   settings for the XO-1 at this 
 stage?
   
   maybe, i don't know, and i don't know.
   
   paul
   =-
paul fox, p...@laptop.org
   
  
  


=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )

2010-03-28 Thread Hal Murray

p...@laptop.org said:
 please file tickets for the problems you're seeing, and attach dmesg output,
 as well as powerd.trace.  (enable powerd tracing with sudo powerd-config
 =trace-on.) 

http://dev.laptop.org/ticket/10092

If that's not the info you need, let me know and I'll try again.


-- 
These are my opinions, not necessarily my employer's.  I hate spam.



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


(fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )

2010-03-27 Thread Paul Fox
when i reply to my own posts, my mailer screws up.  resending
with proper headers...

(only new info:  i've filed #10090)

paul

i wrote:
  Date:Sat, 27 Mar 2010 12:44:40 EDT
  cc:  OLPC Devel devel@lists.laptop.org,
fedora-olpc-list fedora-olpc-l...@redhat.com
  From:Paul Fox p...@laptop.org
  Subject: Re: powerd on XO-1 (was Re: New release ... OS13 ) 
  
  i wrote:
mathieu wrote:
  On Sat, Mar 27, 2010 at 16:42, Paul Fox p...@laptop.org wrote:
   steven m. parrish wrote:
     OS13 is now available for testing.
  
  I just tried it and am encountering a very annoying issue: if I don't
  do anything, the screen dims, and everything just freezes this way.
  Screen remains dim, keyboard and mouse don't respond.
  
  Is this a known issue? Any idea how I could help debugging it?

can you recover at all?   if so, a copy of the output of dmesg
would probably be helpful.  probably most helpful if it were
attached to a trac ticket.  i don't know how f11-on-xo1 tickets
are being filed, though.

oh.  wait.  i just went and fetch my os13 machine, and sure enough --
it's completely locked up.  :-/  it wasn't, earlier.
  
  i don't know that it's the same lockup, but i've just filed #10090,
  with full dmesg log.  (captured via serial)
  
  paul
  =-
   paul fox, p...@laptop.org
  part 2 text/plain 129
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )

2010-03-27 Thread Yioryos Asprobounitis
I guess the question is: is os13 usable at this stage?
Should power management be be inactivated in the control panel?
Are there appropriate/recommended powerd.conf settings for the XO-1 at this 
stage?

--- On Sat, 3/27/10, Paul Fox p...@laptop.org wrote:

 From: Paul Fox p...@laptop.org
 Subject: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )
 To: OLPC Devel devel@lists.laptop.org, fedora-olpc-list 
 fedora-olpc-l...@redhat.com
 Date: Saturday, March 27, 2010, 12:50 PM
 when i reply to my own posts, my
 mailer screws up.  resending
 with proper headers...
 
 (only new info:  i've filed #10090)
 
 paul
 
 i wrote:
   Date:    Sat, 27 Mar 2010 12:44:40 EDT
   cc:      OLPC Devel devel@lists.laptop.org,
    fedora-olpc-list fedora-olpc-l...@redhat.com
   From:    Paul Fox p...@laptop.org
   Subject: Re: powerd on XO-1 (was Re: New release ...
 OS13 ) 
   
   i wrote:
     mathieu wrote:
       On Sat, Mar 27, 2010 at 16:42,
 Paul Fox p...@laptop.org
 wrote:
        steven m. parrish wrote:
          OS13 is now
 available for testing.
       
       I just tried it and am
 encountering a very annoying issue: if I don't
       do anything, the screen dims,
 and everything just freezes this way.
       Screen remains dim, keyboard
 and mouse don't respond.
       
       Is this a known issue? Any idea
 how I could help debugging it?
     
     can you recover at
 all?   if so, a copy of the output of dmesg
     would probably be helpful.  probably
 most helpful if it were
     attached to a trac ticket.  i don't
 know how f11-on-xo1 tickets
     are being filed, though.
     
     oh.  wait.  i just went and
 fetch my os13 machine, and sure enough --
     it's completely locked up.  :-/ 
 it wasn't, earlier.
   
   i don't know that it's the same lockup, but i've just
 filed #10090,
   with full dmesg log.  (captured via serial)
   
   paul
   =-
    paul fox, p...@laptop.org
   part 2     text/plain 
            
    129
   ___
   Devel mailing list
   Devel@lists.laptop.org
   http://lists.laptop.org/listinfo/devel
 
 =-
  paul fox, p...@laptop.org
 
 -Inline Attachment Follows-
 
 ___
 olpc mailing list
 o...@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/olpc


  

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )

2010-03-27 Thread Paul Fox
yioryos wrote:
  I guess the question is: is os13 usable at this stage?
  Should power management be be inactivated in the control panel?
  Are there appropriate/recommended powerd.conf settings for the XO-1 at this 
  stage?

maybe, i don't know, and i don't know.

paul
=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )

2010-03-27 Thread Yioryos Asprobounitis
So SLEEP basically drops connections and then the XO-1 fails to DIM or BLANK. 
Setting SLEEP time _after_ DIM and BLANK has the expected behavior. 
In all cases the XO fails to reconnect to the preferred network after wakeup 
from SLEEP.
I settled in DIM=180, BLANK=480, SLEEP=600. No huge power savings but at least 
the build is usable.
  

--- On Sat, 3/27/10, Paul Fox p...@laptop.org wrote:

 From: Paul Fox p...@laptop.org
 Subject: Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )
 To: Yioryos Asprobounitis mavrot...@yahoo.com
 Cc: OLPC Devel devel@lists.laptop.org, fedora-olpc-list 
 fedora-olpc-l...@redhat.com
 Date: Saturday, March 27, 2010, 1:26 PM
 yioryos wrote:
   I guess the question is: is os13 usable at this
 stage?
   Should power management be be inactivated in the
 control panel?
   Are there appropriate/recommended powerd.conf
 settings for the XO-1 at this 
   stage?
 
 maybe, i don't know, and i don't know.
 
 paul
 =-
  paul fox, p...@laptop.org
 


  
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel