Re: [maemo-users] Problem: automatic boot from off state

2006-10-14 Thread Marius Gedminas
On Fri, Oct 13, 2006 at 12:44:36PM +0300, Amit Kucheria wrote:
 On Thu, 2006-10-12 at 16:33 -0400, ext Michael Wiktowy wrote:
  A used 770 never reboots spontaneously.
  
 That is what we would hope anyways :)

My 770 sometimes reboot while I'm reading an e-book in FBReader.
/proc/bootreason indicates it's a software reboot, and
/var/lib/dsme/stats show maemo_af_desktop is at fault.  I initially
suspected the osso-statusbar-cpu plugin, but I still get reboots after I
replaced it with load-applet and panel-clock.

Once I got a spontaneous reboot with the 32_wd boot reason.  This is the
software watchdog, right?  How soon is it supposed to kick in?  The
device was responsive and the CPU applet didn't show any high load a
couple of seconds before the reboot, so I found the watchdog reset
strange.

I haven't noticed any spontaneous power-ons yet, but then again I never
turn my 770 off.

  I have never experienced such a thing but that is likely because I
  almost never turn my 770 off. It lasts a couple days of light use or a
  single day of pretty heavy use just by making sure you put the cover
  on between uses to turn off the power-gobbling screen. I plug it in
  every night while it is still running anyways. It is a usage/charge
  pattern that works out quite well for me.
 
 That is indeed how we envisioned it being used. That was the why we
 traded the suspend/resume experience (e.g. Zaurus) with instant-on
 experience. It does require a little getting used to, though.

Really?  It seemed pretty natural to me.  Well, I'be been using a Palm
like this for a couple of years before I got a 770.

