[maemo-developers] [maemo-developers] Reboot Cycle

From: Eero Tamminen eero.tamminen at movial.fi
Date: Mon Aug 14 15:33:14 EEST 2006

> Well, it was inevitable, I got myself into a reboot cycle. Using the
> no-lifeguard-reset flag seems to bring the system back to a very stable
> state, though, so I'm wondering if there's a list of programs that
> should be running that the lifeguard will watch for so I can debug what
> exactly is failing? 

The watchdog process is "dsme".  If you check it's PID with ps (here 828),
you can list which process have it as a parent with something like this:

for i in /proc/[1-9]*; do
  p=$(grep PPid $i/status|cut -d: -f2);
    if [ $p -eq $watchdog ]; then
      cat $i/cmdline; echo;

Because of maemo laucher, I use /proc/PID/cmdline for outputting
the watchdogged command name (maemo-launched binaries have the
launcher as the process name, 'cmdline' tells which "program"
is being "launched").

	- Eero

More information about the maemo-developers mailing list