Re: [maemo-developers] Frustrating power downs...

2006-05-04 Thread Joe LaPenna

I've also seen a problem where my battery drains overnight, with the
cover on and wifi not running (60 minute timeout or manually disabling
it) This happens not often enough to be a real issue, but frequently
enough that I notice it.

On 5/3/06, Michael P. Lococo [EMAIL PROTECTED] wrote:

  One time it was drained when I had the audio player opened. I had it
  play a part of an audio book and didn't bother to close the cover
  after it was finished, just left it lying next to my bed. The next
  morning it was powered off and the battery empty. This happened only
  once though.

 Keeping the audio player in 'paused' state doesn't allow power saving
 mode currently. That is the most likely cause for a battery drain in the
 above case. It will be fixed in the OS upgrade.

 No it was definitely not paused. It just finshed playing a mp3 file.

There is also a known bug that causes power drain if you leave headphones
plugged in with the audio player open.

https://maemo.org/bugzilla/show_bug.cgi?id=383

Mike

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers




--
http://joelapenna.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Nils Faerber
Martin Mueller wrote:
 Hi,
Wup!

 On Tue, May 02, 2006 at 01:59:32PM +0200, Nils Faerber wrote:
 Does anybody else see this happening?
 Yes, me. 

Ah, puh, at least I am not alone ;)

 Are there any hints on what might be tha cause?
 It happened to my device when I had a lot of 3rd-party packages
 installed. I reflashed it from scratch and did only install xterm. It
 still reboots randomly but doesn't power off anymore. I test it in
 this configuration since around 10 days now and didn't have a power
 off.

