Re: [maemo-developers] Maemo 2.0 device reboot
On 10/24/06, Martin Grimme <[EMAIL PROTECTED]> wrote: Hi,Am Mon, 23 Oct 2006 12:20:36 -0400schrieb "Michael Wiktowy" <[EMAIL PROTECTED]>:> Applications running: ... > maemo-bt-plugin...I notice that you're running the maemo-bt-plugin. I'm not sure whether this is really the cause of the crash, but I have experiencedthese strange reboots some time ago as well. They went away afterI removed the maemo-bt-plugin. It happened with both, the OS 2005and OS 2006 versions, and always went away after removing the bt-plugin. It would be interesting to hear if other people who experience thesereboots also have the maemo-bt-plugin running, or maybe other 3rd partyplugins.I loaded it temporarily just recently to help troubleshoot a GPS parsing problem with mapper. I have never experienced spontaneous idle reboots in the past so that might be the culprit. I have no use for it now so I might as well remove it. Thanks,/Mike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
On Tue, Oct 24, 2006 at 10:34:33AM +0200, Martin Grimme wrote: > I notice that you're running the maemo-bt-plugin. I'm not sure > whether this is really the cause of the crash, but I have experienced > these strange reboots some time ago as well. They went away after > I removed the maemo-bt-plugin. It happened with both, the OS 2005 > and OS 2006 versions, and always went away after removing the bt-plugin. > > It would be interesting to hear if other people who experience these > reboots also have the maemo-bt-plugin running, or maybe other 3rd party > plugins. I have seen random reboots (attributed to maemo_af_desktop) when I had the osso-statusbar-cpu plugin running. I have also seen random reboots when I had load-applet and panel-clock plugins running. I've never had maemo-bt-plugin. I've also had some reboots attributed to icd, and a few attributed to the software watchdog (32_wd in /proc/bootreason as opposed to sw_rst). I've seen strange segfaults of cmdline application in xterm that go away when I retry the same command line. Sometimes I suspect it might be a hardware problem (bad RAM?). Marius Gedminas -- Go not unto the Usenet for advice, for you will be told both yea and nay (and quite a few things that just have nothing at all to do with the question). signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
Hi, Am Mon, 23 Oct 2006 12:20:36 -0400 schrieb "Michael Wiktowy" <[EMAIL PROTECTED]>: > Applications running: > on top of the default stuff that starts up > xterm > parkwifi > maemo-bt-plugin > sshd I notice that you're running the maemo-bt-plugin. I'm not sure whether this is really the cause of the crash, but I have experienced these strange reboots some time ago as well. They went away after I removed the maemo-bt-plugin. It happened with both, the OS 2005 and OS 2006 versions, and always went away after removing the bt-plugin. It would be interesting to hear if other people who experience these reboots also have the maemo-bt-plugin running, or maybe other 3rd party plugins. Martin Grimme ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
On 10/18/06, Amit Kucheria <[EMAIL PROTECTED]> wrote: On Wed, 2006-10-18 at 13:00 +0300, ext Marius Gedminas wrote:> On Tue, Oct 17, 2006 at 11:50:03AM +0200, Malix wrote:> > Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770> > reboot. This happen some times when I'm using the browser and every > > time I try to use Gizmo. For now I never had problem with other> > programs. You think this is a software problem or hardware?>> My 770 reboots once every two--three days. I think it's a software > problem. I could be wrong.As mentioned in the following link, please file bugs against the errantapplications.http://maemo.org/maemowiki/ReportingRebootIssues?action="" I remember in your case it was FBReader - report it to them.I just had the mysterious idle spontanous reboot for the first time (that I've noticed).I looked at the various files in the ReportingRebootIssues above and the following is what my condition is: Output of /proc/bootreason: 32wd_toOutput of /var/lib/dsme/stats/lifeguard_resets:/usr/bin/maemo_af_desktop : 18 */usr/sbin/dsp_dld -p --disable-restart -c /lib/dsp/dsp_dld_avs.conf : 1 /usr/bin/osso-connectivity-ui-conndlgs : 1 Applications running:on top of the default stuff that starts up xtermparkwifimaemo-bt-pluginsshdState of device:On, idle for a few minutes after using xterm, cover was on. It was sitting on my desk and heard the Nokia-hands chime. No wireless AP connectivity in my area although there are some in the area that I have no access to. R&D mode and lifeguard restart is disabled still after fixing my stuck rebooting issue (as is indicated by the 18 restarts of maemo_af_desktop :]).Is there an official maemo bugzilla bug that I can feed this info into? /Mike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
2006/10/19, Marius Gedminas <[EMAIL PROTECTED]>: > On Thu, Oct 19, 2006 at 03:48:54PM +0300, Eero Tamminen wrote:>> Hi, ext Marius Gedminas wrote:>> >>> My 770 reboots once every two--three days. I think it's a software >> >>> problem. I could be wrong.>> >> As mentioned in the following link, please file bugs against the errant>> >> applications.>> >> http://maemo.org/maemowiki/ReportingRebootIssues?action="">>> >> I remember in your case it was FBReader - report it to them.>> >>> > /var/lib/dsme/lifeguard-resets claims it is maemo_af_desktop's fault. Were there several reboots accounted for the Desktop process?>>There were 44 reboots accounted for maemo_af_desktop, last time I checked.>>> Btw. there are several reasons why Desktop might die: >> - It's buggy :-)>>I suppose it could also be a buggy plugin?>>> - Something in the device is forcing it to run completely out of memory>>Nah, I have 64 megs of swap, and load-applet never shows more than 1 out >of 4 squares full when these crashes happen.>>One day I'll disable lifeguard resets, wait for a crash, and then ssh>into the device and ... uh ... actually I've no idea what to do then.>Can I enable core files? Is there a gdb package for armel? >>Marius Gedminas>-->A real friend isn't someone you use once and then throw away.>A real friend is someone you can use over and over again.I upgrade Gizmo to version 1.1.0.40 and for now it never crash. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
On Thu, Oct 19, 2006 at 03:48:54PM +0300, Eero Tamminen wrote: > Hi, > > ext Marius Gedminas wrote: > >>> My 770 reboots once every two--three days. I think it's a software > >>> problem. I could be wrong. > >> As mentioned in the following link, please file bugs against the errant > >> applications. > >> http://maemo.org/maemowiki/ReportingRebootIssues?action=show > >> > >> I remember in your case it was FBReader - report it to them. > > > > /var/lib/dsme/lifeguard-resets claims it is maemo_af_desktop's fault. > > Were there several reboots accounted for the Desktop process? There were 44 reboots accounted for maemo_af_desktop, last time I checked. > Btw. there are several reasons why Desktop might die: > - It's buggy :-) I suppose it could also be a buggy plugin? > - Something in the device is forcing it to run completely out of memory Nah, I have 64 megs of swap, and load-applet never shows more than 1 out of 4 squares full when these crashes happen. One day I'll disable lifeguard resets, wait for a crash, and then ssh into the device and ... uh ... actually I've no idea what to do then. Can I enable core files? Is there a gdb package for armel? Marius Gedminas -- A real friend isn't someone you use once and then throw away. A real friend is someone you can use over and over again. signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
2006/10/19, Eero Tamminen <[EMAIL PROTECTED]>: Hi,ext Marius Gedminas wrote: Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770 reboot. This happen some times when I'm using the browser and every time I try to use Gizmo. For now I never had problem with other programs. You think this is a software problem or hardware?>>> My 770 reboots once every two--three days. I think it's a software>>> problem. I could be wrong.>> As mentioned in the following link, please file bugs against the errant >> applications.>> http://maemo.org/maemowiki/ReportingRebootIssues?action=""> I remember in your case it was FBReader - report it to them. >> /var/lib/dsme/lifeguard-resets claims it is maemo_af_desktop's fault.Were there several reboots accounted for the Desktop process?Btw. there are several reasons why Desktop might die:- It's buggy :-) - Something in the device is forcing it to run completely out of memory (and if alloc fails, Glib will abort the co. process), e.g. because that something is leaking memory or otherwise using a lot of memory without integrating itself to the device memory management: - If possible, app should implement support for the "background killing"i.e. save UI state when backgrounded and then indicate[1] that it's killable when the device runs out of memory:https://stage.maemo.org/svn/maemo/projects/haf/doc/api/hildon-libs/hildon-libs-HildonProgram.html#hildon-program-set-can-hibernate http://www.maemo.org/platform/docs/api/libosso/html/group__Statesave.html http://www.maemo.org/platform/docs/api/libosso/html/group__Autosave.htmlWhen foregrounded, I think app should then remove the state andwhen being re-started, it should check whether there was someUI-state. If there was, restore the UI-state (instead of going to the default application state). If you strace the device apps,you see that UI state is stored under /tmp/osso-appl-states/ whichis on tmpfs i.e. goes away at reboot - It could use the libosso osso_mem_saw_enable & osso_mem_saw_disable http://maemo.org/lxr/source/libosso/src/osso-mem.h#110functions around operations that:- could potentially take a lot of memory (loading large image etc) - handle allocation failures gracefully (not abort/assert) - If app caches things or otherwise has some "optional" memoryusage, it could also listen to the system low memory notifications so that it can purge from RAM all of its caches when that happens:http://www.maemo.org/platform/docs/api/libosso/html/group__Devstate.html http://www.maemo.org/platform/docs/api/libosso/html/group__outside.html#g231284109a21410088850beed324ea57 If the device runs _completely_ out of memory, I don't think the kernelout-of-memory killer knows which process user would prefer to be killedto get more memory :-).Some more info on kernel OOM-killer: http://linux-mm.org/OOM_Killerhttp://lwn.net/Articles/104179/[1] You can check whether app is "background-killable" by: - using "xwininfo|grep Window id" and tapping to the application window,- topping another window, and then- doing "xprop -id | grep KILL"If you see the hibernate property set for the app, it is "background killable".> FBReader just happens to be the application I use most often.>> I haven't reported it in Bugzilla yet, because I do not have a way to> reproduce the problem (other than "try to use the device for a few > days"), and also because it is not that irritating -- the device boots> pretty fast, and the progress bar is kinda nice. :) - Eero___maemo-developers mailing list maemo-developers@maemo.orghttps://maemo.org/mailman/listinfo/maemo-developers Thanks to everyone for suggestions. I will report any information I can collect , following those instructions http://maemo.org/maemowiki/ReportingRebootIssues?action="" , in the hope that those can help to fix bugs. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
Hi, ext Marius Gedminas wrote: Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770 reboot. This happen some times when I'm using the browser and every time I try to use Gizmo. For now I never had problem with other programs. You think this is a software problem or hardware? >>> My 770 reboots once every two--three days. I think it's a software >>> problem. I could be wrong. >> As mentioned in the following link, please file bugs against the errant >> applications. >> http://maemo.org/maemowiki/ReportingRebootIssues?action=show >> >> I remember in your case it was FBReader - report it to them. > > /var/lib/dsme/lifeguard-resets claims it is maemo_af_desktop's fault. Were there several reboots accounted for the Desktop process? Btw. there are several reasons why Desktop might die: - It's buggy :-) - Something in the device is forcing it to run completely out of memory (and if alloc fails, Glib will abort the co. process), e.g. because that something is leaking memory or otherwise using a lot of memory without integrating itself to the device memory management: - If possible, app should implement support for the "background killing" i.e. save UI state when backgrounded and then indicate[1] that it's killable when the device runs out of memory: https://stage.maemo.org/svn/maemo/projects/haf/doc/api/hildon-libs/hildon-libs-HildonProgram.html#hildon-program-set-can-hibernate http://www.maemo.org/platform/docs/api/libosso/html/group__Statesave.html http://www.maemo.org/platform/docs/api/libosso/html/group__Autosave.html When foregrounded, I think app should then remove the state and when being re-started, it should check whether there was some UI-state. If there was, restore the UI-state (instead of going to the default application state). If you strace the device apps, you see that UI state is stored under /tmp/osso-appl-states/ which is on tmpfs i.e. goes away at reboot - It could use the libosso osso_mem_saw_enable & osso_mem_saw_disable http://maemo.org/lxr/source/libosso/src/osso-mem.h#110 functions around operations that: - could potentially take a lot of memory (loading large image etc) - handle allocation failures gracefully (not abort/assert) - If app caches things or otherwise has some "optional" memory usage, it could also listen to the system low memory notifications so that it can purge from RAM all of its caches when that happens: http://www.maemo.org/platform/docs/api/libosso/html/group__Devstate.html http://www.maemo.org/platform/docs/api/libosso/html/group__outside.html#g231284109a21410088850beed324ea57 If the device runs _completely_ out of memory, I don't think the kernel out-of-memory killer knows which process user would prefer to be killed to get more memory :-). Some more info on kernel OOM-killer: http://linux-mm.org/OOM_Killer http://lwn.net/Articles/104179/ [1] You can check whether app is "background-killable" by: - using "xwininfo|grep Window id" and tapping to the application window, - topping another window, and then - doing "xprop -id | grep KILL" If you see the hibernate property set for the app, it is "background killable". > FBReader just happens to be the application I use most often. > > I haven't reported it in Bugzilla yet, because I do not have a way to > reproduce the problem (other than "try to use the device for a few > days"), and also because it is not that irritating -- the device boots > pretty fast, and the progress bar is kinda nice. :) - Eero ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
On Wednesday 18 October 2006 15:58, Amit Kucheria wrote: > On Wed, 2006-10-18 at 13:00 +0300, ext Marius Gedminas wrote: > > On Tue, Oct 17, 2006 at 11:50:03AM +0200, Malix wrote: > > > Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770 > > > reboot. This happen some times when I'm using the browser and every > > > time I try to use Gizmo. For now I never had problem with other > > > programs. You think this is a software problem or hardware? > > > > My 770 reboots once every two--three days. I think it's a software > > problem. I could be wrong. > > As mentioned in the following link, please file bugs against the errant > applications. > http://maemo.org/maemowiki/ReportingRebootIssues?action=show > > I remember in your case it was FBReader - report it to them. Well, user mode applications not running as root are not supposed to crash the whole system and cause it to reboot. Still this instability and reboots issue seems like a problem with some core component of the system or even the kernel. Maybe something like: https://maemo.org/bugzilla/show_bug.cgi?id=677 Could anybody who still has maemo 1.x sdk installed and can recompile memtester for i, check if the problem is reproducible with memtester in IT2005? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
On Wednesday 18 October 2006 16:26, Mike Frantzen wrote: > > On Tue, Oct 17, 2006 at 11:50:03AM +0200, Malix wrote: > > > Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770 > > > reboot. This happen some times when I'm using the browser and every > > > time I try to use Gizmo. For now I never had problem with other > > > programs. You think this is a software problem or hardware? > > > > My 770 reboots once every two--three days. I think it's a software > > problem. I could be wrong. > > I think it's a DSP problem when the microphone is enabled. When writing > some audio programs using GStreamer the DSP will eventually start > sending back error codes, stop working, and eventually cause the whole > n770 to reboot. I had to do a lot of trial-and-error playing with how > the GStreamer dsmpcmsrc pipelines are built and re-used to cut down the > frequency of the problems. Never could get it completely reliable > though. Once the DSP is wedged you have to reboot (if it hasn't > spontaneously rebooted already). I can confirm Nokia 770 GStreamer implementation problems. It is used in MPlayer (in not a very clean way, but that's another story) in order to get mp3 audio decoded by DSP and reduce load on ARM core. I also observed system instability supposedly caused by starting/stopping audio playback: http://maemo.org/pipermail/maemo-developers/2006-August/005232.html Also most likely GStreamer is responsible for MPlayer lockups when trying to play relatively long flv files as observed here: http://www.internettablettalk.com/forums/showpost.php?p=22855&postcount=207 I know that IT2006 just switched to a new version of GStremer, and bugs can be expected. So I'm anticipating a bugfix release to check if some of the problems got fixed ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
On Wed, Oct 18, 2006 at 03:58:50PM +0300, Amit Kucheria wrote: > On Wed, 2006-10-18 at 13:00 +0300, ext Marius Gedminas wrote: > > On Tue, Oct 17, 2006 at 11:50:03AM +0200, Malix wrote: > > > Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770 > > > reboot. This happen some times when I'm using the browser and every > > > time I try to use Gizmo. For now I never had problem with other > > > programs. You think this is a software problem or hardware? > > > > My 770 reboots once every two--three days. I think it's a software > > problem. I could be wrong. > > As mentioned in the following link, please file bugs against the errant > applications. > http://maemo.org/maemowiki/ReportingRebootIssues?action=show > > I remember in your case it was FBReader - report it to them. /var/lib/dsme/lifeguard-resets claims it is maemo_af_desktop's fault. FBReader just happens to be the application I use most often. I haven't reported it in Bugzilla yet, because I do not have a way to reproduce the problem (other than "try to use the device for a few days"), and also because it is not that irritating -- the device boots pretty fast, and the progress bar is kinda nice. :) Marius Gedminas -- Writing setattr hooks properly is a black art. Writing persistent setattr hooks is more like hearding bees blindfolded... -- Casey Duncan signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
> On Tue, Oct 17, 2006 at 11:50:03AM +0200, Malix wrote: > > Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770 > > reboot. This happen some times when I'm using the browser and every > > time I try to use Gizmo. For now I never had problem with other > > programs. You think this is a software problem or hardware? > My 770 reboots once every two--three days. I think it's a software > problem. I could be wrong. I think it's a DSP problem when the microphone is enabled. When writing some audio programs using GStreamer the DSP will eventually start sending back error codes, stop working, and eventually cause the whole n770 to reboot. I had to do a lot of trial-and-error playing with how the GStreamer dsmpcmsrc pipelines are built and re-used to cut down the frequency of the problems. Never could get it completely reliable though. Once the DSP is wedged you have to reboot (if it hasn't spontaneously rebooted already). .mike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
On Wed, 2006-10-18 at 13:00 +0300, ext Marius Gedminas wrote: > On Tue, Oct 17, 2006 at 11:50:03AM +0200, Malix wrote: > > Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770 > > reboot. This happen some times when I'm using the browser and every > > time I try to use Gizmo. For now I never had problem with other > > programs. You think this is a software problem or hardware? > > My 770 reboots once every two--three days. I think it's a software > problem. I could be wrong. As mentioned in the following link, please file bugs against the errant applications. http://maemo.org/maemowiki/ReportingRebootIssues?action=show I remember in your case it was FBReader - report it to them. Cheers, Amit -- Amit Kucheria <[EMAIL PROTECTED]> Nokia ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo 2.0 device reboot
On Tue, Oct 17, 2006 at 11:50:03AM +0200, Malix wrote: > Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770 > reboot. This happen some times when I'm using the browser and every > time I try to use Gizmo. For now I never had problem with other > programs. You think this is a software problem or hardware? My 770 reboots once every two--three days. I think it's a software problem. I could be wrong. Marius Gedminas -- PCMCIA - People Can't Memorize Computer Industry Acronyms signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Maemo 2.0 device reboot
Hi, after upgrade to maemo 2.0 I have a problem. Some times my 770 reboot. This happen some times when I'm using the browser and every time I try to use Gizmo. For now I never had problem with other programs. You think this is a software problem or hardware? Thanks Malix. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers