Error while Running Linuxcnc

More
27 Aug 2024 08:53 #308780 by rajsekhar
I am using Mesa 7i92+7i76+7i84.

Machine is under software set up stage, wiring completed.

I encountered the attached error in photo. The system runs ok, but it is 4 or 5th occasion the error occured.

What is happening wrong? Is it softw
Attachments:

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

More
27 Aug 2024 14:48 #308814 by PCW
Replied by PCW on topic Error while Running Linuxcnc
The original error is a watchdog bite.
This means you have a latency issue
(or the watchdog timeout is set way too fast)

I would do a ping test:

ping -c 4 [card_ip_address]
sudo ping -c 30000 -i .001 -q [card_ip_address]

Where [card_ip_address] is the IP address of the 7I92 card
(probably 10.10.10.10 or 192.168.1.121)

The last command will take 30 seconds to complete

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

More
01 Sep 2024 13:13 #309146 by rajsekhar
the terminal emulator results are as follows:
=======================================================
raycnc1@debian:~/Desktop$ ping -c 4 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.219 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.113 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.116 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.116 ms

--- 10.10.10.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3074ms
rtt min/avg/max/mdev = 0.113/0.141/0.219/0.045 ms
raycnc1@debian:~/Desktop$
========================================================

========================================================
raycnc1@debian:~/Desktop$ sudo ping -c 30000 -i .001 -q 10.10.10.10
[sudo] password for raycnc1:
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
30000 packets transmitted, 30000 received, 0% packet loss, time 30070ms
rtt min/avg/max/mdev = 0.044/0.052/0.116/0.004 ms
raycnc1@debian:~/Desktop$
========================================================

Latency test value screen shot attached, ran with 10 GLXgear and one 4k movie for 2 hour.

As I am noway an expert of these parameters, are they ok?

And one thing I noticed, the monitor goes blank sometimes for a moment, probably power issue. Now can such momentary power issue to CPU and MESA card create problem? Or could there be any issue with software download (and installation) as I had such issue before.

















 
Attachments:

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

More
01 Sep 2024 13:58 - 01 Sep 2024 14:51 #309148 by PCW
Replied by PCW on topic Error while Running Linuxcnc
The latency and ping tests look fine.

Momentary power loss could definitely cause loss of communications/latency

Also I am assuming you are running a 1 ms (1000000 ns)
servo thread, as a too fast servo  thread might also cause these symptoms
 
Last edit: 01 Sep 2024 14:51 by PCW.

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

More
02 Sep 2024 01:59 #309182 by rajsekhar
Watch dog timer is 5ms, HAL file attached.

Does that require any change?
Attachments:

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

More
02 Sep 2024 02:01 #309183 by PCW
Replied by PCW on topic Error while Running Linuxcnc
What is the servo thread period?
 

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

More
03 Sep 2024 05:52 #309263 by rajsekhar
SERVO_PERIOD = 1000000

INI file attached.
Attachments:

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

More
03 Sep 2024 14:52 #309291 by PCW
Replied by PCW on topic Error while Running Linuxcnc
OK so I'm not sure whats going on as the ping test looks OK
but somehow the host PC has lost communication with the 7I92 for
more than 5 ms

What is the host PC hardware?

What kind of Ethernet chip does the host have?

lspci -vv | grep -i eth

Will often answer this.

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

More
17 Sep 2024 14:20 #310312 by rajsekhar
The "lspci -vv|grep -i eth" output is as follows:

======================================================================
raycnc1@debian:~$ lspci -vv|grep -i eth
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)
    Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
raycnc1@debian:~$
======================================================================

And a very important update:
Today I ran latency test for 2 hour almost, and shockingly Max jitter for both servo and base thread result found in order of 49,000,000 ns. Normally these values are in 20,000 ns~30,000 ns range.

What to do?


 

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

More
17 Sep 2024 20:01 #310342 by Todd Zuercher
Sometimes failing hardware can cause weird bad latency spikes, such as a harddrive that is on it's last legs and is about to fail.

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

Moderators: PCWjmelson
Time to create page: 0.114 seconds
Powered by Kunena Forum