[maemo-developers] debugging spontaneous reboot issues with N800/N810

From: Aleksandr Koltsoff czr at iki.fi
Date: Thu Nov 22 00:00:41 EET 2007
Hello

I've now seen both of the subject devices rebooting spontaneously after
long times of inactivity (just sitting on the table).

I was pointed to http://maemo.org/community/wiki/reportingrebootissues/
, which seems like a good start, but doesn't explain enough. So, I have
some questions to fellow users/developers who might be able to fill in
the gaps.. (all info appreciated)

So, some stuff that I'm seeing (on a N800):

cat /proc/bootreason:
32wd_to

This means that the hw watchdog was triggered and caused the reboot.
That's cool.

ls -la /var/lib/dsme/stats/:
drwxr-xr-x 2 root root     0 Nov 21 21:33 .
drwxr-xr-x 3 root root     0 Aug 13 08:19 ..
-rw-r--r-- 1 root root     2 Nov 21 21:33 32wd_to
-rw-r--r-- 1 root root   120 Nov 13 15:26 lifeguard_restarts
-rw-r--r-- 1 root root     2 Nov 13 13:40 sw_rst

cat 32wd_to:
2
Question: Does this count the times that the hw-watchdog was triggered
so far (after last flash)?

cat sw_rst:
1
Question: Number of times "critical 'system' application crashing or
being killed by the kernel OOM-killer" happened? (quoted text from the
wiki page)

cat lifeguard_restarts:
/usr/bin/esd : 1
/usr/sbin/multimediad  : 1
/usr/sbin/dsp_dld -p --disable-restart \
  -c /lib/dsp/dsp_dld_avs.conf : 1 *
(line continuation in the last one was made by me)
Question: Now this is the interesting part:
1) Am I correct to assume that each line records the name of the program
that was running when the hw watchdog triggered?
2) And the number after each records the times that the programs were
running when the watchdog tripped?
3) Asterisk marks the application that caused the last wd timeout
operation? (so in this case, the spontanous reboot was caused by dsp_dld
or it at least seems so?)

---

For reference, same info from N810, however, I've booted the device once
normally after the spontaneous reboot:

cat /proc/bootreason:
pwr_key

cat 32wd_to:
2

cat sw_rst:
1

cat lifeguard_restarts:
/usr/bin/hildon-input-method  : 1
/usr/sbin/ke-recv : 1 *

ak.

More information about the maemo-developers mailing list