Re: XO-4 not resuming after suspend

2013-02-03 Thread Jerry Vonau
On Sat, 2013-02-02 at 09:25 +1100, fors...@ozonline.com.au wrote:
I have an XO-4 B1, OFW Q7B14, EC Firmware 0.3.10, os28.
   
It won't resume after suspend, but sometimes it does. I couldn't
reproduce the bug, but it happens most of the time.
 ...
Anyone else seeing this?
   
 

I'm seeing this with my B1, hard lock just after suspending, can't
awaken the XO via any input method. Sorry no logs for this one. 


 For me, OS28 XO-4 doesnt seem to be going into suspend, mostly. It did 
 suspend once and when it resumed it did not load the cursor, just a square of 
 noise like a QR code, a bug we had in the early XO-4 builds. It seems suspend 
 has regressed from OS27.
 
 Tony
 

I'm seeing this with the C2 unit I have, enabling powerd's tracing shows
suspend is being skipped with cpu busy once a rtcalarm wakeup event
occurs during until_dim-soft. I have the logs if needed.

Jerry

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


Re: XO-4 not resuming after suspend

2013-02-03 Thread Paul Fox
jerry wrote:
  On Sat, 2013-02-02 at 09:25 +1100, fors...@ozonline.com.au wrote:
  I have an XO-4 B1, OFW Q7B14, EC Firmware 0.3.10, os28.
 
  It won't resume after suspend, but sometimes it does. I couldn't
  reproduce the bug, but it happens most of the time.
   ...
  Anyone else seeing this?
 
   
  
  I'm seeing this with my B1, hard lock just after suspending, can't
  awaken the XO via any input method. Sorry no logs for this one. 
  
  
   For me, OS28 XO-4 doesnt seem to be going into suspend, mostly. It did 
   suspend once and when it resumed it did not load the cursor, just a square 
   of noise like a QR code, a bug we had in the early XO-4 builds. It seems 
   suspend has regressed from OS27.
   
   Tony
   
  
  I'm seeing this with the C2 unit I have, enabling powerd's tracing shows
  suspend is being skipped with cpu busy once a rtcalarm wakeup event
  occurs during until_dim-soft. I have the logs if needed.

thanks -- yes, we've observed that something is consuming cpu
on os28, preventing suspend.

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


Page Fault message on XO-1 and another Fix Clock question

2013-02-03 Thread Christoph Derndorfer
Hey everyone,

(1) on Friday while looking at one of the XO-1s which didn't show anything
on the display (even with a display which was known to work) with the
serial adapter I saw the attached output.

Looking at the wiki now and given the number of invalid system date
issues we saw on other machines I assume this is a case of the page fault
message situation described on
http://wiki.laptop.org/go/Fix_Clock#If_the_screen_does_not_turn_on. Or are
there any other issues which could produce such an output?

(2) Mike sent me a bunch of ML 1220 batteries as replacements for the XO-1
units which showed the invalid system date messages. However even with
the new batteries in-place, after verifying that the (old) battery holders
looked okay and having set the current time on the command-line the system
date reverted back to 2000-01-01 00:00:00 after every reboot (and hence the
invalid system date message kept coming up again). Any suggestions on
what to do in such a situation?

Thanks,
Christoph

-- 
Christoph Derndorfer

volunteer, OLPC (Austria) [www.olpc.at]
editor, OLPC News [www.olpcnews.com]
contributor, TechnikBasteln [www.technikbasteln.net]

e-mail: christ...@derndorfer.eu


putty.log
Description: Binary data
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


What I have to do for the same?

2013-02-03 Thread pascal

Hi,
I have a simple question:
when I use my XO-1, if I do nothing, after 15 sec, it changes to a  
middle-suspend : only the screen isn't off.
So what I have to enable or disable to have the same on another init  
mod (init 2 for example)?
Because I would to have the minimum of services (with my initdefault  
on starting up), without modificate my init (5). So for the moment, I  
have modificated the inittab, but now, I would to have the  
middle-suspend on inactivited use.

