Skip to contentSkip to conversation

more watchdog stuff

Xenomai-help Steven Seeger 2 participants 3 messages Dec 6, 2007

lore
Share & tools
lore
#0 lore raw

Can a Xenomai thread running in the secondary domain cause the watchdog timer to kill it? I've been working with Gilles's patch and am trying to wrap up our little watchdog program.

Also, how hard would it be to modify the watchdog system to give timing requirements in resolutions better of 1 second?

Steven

#1 lore raw
Quoted 6 lines · Steven Seeger

Can a Xenomai thread running in the secondary domain cause the watchdog timer to kill it?

No, this one will be caught by Linux soft-lockup detector.

Quoted 2 lines

Also, how hard would it be to modify the watchdog system to give timing requirements in resolutions better of 1 second?

I guess the resolution of 1 second was chosen because it allows the watchdog to have a very low overhead, but this can be changed easily.

Signature · 1 line
                                               Gilles Chanteperdrix
#2 lore raw

Thanks for the answers. For now, I think that one second is ok. We can't use the soft lockup detect either because it doesn't say anything.

Originally (before xenomai) what we did was have a low priority linux task ping a high priority hard realtime task (rtai) and then that would detect all lockups. However, we were only running one app at a time then. I think we may just have to live with what we have. :) I'm awaiting answers from the "boss".

Steven

Quoted 7 lines

-----Original Message-----
From: Gilles Chanteperdrix [mailto:[email protected]]
Sent: Thursday, December 06, 2007 9:49 AM
To: Steven Seeger
Cc: [email protected]
Subject: Re: [Xenomai-help] more watchdog stuff

Quoted 7 lines
Quoted 5 lines · Steven Seeger

Can a Xenomai thread running in the secondary domain cause the

watchdog

Quoted 5 lines
Quoted 1 line

timer to kill it?

No, this one will be caught by Linux soft-lockup detector.

Quoted 1 line

Also, how hard would it be to modify the watchdog system to give

timing

Quoted 7 lines
Quoted 1 line

requirements in resolutions better of 1 second?

I guess the resolution of 1 second was chosen because it allows the watchdog to have a very low overhead, but this can be changed easily.

--
Gilles Chanteperdrix