Marius Gedminas
-- 
I saw `cout' being shifted Hello world times to the left and stopped right
there!!
-- Steve Gonedes


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Problem: automatic boot from off state

2006-10-13 Thread Amit Kucheria
On Thu, 2006-10-12 at 16:33 -0400, ext Michael Wiktowy wrote:


 Maybe it is a quantum thing ;]
 An observed particle can't be in two places at once.
 A watched pot never boils.
 A used 770 never reboots spontaneously.
 
That is what we would hope anyways :)

 I have never experienced such a thing but that is likely because I
 almost never turn my 770 off. It lasts a couple days of light use or a
 single day of pretty heavy use just by making sure you put the cover
 on between uses to turn off the power-gobbling screen. I plug it in
 every night while it is still running anyways. It is a usage/charge
 pattern that works out quite well for me.

That is indeed how we envisioned it being used. That was the why we
traded the suspend/resume experience (e.g. Zaurus) with instant-on
experience. It does require a little getting used to, though.

Regards,
Amit

-- 
Amit Kucheria [EMAIL PROTECTED]
Nokia
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Problem: automatic boot from off state

2006-10-13 Thread Gustav_Schaffter

 [EMAIL PROTECTED] wrote on 10/13/2006 11:44:36 AM:

 On Thu, 2006-10-12 at 16:33 -0400, ext Michael Wiktowy wrote:


  Maybe it is a quantum thing ;]
  An observed particle can't be in two places at once.
  A watched pot never boils.
  A used 770 never reboots spontaneously.
 
 That is what we would hope anyways :)

  I have never experienced such a thing but that is likely because I
  almost never turn my 770 off. It lasts a couple days of light use or a
  single day of pretty heavy use just by making sure you put the cover
  on between uses to turn off the power-gobbling screen. I plug it in
  every night while it is still running anyways. It is a usage/charge
  pattern that works out quite well for me.

 That is indeed how we envisioned it being used. That was the why we
 traded the suspend/resume experience (e.g. Zaurus) with instant-on
 experience. It does require a little getting used to, though.


It's just such a pity that there's no living/bed-room cradle to comfortably
drop it before going to bed, but that I have to fiddle around with a
charger cable.

The charger cable the lays around open-ended all day long, which makes my
wife grumble. And a grumbling wife is not something one can easily ignore.
;-)


Regards
Gustav



 Regards,
 Amit

 --
 Amit Kucheria [EMAIL PROTECTED]
 Nokia
 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://maemo.org/mailman/listinfo/maemo-users

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


Re: [maemo-users] Problem: automatic boot from off state

2006-10-09 Thread Amit Kucheria
On Thu, 2006-09-28 at 17:00 +0200, ext Antonio Orlando wrote:

 I'll post here the output of cat /proc/bootreason as soon as the auto-boot  
 occurs again, let's hope it's going to occur soon (humm... well... really  
 my hope is not so big ;)

So no more auto-bootups occuring? :)

Regards,
Amit
-- 
Amit Kucheria [EMAIL PROTECTED]
Nokia
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Problem: automatic boot from off state

2006-10-02 Thread Amit Kucheria
On Sun, 2006-10-01 at 17:31 +0200, ext Fred Pacquier wrote:

 /proc/bootreason was again 32wd_to
 
 /var/lib/dsme/stats/lifeguard_resets contains this :
 
 /usr/bin/maemo_af_desktop  :  13
 /usr/bin/Xomap  -mouse /dev/input/mouse0 -mouse /dev/inp
 ut/event2  -dpi 96  : 1
 /usr/bin/matchbox-window-manager -theme theme3-14pt -use_titleba r yes
 -use_desktop_mode plain -use_lowlight no -use_cursor yes -
 use_dialog_mode static -use_super_modal yes : 1
 /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z : 1 *
 
 Is there anything else I can look at to try and find the reason for 
 these reboots ?

Were you running privoxy again for this test?

It looks like dnsmasq caused the last reboot (* against it). Somebody is
looking at it internally. If you wish you could file a bug in bugzilla,
and the concerned developer might follow this up. I do not look into
that area.

Regards,
Amit

-- 
Amit Kucheria [EMAIL PROTECTED]
Nokia
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Problem: automatic boot from off state

2006-09-29 Thread Amit Kucheria
On Thu, 2006-09-28 at 21:05 +0200, ext Fred Pacquier wrote:
 Antonio Orlando wrote:
  Following command will let you see contents of the file:
 
  cat /proc/bootreason
 
  Please post the output of above command right after the device
  'automatically' boots up from OFF mode.
  
  I'll post here the output of cat /proc/bootreason as soon as the 
  auto-boot occurs again, let's hope it's going to occur soon (humm... 
  well... really my hope is not so big ;)
 
 Mine rebooted (while idle with the cover on) about 3 hours ago 
 (according to uptime), and bootreason is :
 
 32wd to
 
 Does that tell us anything ?

This is different case from original poster since your device was ON but
sleeping. 

I have created a wiki page about this information:
http://maemo.org/maemowiki/ReportingRebootIssues?action=show
Feel free to add more detailed instruction if you need.

In your case, some program was taking up all CPU, causing a watchdog
reset. What were you running before you let the device idle?

Regards,
Amit

-- 
Amit Kucheria [EMAIL PROTECTED]
Nokia
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Problem: automatic boot from off state

2006-09-29 Thread Fred Pacquier

Amit Kucheria wrote:


This is different case from original poster since your device was ON but
sleeping. 


Oh, thanks for the correction.


I have created a wiki page about this information:
http://maemo.org/maemowiki/ReportingRebootIssues?action=show
Feel free to add more detailed instruction if you need.
In your case, some program was taking up all CPU, causing a watchdog
reset. What were you running before you let the device idle?


Most often that would be an xterm with Privoxy running in non-daemon 
mode. After a while the xterm goes poof and disappears with the 
Privoxy process still running in the background. Maybe that is part of 
the reason...


OTOH I'm almost sure there also have been auto-reboots when nothing 
special was (apparently) running. I'm going to try and confirm this over 
the weekend by manually rebooting to the default state and watching what 
happens if I don't use it over the next 48 hours...



Thanks for your help,
fp
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Problem: automatic boot from off state

2006-09-28 Thread Amit Kucheria
On Tue, 2006-09-26 at 16:22 +0200, ext Antonio Orlando wrote:

  - Can you install xterminal and send us the output of /proc/bootreason?
 
 I've tried to type /proc/bootreason in the terminal, both as user and  
 as root, but it says:
 
 /bin/sh: /proc/bootreason: Permission denied
 
 Hope this is normal. By the way, I've read the content of the file  
 /proc/bootreason through SCP, and it is just the line:
 
 pwr_key
 
 (a blank line following)
 But, this time I had turned it on the normal way, i.e. it was off and  
 I've manually turned it on. I'll let you know the content of the file when  
 the problem occurs and I can use it without manually turning it on after  
 having switched it off.

Following command will let you see contents of the file:

cat /proc/bootreason

Please post the output of above command right after the device
'automatically' boots up from OFF mode.

Regards,
Amit
-- 
Amit Kucheria [EMAIL PROTECTED]
Nokia
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Problem: automatic boot from off state

2006-09-28 Thread Antonio Orlando

Following command will let you see contents of the file:

cat /proc/bootreason

Please post the output of above command right after the device
'automatically' boots up from OFF mode.


Yes I'm still waiting to see again the auto-boot behaviour, in order to  
check that file and post the content here. As already said, when booting  
normally it contains the string pwr_key, so let's see what we have  
when the auto-boot triggers.


If this can be a clue, I've used the device in these days (as usual,  
without power chord attached) and I still have no auto-boots (and I turn  
it on and off one or two times per day). There are some days during which  
the weird behaviour occurs frequently (almost always), then everything  
seems going the normal way. Maybe the system date can have some influence  
on that? Just writing nonsense, as I am clueless (and not used to linux,  
as you can argue)


I'll post here the output of cat /proc/bootreason as soon as the auto-boot  
occurs again, let's hope it's going to occur soon (humm... well... really  
my hope is not so big ;)



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


Re: [maemo-users] Problem: automatic boot from off state

2006-09-28 Thread Fred Pacquier

Antonio Orlando wrote:

Following command will let you see contents of the file:

cat /proc/bootreason

Please post the output of above command right after the device
'automatically' boots up from OFF mode.


I'll post here the output of cat /proc/bootreason as soon as the 
auto-boot occurs again, let's hope it's going to occur soon (humm... 
well... really my hope is not so big ;)


Mine rebooted (while idle with the cover on) about 3 hours ago 
(according to uptime), and bootreason is :


32wd to

Does that tell us anything ?

TIA,
fp

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


Re: [maemo-users] Problem: automatic boot from off state

2006-09-26 Thread Andrew Flegg

On 9/26/06, Amit Kucheria [EMAIL PROTECTED] wrote:

On Sat, 2006-09-23 at 13:13 +0200, ext Antonio Orlando wrote:

 When I have the device turned off (not stand-by, really off), often
 removing the cover I find it already booted, so it just recovers from
 the stand-by condition and is ready to be used.

[snip]


Do you have any alarms configured? That can wakeup the device from OFF
mode.


I'm sure I've seen this mentioned before, and I've certainly had it
and I've never used the alarms provided in 2006 OS (mainly because I
can't trust my 770 to have not run itself down at any particular
point).

Cheers,

Andrew

--
Andrew Flegg -- mailto:[EMAIL PROTECTED]  |  http://www.bleb.org/
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Problem: automatic boot from off state

2006-09-26 Thread Antonio Orlando

When I have the device turned off (not stand-by, really off), often
removing the cover I find it already booted, [...]



Do you have any alarms configured?


No alarms, as pointed out by Andrew. Just to make sure, I'm going to check
it now on my 770 I left *OFF* yesterday with still a few battery and...
surprise, it's wake and ready to go, but the battery has reached level 0,
so I must go for a charge and wait for using it :(

Question: due to this problem, I have to recharge the battery more than
required, because sometimes I can leave it off for days and then, when I'm
approaching to work on it, I find it on and with few battery power. So: is
it possible to use the device in charge mode? Is it wise? Can I work on it
with the power cord *always* in the outlet? (and I take it off when not
using it... which is, the opposite of how it should be ;)

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


Re: [maemo-users] Problem: automatic boot from off state

2006-09-26 Thread Amit Kucheria
On Tue, 2006-09-26 at 09:41 +0100, ext Andrew Flegg wrote:
 On 9/26/06, Amit Kucheria [EMAIL PROTECTED] wrote:
  On Sat, 2006-09-23 at 13:13 +0200, ext Antonio Orlando wrote:
 
   When I have the device turned off (not stand-by, really off), often
   removing the cover I find it already booted, so it just recovers from
   the stand-by condition and is ready to be used.
 [snip]
 
  Do you have any alarms configured? That can wakeup the device from OFF
  mode.
 
 I'm sure I've seen this mentioned before, and I've certainly had it
 and I've never used the alarms provided in 2006 OS (mainly because I
 can't trust my 770 to have not run itself down at any particular
 point).

Has anybody figured out a reproducible way to trigger this behaviour?

Does it happen with stock OS2006? Installing certain applications? Using
certain programs?

Regards,
Amit
-- 
Amit Kucheria [EMAIL PROTECTED]
Nokia
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Problem: automatic boot from off state

2006-09-26 Thread Antonio Orlando

Yes it is OK to use the device when it is charging.


Good.


But more details are needed to debug the problem.


Sure, I'll help as much as possible.


- Could you share with us the version of software you are running.
(Control Panel - Device - About Product).


Internet Tablet OS 2006 edition
Version: 1.2006.26-8

(the official OS2006 firmware)


- Have you installed any 3rd-party applications? (Application Manager -
Show installed applications)


Yes of course. Here it is the complete list as shown in the Application  
manager:


btaudit 0.1-1
btscanner 2.1-2.1
gizmo-project 1.0.0.34
kismet 2006.04.R1-1.1.2006.08.30dev
leafpad 0.8.9-2indt1
libncurses5 5.4-4
midnightcommander 4.6.1
minimo 0.16.5-2
ncurses-base 0.16.5-2
oboe-home 1.0
osso-xterm 0.13
python2.4-runtime 0.2-1
sobexsrv 1.0.0pre4-1
themes-12pt 0.1-2
xournal 0.3.1-indt3

They all work fine.
Moreover, I installed dropbear, but I've removed it and installed OpenSSH  
(which can't be seen from the Application manager), working fine too. No  
other apps I've installed/uninstalled, as far as I can remember.



- How do you switch OFF the device?


I push the on/off hardware button on the up side of the device, see the  
Device mode window asking what to do, select Switch off! and press the  
OK button.



- Can you install xterminal and send us the output of /proc/bootreason?


I've tried to type /proc/bootreason in the terminal, both as user and  
as root, but it says:


/bin/sh: /proc/bootreason: Permission denied

Hope this is normal. By the way, I've read the content of the file  
/proc/bootreason through SCP, and it is just the line:


pwr_key

(a blank line following)
But, this time I had turned it on the normal way, i.e. it was off and  
I've manually turned it on. I'll let you know the content of the file when  
the problem occurs and I can use it without manually turning it on after  
having switched it off.


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


Re: [maemo-users] Problem: automatic boot from off state

2006-09-26 Thread Igor Stoppa
On Tue, 2006-09-26 at 16:22 +0200, ext Antonio Orlando wrote:
  Yes it is OK to use the device when it is charging.
 
 Good.
 
  But more details are needed to debug the problem.
 
 Sure, I'll help as much as possible.
 
  - Could you share with us the version of software you are running.
  (Control Panel - Device - About Product).
 
 Internet Tablet OS 2006 edition
 Version: 1.2006.26-8
 
 (the official OS2006 firmware)
 
  - Have you installed any 3rd-party applications? (Application Manager -
  Show installed applications)
 
 Yes of course. Here it is the complete list as shown in the Application  
 manager:
 
 btaudit 0.1-1
 btscanner 2.1-2.1
 gizmo-project 1.0.0.34
 kismet 2006.04.R1-1.1.2006.08.30dev
 leafpad 0.8.9-2indt1
 libncurses5 5.4-4
 midnightcommander 4.6.1
 minimo 0.16.5-2
 ncurses-base 0.16.5-2
 oboe-home 1.0
 osso-xterm 0.13
 python2.4-runtime 0.2-1
 sobexsrv 1.0.0pre4-1
 themes-12pt 0.1-2
 xournal 0.3.1-indt3
 
 They all work fine.
 Moreover, I installed dropbear, but I've removed it and installed OpenSSH  
 (which can't be seen from the Application manager), working fine too. No  
 other apps I've installed/uninstalled, as far as I can remember.
 
  - How do you switch OFF the device?
 
 I push the on/off hardware button on the up side of the device, see the  
 Device mode window asking what to do, select Switch off! and press the  
 OK button.
 
  - Can you install xterminal and send us the output of /proc/bootreason?
 
 I've tried to type /proc/bootreason in the terminal, both as user and  
 as root, but it says:
 
 /bin/sh: /proc/bootreason: Permission denied
 
how did you get root?

you could try with
ssh [EMAIL PROTECTED]

 Hope this is normal. By the way, I've read the content of the file  
 /proc/bootreason through SCP, and it is just the line:
 
 pwr_key
 
 (a blank line following)
 But, this time I had turned it on the normal way, i.e. it was off and  
 I've manually turned it on. I'll let you know the content of the file when  
 the problem occurs and I can use it without manually turning it on after  
 having switched it off.
 
-- 
Cheers,
   Igor

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


[maemo-users] Problem: automatic boot from off state

2006-09-23 Thread Antonio Orlando
I've a kind of weird problem, well it's weird because I can't figure out  
why it happens but maybe some of you can explain and tell me which  
eventual option I have to change somewhere in the OS in order to avoid the  
following behaviour (it happened with IT2005, and it happens with IT2006  
too):


When I have the device turned off (not stand-by, really off), often  
removing the cover I find it already booted, so it just recovers from the  
stand-by condition and is ready to be used. It does not happen every time,  
but yes it happens very often. Sometimes I've also caught it while  
rebooting, i.e. I have it turned off with cover on, untouched on my desk,  
and suddenly I hear the OS welcome sound, in fact removing the cover it's  
on and ready to go. How can this be avoided? Is this a filed problem? Is  
there a setting to adjust, perhaps under the clock section? I'd like to  
avoid wasting the battery when I know I'll not use the n770 for a long  
amount of time. Thanks,


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