[maemo-users] [maemo-users] Random reboots

From: Eero Tamminen eero.tamminen at nokia.com
Date: Tue Feb 13 11:02:49 EET 2007

ext James Sparenberg wrote:
> On Monday 12 February 2007 09:51:17 Andrew Flegg wrote:
>> On 2/12/07, Sergey Udaltsov <sergey.udaltsov at gmail.com> wrote:
>>>>> /usr/sbin/dsp_dld -p --disable-restart -c /lib/dsp/dsp_dld_avs.conf :
>>>>> 1 *
>> [snip]
>>> It loolks like a bit odd solution - reboot the device if one command
>>> restarts too many times. It is linux after all;)
>> It makes sense from a consumer point of view: if something's
>> repeatedly dying in user space which is critical to the end-user
>> experience, reboot.
> Not really as this could cause critical loss of data, or other corruption.  
> Besides this is Linux a reboot is not the answer, a reboot resets the kernel 
> not just user space.  Since this is a user space flaw, it should be addressed 
> with user space 'repairs' IMHO.  

dsp_dld restarts fail because there's a (DSP related) issue on
the kernel side.  It shouldn't (couldn't?) cause data loss, but
in that case reboot is the only way to recover one of the main uses
(sounds/music/videos) for the device...

>> Personally, I'd prefer a confirmation first "A critical process
>> [dsp_dld] has failed. It is recommended you restart your Internet
>> Tablet. <Restart> <Continue>", and we've seen from the reboot loops
>> with broken RSS handling that it needs some sanity to prevent infinite
>> reboots and returns.
> This, I agree, would at least would give the user the chance to save data from 
> open processes and then restart at a convenient moment in time.  Also it 
> would assist the developers in that if everyone and his sister is seeing the 
> same cause of this message the noise pointing out the culprit would focus 
> their attention on the right cause rather than causing the frustration of not 
> knowing where to start.  

There are many services in the device which death would prevent user
from doing about anything with the device UI:
- X server
- Window manager and Desktop (to switch to apps)
- sapwood server (needed by sapwood theme engine)

The lifeguard service doesn't know which of these services are crucial
for the user (or the 3rd party applications user uses).  Developers can
disable the automatic reboots with flasher, but this enables also R&D
mode which has some other effects.

>>> Anyway, I am still puzzled - why would idle and charging n800 make
>>> dsp_dld restart many times...
>> It's a known bug:
>>     https://maemo.org/bugzilla/show_bug.cgi?id=976
>> Or, rather, a series of bugs - apparently. I suggest you vote on it so
>> Nokia can get an update out quickly.

	- Eero

More information about the maemo-users mailing list