[maemo-developers] Continuous reboot problem with the N770 hacker edition

From: Eero Tamminen eero.tamminen at nokia.com
Date: Fri Apr 27 14:31:32 EEST 2007

ext Daniel Stone wrote:
> On Fri, Apr 27, 2007 at 12:45:41PM +0300, Kimmo Hämäläinen wrote:
>> On Fri, 2007-04-27 at 12:36 +0300, ext Kimmo Hämäläinen wrote:
>>> I don't see any big remaining problem here...
>> Hey, now I remember what was the issue here! The problem was that if we
>> restart stuff for crashed X server, then we cannot use dsmetool anymore
>> to e.g. restart sapwood if it crashed (which is what happens now). So,
>> we would need to lose these individual restarting magic (for clipboard,
>> sapwood, matchbox, osso-connectivity-ui, hildon-input-methods, and
>> hildon-desktop) in favor of the X server. That is, if you want to
>> restart these processes after the X server crashed, it's possible, but
>> then we would never know if clipboard, sapwood, matchbox, osso-
>> connectivity-ui, HIM, or hildon-desktop crashed. The solution could be
>> extending DSME's magical capabilities to support "groups" of processes
>> that would all be restarted if something happens (X server crashes).
> Wasn't there a patch for this back in April or something?  Anyway, I
> don't see why it's not possible to do both: when the process crashes,
> restart it, but when the X server crashes, restart the X server, give
> it a couple of seconds, then restart all the desktop processes.  Indeed,
> this arguably happens automatically.  They die when they lose the
> connection to the display, so when the X server's gone, you don't
> restart them immediately; you put them on a queue and traverse the queue
> when the server's accepting connections again.
> Unless I'm missing something?

Something that restarts these things and knows when X server and D-BUS
have crashed so that it knows to to wait until they are up again before
trying to restart the clients?

Has the Ubuntu upstart & init script modifications proceeded along
enough that they actually (could) do something like this?

	- Eero

More information about the maemo-developers mailing list