maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Call for saner Watchdog config to make reboot loops history (CSSU enhancement?) (https://talk.maemo.org/showthread.php?t=72647)

Xagoln 2011-04-30 08:20

Call for saner Watchdog config to make reboot loops history (CSSU enhancement?)
 
I wanted to free up memory, and foolishly renamed /usr/sbin/browserd so that it would not respawn when I killall'ed it.

I am aware that MicroB is used for the Conversations applet and probably other things.

This of course had the effect of causing the phone to reboot. And on each reboot, soon after displaying the desktop, the Watchdog would notice browserd's absence and reboot the phone.

I had to reflash and lost the better part of a day getting everything set up again.

A sane configuration of the Watchdog would at least launch an Xterm, as the fix in my case would have taken a mere 5 seconds. Also, I am genuinely interested in Modest, Browser/d and possibly other daemons not running except when I want them to.

I have seen other threads here at TMO re people wishing to tweak Watchdog, but nothing conclusive.

geekgirl74 2011-04-30 09:30

Re: Call for saner Watchdog config to make reboot loops history (CSSU enhancement?)
 
How to fix reboot loop without re-flashing:
./flasher-3.5 --enable-rd-mode --set-rd-flags=no-lifeguard-reset

restart, fix your problem, afterwards disable rd-mode:
./flasher-3.5 --disable-rd-mode

Sorry to read, that you lost your time unnecessarily...

Xagoln 2011-05-01 04:29

Re: Call for saner Watchdog config to make reboot loops history (CSSU enhancement?)
 
Thanks, geekgirl, I'll remember that for next time.

From what I've read, disabling Watchdog is not suitable for normal usage. So if I wanted to run without browserd and friends, some tweaking/hacking is still required.

It'd be nice to have a way of fixing reboot loops when no computer/data cable is handy, too.

hawaii 2011-05-01 04:37

Re: Call for saner Watchdog config to make reboot loops history (CSSU enhancement?)
 
I have multiple devices running without watchdogs. They are closed source and most definitely, are annoying. Disable them and don't look back.

Since your first quandry was wanting to disable browserd, might I suggest you grab browser-switchboard and set it to a different browser to disable the engine preloading.

Mike Fila 2011-05-01 05:32

Re: Call for saner Watchdog config to make reboot loops history (CSSU enhancement?)
 
Quote:

Originally Posted by geekgirl74 (Post 997749)
How to fix reboot loop without re-flashing:
./flasher-3.5 --enable-rd-mode --set-rd-flags=no-lifeguard-reset

restart, fix your problem, afterwards disable rd-mode:
./flasher-3.5 --disable-rd-mode

quick note above does not work with windows, only with a mac or linux

shadowjk 2011-05-03 02:35

Re: Call for saner Watchdog config to make reboot loops history (CSSU enhancement?)
 
Watchdogs are pieces of hardware that physically reset the device if software stops responding, which usually is due to a hw error or serious os error.

Lifeguard reset is performed by dsme (which is open source) when a software crashes.

Xagoln 2011-05-03 03:27

Re: Call for saner Watchdog config to make reboot loops history (CSSU enhancement?)
 
I investigated dsme a little before I renamed browserd, but I wasn't able to see any config file with daemons to monitor. I will delve into it a bit further.

Thanks.


All times are GMT. The time now is 23:53.

vBulletin® Version 3.8.8