Watchdog has bit
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 64
- Thank you received: 7
06 Jun 2019 14:03 #136050
by sharp_reaper
Watchdog has bit was created by sharp_reaper
Hello,
I am using a 7i96 ethernet board with debian 4.9 preempt rt the version of linuxcnc is 2.8.
When I start the program it sends an error message to run latency test. I´ve just do that over an hour opening programs that i usualy work and then I had the same result the watchdog has bit. I can put it to false in terminal but it shouldn't be like that.
I attach the .ini
.hal
and a screen of the display with a ping in terminal
please help,
thank you
I am using a 7i96 ethernet board with debian 4.9 preempt rt the version of linuxcnc is 2.8.
When I start the program it sends an error message to run latency test. I´ve just do that over an hour opening programs that i usualy work and then I had the same result the watchdog has bit. I can put it to false in terminal but it shouldn't be like that.
I attach the .ini
.hal
and a screen of the display with a ping in terminal
please help,
thank you
Attachments:
Please Log in or Create an account to join the conversation.
06 Jun 2019 15:15 #136061
by pl7i92
Replied by pl7i92 on topic Watchdog has bit
your watchdog time seams very low
setp hm2_7i92.0.watchdog.timeout_ns 10000000
and do not set the pin of the watchdog from hal
setp hm2_7i92.0.watchdog.timeout_ns 10000000
and do not set the pin of the watchdog from hal
The following user(s) said Thank You: sharp_reaper
Please Log in or Create an account to join the conversation.
06 Jun 2019 15:34 #136067
by PCW
Replied by PCW on topic Watchdog has bit
Yes 5 ms watchdog timeout is probably too short, but your ping times are
pretty poor also
What host PC are you using?
What kind of latency does the latency test show:
latency-histogram --nobase --sbinsize 1000
Does the host PC have a Intel Ethernet chip?
( if so you need to turn off interrupt coalescing in the Ethernet driver as
described in the hm2_eth manual page )
pretty poor also
What host PC are you using?
What kind of latency does the latency test show:
latency-histogram --nobase --sbinsize 1000
Does the host PC have a Intel Ethernet chip?
( if so you need to turn off interrupt coalescing in the Ethernet driver as
described in the hm2_eth manual page )
The following user(s) said Thank You: sharp_reaper
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 64
- Thank you received: 7
06 Jun 2019 15:39 #136068
by sharp_reaper
Replied by sharp_reaper on topic Watchdog has bit
Hi pl7i92,
Thank you for your response,
That was a failed try to get rid of the error.
I've just put the value to 10000000.
And seems to be working but the error message : unexpected real time delay appears.
The watchdog not bit yet
Thank you for your response,
That was a failed try to get rid of the error.
I've just put the value to 10000000.
And seems to be working but the error message : unexpected real time delay appears.
The watchdog not bit yet
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 64
- Thank you received: 7
06 Jun 2019 15:51 #136069
by sharp_reaper
Replied by sharp_reaper on topic Watchdog has bit
Attachments:
Please Log in or Create an account to join the conversation.
06 Jun 2019 17:27 - 06 Jun 2019 18:03 #136074
by PCW
Replied by PCW on topic Watchdog has bit
You might try
lshw -class network
to determine the network interface type
edit:
Also just looked at the ping statistics line at the bottom: 88 ms max!
Something very basic is wrong with the network interface
88 ms sounds like it might be power management related, is this a laptop?
You might try disabling _all_ power management options especially any related to network or peripherals
lshw -class network
to determine the network interface type
edit:
Also just looked at the ping statistics line at the bottom: 88 ms max!
Something very basic is wrong with the network interface
88 ms sounds like it might be power management related, is this a laptop?
You might try disabling _all_ power management options especially any related to network or peripherals
Last edit: 06 Jun 2019 18:03 by PCW.
The following user(s) said Thank You: sharp_reaper
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 64
- Thank you received: 7
07 Jun 2019 07:40 #136180
by sharp_reaper
Replied by sharp_reaper on topic Watchdog has bit
lshw -class network 'command not found'
It is not a laptop. I have the same pc model working perfectly with a 6i25 board.
can't find management options to try disabling_all_power
It is not a laptop. I have the same pc model working perfectly with a 6i25 board.
can't find management options to try disabling_all_power
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 64
- Thank you received: 7
07 Jun 2019 10:31 #136189
by sharp_reaper
Replied by sharp_reaper on topic Watchdog has bit
The watchdog has bit again with the timeout ns in 10000000.
What can I do?
What can I do?
Please Log in or Create an account to join the conversation.
07 Jun 2019 13:29 - 07 Jun 2019 13:41 #136201
by PCW
Replied by PCW on topic Watchdog has bit
A closer look at your latency test shows that you are running RTAI, not Preempt-RT.
so network access will not be real time. You need to use a Preempt-RT kernel and
the uspace version of LinuxCNC 2.8 for the 7I96.
An couple alternate ways of determining the Ethernet chip type are:
dmesg | grep -i ether
lspci | grep -i ether
( that's a vertical bar character preceding the grep command )
so network access will not be real time. You need to use a Preempt-RT kernel and
the uspace version of LinuxCNC 2.8 for the 7I96.
An couple alternate ways of determining the Ethernet chip type are:
dmesg | grep -i ether
lspci | grep -i ether
( that's a vertical bar character preceding the grep command )
Last edit: 07 Jun 2019 13:41 by PCW.
The following user(s) said Thank You: sharp_reaper
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 64
- Thank you received: 7
07 Jun 2019 15:22 - 07 Jun 2019 15:31 #136209
by sharp_reaper
Replied by sharp_reaper on topic Watchdog has bit
Attachments:
Last edit: 07 Jun 2019 15:31 by sharp_reaper.
Please Log in or Create an account to join the conversation.
Time to create page: 0.119 seconds