Watchdog has bit

More
06 Jun 2019 14:03 #136050 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

File Attachment:

File Name: pronum_2019-06-06.ini
File Size:4 KB

.hal

File Attachment:

File Name: pronum_201...06-2.hal
File Size:11 KB

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.

More
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
The following user(s) said Thank You: sharp_reaper

Please Log in or Create an account to join the conversation.

More
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 )
The following user(s) said Thank You: sharp_reaper

Please Log in or Create an account to join the conversation.

More
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

Please Log in or Create an account to join the conversation.

More
06 Jun 2019 15:51 #136069 by sharp_reaper
Replied by sharp_reaper on topic Watchdog has bit
Hi PCW,
thank you for your reply,

About the Pc it's a LENOVO and I am using a pc with the same specs in other machine and I had no problems.
Here goes my latency histogram in terminal can see a bit of dmesg i don't know if its intel or not
Attachments:

Please Log in or Create an account to join the conversation.

More
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
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.

More
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

Please Log in or Create an account to join the conversation.

More
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?

Please Log in or Create an account to join the conversation.

More
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 )
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.

More
07 Jun 2019 15:22 - 07 Jun 2019 15:31 #136209 by sharp_reaper
Replied by sharp_reaper on topic Watchdog has bit
It is a intel ethernet chip.
I add that text to the interfaces file

There is the config about the eth0 IPV4 connection, anything wrong?

I have better results at ping, do you agree?

the uname show preempt rt, right?

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.380 seconds
Powered by Kunena Forum