- Posts: 73
- Thank you received: 0
Watchdog has bit
- sharp_reaper
- Topic Author
- Offline
- Senior Member
-
Less
More
7 years 4 months ago #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
Attachment not found
.hal
Attachment not found
and a screen of the display with a ping in terminal
Attachment not found
please help,
thank you
Please Log in to join the conversation.
7 years 4 months ago #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
Please Log in to join the conversation.
7 years 4 months ago #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 )
Please Log in to join the conversation.
- sharp_reaper
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 73
- Thank you received: 0
7 years 4 months ago #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 to join the conversation.
- sharp_reaper
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 73
- Thank you received: 0
7 years 4 months ago #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
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
Attachment not found
Please Log in to join the conversation.
7 years 4 months ago #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
Please Log in to join the conversation.
- sharp_reaper
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 73
- Thank you received: 0
7 years 4 months ago #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 to join the conversation.
- sharp_reaper
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 73
- Thank you received: 0
7 years 4 months ago #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 to join the conversation.
7 years 4 months ago #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 )
Please Log in to join the conversation.
- sharp_reaper
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 73
- Thank you received: 0
7 years 4 months ago #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?
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?
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.106 seconds