How and what I have to do?

Thanks in advance.

Best Regards,
Pascal Diogo Antunes.

ps: sorry if i wrote on the wrong list, but i didn't have response on  
the test@list.


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


Re: What I have to do for the same?

2013-02-03 Thread Paul Fox
pas...@diogoantunes.org wrote:
  Hi,
  I have a simple question:
  when I use my XO-1, if I do nothing, after 15 sec, it changes to a  
  middle-suspend : only the screen isn't off.
  So what I have to enable or disable to have the same on another init  
  mod (init 2 for example)?
  Because I would to have the minimum of services (with my initdefault  
  on starting up), without modificate my init (5). So for the moment, I  
  have modificated the inittab, but now, I would to have the  
  middle-suspend on inactivited use.
  How and what I have to do?

this is the correct list for your question.

the middle suspend you speak of, triggered by inactivity, is
provided by /usr/sbin/powerd.  powerd doesn't care about init
levels, so if you arrange to have powerd run in runlevel 2, then
you will get the same behavior you currently get in runlevel 5.

the configuration for powerd is found in /etc/powerd/powerd.conf.
there is more documentation in the comments in /usr/sbin/powerd itself.
(for better or worse, powerd is a shell script.)  any modifications
you make to the powerd configuration will take effect both in init 5
and in init 2.

paul

  
  Thanks in advance.
  
  Best Regards,
  Pascal Diogo Antunes.
  
  ps: sorry if i wrote on the wrong list, but i didn't have response on  
  the test@list.
  
  ___
  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: Page Fault message on XO-1 and another Fix Clock question

2013-02-03 Thread James Cameron
On Mon, Feb 04, 2013 at 12:58:47AM +0200, Christoph Derndorfer wrote:
 (1) on Friday while looking at one of the XO-1s which didn't show
 anything on the display (even with a display which was known to
 work) with the serial adapter I saw the attached output.

Reviewed, thanks.

 Looking at the wiki now and given the number of invalid system
 date issues we saw on other machines I assume this is a case of the
 page fault message situation described on
 http://wiki.laptop.org/go/Fix_Clock# If_the_screen_does_not_turn_on.

Yes, this is likely.

 Or are there any other issues which could produce such an output?

There might be, but if you have a version before Q2D05 which was
released in 2007, there's almost no chance of anybody remembering
anything useful.  It has been more than five years!

To verify that the Page Fault is happening because of the known
problem (ticket #5391, svn 752), please use the Open Firmware ok
prompt to display the values in the real-time clock, using the .clock
command:

ok .clock

If the month is invalid, then the Page Fault is most likely to be the
one expected.

Another method would be to take an XO-1 with Q2D06 or earlier, remove
the clock battery, force the problem again, and see if the serial log
looks the same.  I expect it will.

There are other methods to diagnose, but these require immediate
collaboration with a firmware engineer, and I don't think it is worth
doing that yet.

 (2) Mike sent me a bunch of ML 1220 batteries as replacements for
 the XO-1 units which showed the invalid system date
 messages. However even with the new batteries in-place, after
 verifying that the (old) battery holders looked okay and having set
 the current time on the command-line the system date reverted back
 to 2000-01-01 00:00:00 after every reboot (and hence the invalid
 system date message kept coming up again). Any suggestions on what
 to do in such a situation?

Charge the battery before the power cycle test.  On the XO-1, it will
recharge from the main power source while the laptop is powered on and
fully awake (not suspended).

When recharging an empty battery, it is expected that the battery
will reach normal voltage levels after around 30 minutes of charging,
but will require potentially 24 hours for a complete recharge.

http://wiki.laptop.org/go/Fix_Clock#RTC_power_dynamic has the above
text.

Check that the battery voltage is reasonable.

Check that the connector is passing the voltage properly to the
circuit board.

Also, please make sure you upgrade the firmware as soon as you can, so
that you aren't impacted by this problem any further.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel