Skip to contentSkip to conversation

OT: Re: System reboot triggered by just reading a device file....!?

DISCUSSION [email protected] 1 participant 1 message Nov 23, 2007

lore
Share & tools
lore
#0 lore raw

Hi Clemens,

Quoted 4 lines

Hi, Roland!

Please don't top-post.

sorry!

Quoted 9 lines
Quoted 2 lines
Quoted 1 line

[was: it would be easy to disable the kernel watchdog]

thanks, but i know i could do this.

Good. I was also curious and just checked again. The watchdog subsystem is by default _disabled_ in the kernel configuration. If you use some distro's kernel, where they turned it on, complain to them! If you turned it on yourself, you are really on your own... the Kconfig help there is IMO sufficient and very clear and, "If unsure, say N". Hmm... sorry?!

whoops - sorry for that. i should have checked that, but i think i just didn`t expect some distro vendor to change that default. sure i will complain to suse now. stopping getting on your nerves here, now.

Quoted 7 lines
Quoted 2 lines

this thread is not meant to protect myself from this curiousity but it is meant to protect others. it`s a trap.

I guess I understand your position. But I don't see no way to improve the kernel in that point.
Complain to the guys who enabled the watchdog / setup this trap for any reason.

sure. you`re completely right.

Quoted 8 lines
Quoted 6 lines

i stepped into that.
now i know that trap, so i can easily sidestep.
it maybe very seldom that someone steps into this.
but it may happen and then someone will have trouble and spend time on this. i think every admin can tell you about weird random reboots of his systems which he cannot explain what was the reason for it.

That's one possible way of "learning by doing suicide (tm);"

:)

Quoted 6 lines
Quoted 2 lines

this maybe some of those reasons and this one could be avoided. im thinking of something simple like echo "now youre armed" > /dev/watchdog

Read some details about watchdogs to get more background and why the watchdog is triggered so easily and why it's good this way. i.e: http://www.ganssle.com/watchdogs.pdf

thanks for your help and for that very useful link. that`s the very best stuff i every read about watchdogs!

regards
Roland

__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! Mehr Infos unter http://produkte.web.de/club/?mc=021131