Last time it happened I had an uptime of 10 days :(

Good luck that your's keeps up now!

 bye
   MM
Cheers
  nils faerber

-- 
kernel concepts  Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen  Mob: +49-176-21024535
--
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Kalle Vahlman

On 5/3/06, Amit Kucheria [EMAIL PROTECTED] wrote:
[suspicious shutdowns]

I assume that you have ensured you do not leave the device in RD mode.


Just a note on this: RD mode has only the notorious power draining
effect if the serial console is enabled (which AFAIK is not by
default).

--
Kalle Vahlman, [EMAIL PROTECTED]
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Igor Stoppa
Hi,
On Tue, 2006-05-02 at 10:49 -0400, ext Chris Bare wrote:
  I am wondering if this is a hardware or software fault?
  
  Does anybody else see this happening?
  Are there any hints on what might be tha cause?
  And especially if this can be fixed?
  
 
 I too have seen mysterious power downs. So far I haven't been able to detect a
 pattern. Sometimes I've plugged it in to recharge and when I came back and
 opened the cover it had powered down. I wonder if a surge or static shock
 might cause it in this case, 
high unlikely, whatever would be able have such an effect would probably
fry it for good.

 but other times I've just found it in the off
 state when I know I left it on, and the batter still had a charge.
It would help to know which sw you are running: is it vanilla or are you
using a custom set of packages?


-- 
Cheers,
   Igor

Igor Stoppa (Nokia M - OSSO / Tampere)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Weinehall David (Nokia-M/Tampere)
On ons, 2006-05-03 at 09:42 +0200, ext Nils Faerber wrote:
 Martin Mueller wrote:
  Hi,
 Wup!
 
  On Tue, May 02, 2006 at 01:59:32PM +0200, Nils Faerber wrote:
  Does anybody else see this happening?
  Yes, me. 
 
 Ah, puh, at least I am not alone ;)
 
  Are there any hints on what might be tha cause?
  It happened to my device when I had a lot of 3rd-party packages
  installed. I reflashed it from scratch and did only install xterm. It
  still reboots randomly but doesn't power off anymore. I test it in
  this configuration since around 10 days now and didn't have a power
  off.
 
 Last time it happened I had an uptime of 10 days :(
 
 Good luck that your's keeps up now!

Some of the software on the device is run by a software lifeguard that
either reboots the device when the software crashes, or tries to respawn
it a certain number of times, then reboots the device if this fails.

So my guess is that something causes one of those to crash.
Examples of software that run with this kind of policy is the X-server,
bme, mce, and the dsp software.

The problem is that tracking down this kind of bugs is extremely tricky
unless you can somehow come up with a reproducible way of triggering the
bug (even if it takes 10 days the bug can still be located with the
proper tools if there's a reproducible way to trigger it).

So any further input is *warmly* accepted.


Regards: David
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Weinehall David (Nokia-M/Tampere)
On ons, 2006-05-03 at 09:42 +0200, ext Nils Faerber wrote:
 Martin Mueller wrote:
  Hi,
 Wup!
 
  On Tue, May 02, 2006 at 01:59:32PM +0200, Nils Faerber wrote:
  Does anybody else see this happening?
  Yes, me. 
 
 Ah, puh, at least I am not alone ;)
 
  Are there any hints on what might be tha cause?
  It happened to my device when I had a lot of 3rd-party packages
  installed. I reflashed it from scratch and did only install xterm. It
  still reboots randomly but doesn't power off anymore. I test it in
  this configuration since around 10 days now and didn't have a power
  off.
 
 Last time it happened I had an uptime of 10 days :(
 
 Good luck that your's keeps up now!

Oh, one more thing: did you restore any backups, or was the device
completely standard except for that xterm?


Regards: David
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Martin Mueller
On Wed, May 03, 2006 at 12:01:43PM +0300, Weinehall David (Nokia-M/Tampere) 
wrote:
 
 Oh, one more thing: did you restore any backups, or was the device
 completely standard except for that xterm?

It reboots about every second day without installing anything except
xterm and copying over the opera bookmarks manually as well as editing
the opera rc-file to make the zoom buttons scroll up and down.

Later (about 4 days ago, when I took it with me away from my home) I
restored the backup from the .51 release since I was too lazy to
reenter all the WEP keys.  That didn't change anything sigificantly. 

It would be nice, if the software could report the reboot or
poweroff reason in some logfile (maybe it does and I didn't find it).

bye
  MM
--
Normaliser Unix c'est comme pasteuriser le camembert, L.R.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Martin Mueller
On Wed, May 03, 2006 at 11:37:54AM +0300, Amit Kucheria wrote:
 
 Is the battery drained at this point when you get it to power on again?
 Any particular applications that you keep running when this happens?

One time it was drained when I had the audio player opened. I had it
play a part of an audio book and didn't bother to close the cover
after it was finished, just left it lying next to my bed. The next
morning it was powered off and the battery empty. This happened only
once though.

 I assume that you have ensured you do not leave the device in RD mode.

No, I have RD mode enabled all the time, but switched serial console
off (it drains a lot of power). 

Will it make a difference if RD mode is disabled? 

bye
  MM
--
Normaliser Unix c'est comme pasteuriser le camembert, L.R.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Weinehall David (Nokia-M/Tampere)
On ons, 2006-05-03 at 11:15 +0200, ext Martin Mueller wrote:
 On Wed, May 03, 2006 at 12:01:43PM +0300, Weinehall David (Nokia-M/Tampere) 
 wrote:
  
  Oh, one more thing: did you restore any backups, or was the device
  completely standard except for that xterm?
 
 It reboots about every second day without installing anything except
 xterm and copying over the opera bookmarks manually as well as editing
 the opera rc-file to make the zoom buttons scroll up and down.
 
 Later (about 4 days ago, when I took it with me away from my home) I
 restored the backup from the .51 release since I was too lazy to
 reenter all the WEP keys.  That didn't change anything sigificantly. 
 
 It would be nice, if the software could report the reboot or
 poweroff reason in some logfile (maybe it does and I didn't find it).

It should be noted that there is a big difference between poweroff
and reboot.  If the device reboots, it is very likely a software error;
usually triggered by memory leaks or system essential software dying.

Shutdowns on the other hand are usually caused by an empty (or
near-empty) battery, or hardware errors (empty battery should cause a
clean shutdown, hardware errors a non-clean shutdown).

So, when reporting this kind of problems, please *clearly* state whether
you're having problems with the device powering off or with reboots.
They are generally two completely disjoint sets of problems.


Regards: David
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Martin Mueller
On Wed, May 03, 2006 at 01:43:51PM +0300, Amit Kucheria wrote:
 On Wed, 2006-05-03 at 11:21 +0200, ext Martin Mueller wrote:
  
  One time it was drained when I had the audio player opened. I had it
  play a part of an audio book and didn't bother to close the cover
  after it was finished, just left it lying next to my bed. The next
  morning it was powered off and the battery empty. This happened only
  once though.
 
 Keeping the audio player in 'paused' state doesn't allow power saving
 mode currently. That is the most likely cause for a battery drain in the
 above case. It will be fixed in the OS upgrade.

No it was definitely not paused. It just finshed playing a mp3 file.

 Please send details of your software configuration:
 - Fiasco image version?

Nokia_770_SE2005_5_2006_13_7.bin

Reboots happend more often with Nokia_770_3.2005.51-13.bin even more than
once a day.

 - extra applications loaded?

osso-xterm

 - applications running when behaviour observed?

opera, audio player, mahjong

 - restore from backup?

either case, doesn't matter

 Also, can you check if you observe this behaviour with the official
 images _without_ restoring settings from older releases?

Yes, happens too.

bye
  MM
--
Normaliser Unix c'est comme pasteuriser le camembert, L.R.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Martin Mueller
On Wed, May 03, 2006 at 01:37:41PM +0300, Weinehall David (Nokia-M/Tampere) 
wrote:
 
 So, when reporting this kind of problems, please *clearly* state whether
 you're having problems with the device powering off or with reboots.
 They are generally two completely disjoint sets of problems.

I had 3 powerdowns with the Nokia_770_3.2005.51-13.bin image. After
one powerdown the battery was empty (the audio player case). The other
two times the battery was still halfway full after powering the device
on again.

I haven't had a poweroff with Nokia_770_SE2005_5_2006_13_7.bin yet,
only reboots.

bye
  MM
--
Normaliser Unix c'est comme pasteuriser le camembert, L.R.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Chris Bare
  but other times I've just found it in the off
  state when I know I left it on, and the batter still had a charge.
 It would help to know which sw you are running: is it vanilla or are you
 using a custom set of packages?

It doesn't happen too often, but 90% of the time I'm probably running just
fbreader in full screen mode when I slide the case on. 
I have installed xterm, vim, ssh, and a few other apps, but mostly I use
fbreader and the web browser.
-- 
Chris Bare
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Eero Tamminen
Hi,

 It would help to know which sw you are running: is it vanilla or are
 you using a custom set of packages?

 It doesn't happen too often, but 90% of the time I'm probably running
 just fbreader in full screen mode when I slide the case on. 
 I have installed xterm, vim, ssh, and a few other apps, but mostly I use
 fbreader and the web browser.

Just in case, you might check what fbreader does when you e.g.
top browser on top of it:
- install (e.g. Debian) strace on the device, attach to the fbreader
  process with 'strace -p PID' and see whether it has any activity
  although it's on the background (it shouldn't)
- After untopping the fbreader, get it's memory usage values:
   grep Vm /proc/PID/status
  Wait e.g. an hour and take the memory usage values again to
  see whether fbreader memory usage grows while it's idle
  (it shouldn't)

Well integrated apps in the device implement state saving and
can be killed (to save memory) when they are backgrounded and
re-started by the system when user switches back to them.  If
app is using too much memory without behaving nicely with rest
of the system, it might cause OOM and in rare case this might
result in a reboot.


- Eero

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-03 Thread Michael P. Lococo
  One time it was drained when I had the audio player opened. I had it
  play a part of an audio book and didn't bother to close the cover
  after it was finished, just left it lying next to my bed. The next
  morning it was powered off and the battery empty. This happened only
  once though.

 Keeping the audio player in 'paused' state doesn't allow power saving
 mode currently. That is the most likely cause for a battery drain in the
 above case. It will be fixed in the OS upgrade.

 No it was definitely not paused. It just finshed playing a mp3 file.

There is also a known bug that causes power drain if you leave headphones
plugged in with the audio player open.

https://maemo.org/bugzilla/show_bug.cgi?id=383

Mike

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Frustrating power downs...

2006-05-02 Thread Nils Faerber
Hi!
For some time now I see power downs of the device for no reason.
It seems to happen over night.
When I come back next morning the device is full off, when pressing the
power button it starts to boot normally. The battery has never been the
fault (i.e. not empty).
Yesterday it happened again and I had to remove the battery before it
started to switch on / boot again.

I am wondering if this is a hardware or software fault?

Does anybody else see this happening?
Are there any hints on what might be tha cause?
And especially if this can be fixed?

Cheers
  nils faerber

-- 
kernel concepts  Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen  Mob: +49-176-21024535
--
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Frustrating power downs...

2006-05-02 Thread Chris Bare
 I am wondering if this is a hardware or software fault?
 
 Does anybody else see this happening?
 Are there any hints on what might be tha cause?
 And especially if this can be fixed?
 

I too have seen mysterious power downs. So far I haven't been able to detect a
pattern. Sometimes I've plugged it in to recharge and when I came back and
opened the cover it had powered down. I wonder if a surge or static shock
might cause it in this case, but other times I've just found it in the off
state when I know I left it on, and the batter still had a charge.
-- 
Chris Bare
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers