maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [SOLVED] How to find out an unexpected reboot reason? (https://talk.maemo.org/showthread.php?t=77380)

int_ua 2011-09-20 20:14

[SOLVED] How to find out an unexpected reboot reason?
 
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.

AFAIK, there is a watchdog that reboots device if it becomes too unresponsible. Does it leave any logs?

andreas.k 2011-09-20 20:18

Re: How to find out reboot reason?
 
Quote:

Originally Posted by int_ua (Post 1092805)
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?

open x terminal and type
sudo gainroot
cat /proc/bootreason

Alfred 2011-09-20 20:37

Re: How to find out reboot reason?
 
and what is
32wd_to
?

andreas.k 2011-09-20 20:42

Re: How to find out reboot reason?
 
its a reboot reason directly connected to strict power management. Do you have smart reflex enabled?Maybe your device is not able to use smart reflex so it randomly reboots. Do you have power kernel enabled? did you install battery patch?

int_ua 2011-09-20 20:43

Re: How to find out reboot reason?
 
Thanks a lot. Mine is
Quote:

# cat /proc/bootreason
sw_rst
I assume it's something about 'software reset'. Which still leaves me with almost nothing, gone for wiki.

Alfred 2011-09-20 20:47

Re: How to find out reboot reason?
 
Yes i have all of this. Well, i'll look into wiki or google for further info. Thanks a lot!

Estel 2011-09-20 20:59

Re: How to find out reboot reason?
 
disable smartReflex, uninstall batterypath, and you're good to go. Otherwise, be ready to face wraith of filesystem corruption, which is apparently happening in your device even now ;)

int_ua 2011-09-20 21:04

Re: How to find out reboot reason?
 
I only have batterypatch (separate package for non-KP). But IIRC reboots happened before I installed it a few days ago. I also have swappolube with recommended settings.

int_ua 2011-09-20 21:11

Re: How to find out reboot reason?
 
Finally found (I've searched it before posting) another useful thread, reading it:
http://talk.maemo.org/showthread.php?t=52722

corduroysack 2011-09-20 22:07

Re: How to find out reboot reason?
 
good command to keep handy that. i got the boring pwr_key though i can't remember turning it off lol :D


All times are GMT. The time now is 20:15.

vBulletin® Version 3.8.8