Reply
Thread Tools
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#11
 
Banned | Posts: 706 | Thanked: 296 times | Joined on May 2010
#12
Originally Posted by int_ua View Post
My N900 rebooted several times while in sleep during last weeks. It was well charged, nothing heavy was running. The only one similarity I can assume is that there was pages in microb that stayed open for many hours, maybe a day.

AFAIN, there is a watchdog that reboots device if it becomes too unresponsible. Does it leave any logs?
Get an iphone. It simply works.
 
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#13
Originally Posted by BigBadGuber! View Post
Get an iphone. It simply works.
Besides the obvious trollishness it's an offtopic too
You are welcome to PM if you really want to talk about N900's pros and IPhone cons.

Last edited by int_ua; 2011-09-20 at 23:41.
 
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#14
Here is the script I used now and will use if the reboot happens again:
(Notice: it needs root privileges and leaves files in /dev/shm/debug_script/)
Code:
# cat debug_n900_reboots.sh
#!/bin/sh
debug_dir="$(pwd)"
dt=$(date +%Y%m%d_%H%M)
mkdir -p /dev/shm/debug_script/$dt
cd /dev/shm/debug_script/$dt
cat /proc/bootreason > "$(pwd)/bootreason"
cat /dev/mtd2 > "$(pwd)/mtd2"
dmesg > "$(pwd)/dmesg"
cp -r /var/lib/dsme/stats "$(pwd)"
cd "$debug_dir"
tar -cjf "$debug_dir/$dt.tar.bz2" /dev/shm/debug_script/$dt
ls -lh $dt.tar.bz2
And then I'll compare the results with meld.
What I expect is to find one counter increased in the /var/lib/dsme/stats/*

Last edited by int_ua; 2011-09-20 at 23:16.
 

The Following User Says Thank You to int_ua For This Useful Post:
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#15
Originally Posted by BigBadGuber! View Post
Get an iphone. It simply works.
Get a life! It might work better.
 

The Following 2 Users Say Thank You to kureyon For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#16
I've found a proper way to troubleshoot it:
1. Enable Tools repository:
http://wiki.maemo.org/Documentation/...5#Installation
2. install sp-rich-core (optional: sp-rich-core-postproc)
3. Check that you have core-dumps folder in ~/MyDocs or on SD card (the last one is preferred by dumper when it's available).

And now I have three dumps but with completely different (from my pooint of view) reasons. I'm not sure which process is the last crashed for the first dump, but second is perl and third is dbus-send.
 

The Following User Says Thank You to int_ua For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 07:56.