error finishing read and joint following error.

More
03 Jun 2024 03:37 #302218 by jg00163206
linuxcnc.org/docs/2.9/html/drivers/mesa_modbus.html. Could this have anything to do with not being able to communicate with the mesa board? when i run board discovery in pncconf, i keep getting errors related to modbus and the proper drivers for the board not being loaded.

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

More
28 Jun 2024 23:46 #303995 by jg00163206
so im back at it. i found my conflict. it was the second realtek card that was giving me problems. im running an amd ryzen 5 with an rx 580 gpu. i know it overkill for what we are doing here. i am getting a joint following error and hm2/hm2_7i96s.0: error finishing read! iter=24429. forum.linuxcnc.org/27-driver-boards/4223...error-finishing-read. i have been playing with the settings according to this post but i am still getting the error. i set the servo thread to 200000 and the p to 500. also i changed the dpll to -100. any ideas what could be causing this? what settings can i play with that will get me in the right direction to solving this?

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

More
29 Jun 2024 02:54 #303999 by PCW
What does:

ping -i .2 -c 4 10.10.10.10
sudo chrt 99 ping -i .001 -q 10.10.10.10
 (let the last command run for a few minutes and
then stop it with a control C, it will print timing statistics)

report?
 

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

More
29 Jun 2024 17:31 #304038 by jg00163206
ping -i .2 -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.092 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.145 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.134 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.133 ms

sudo chrt 99 ping -i .001 -q 10.10.10.10
[sudo] password for mill:
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
^C
--- 10.10.10.10 ping statistics ---
150691 packets transmitted, 150691 received, 0% packet loss, time 151117ms
rtt min/avg/max/mdev = 0.048/0.072/9.850/0.073 ms


what are ALL the settings in the bios should disable? its a ryzen 5 2400. i disabled all the power saving features and the virtualization. is there any other settings i should look at in the bios?


sudo chrt 99 ping -i .001 -q 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
^C
--- 10.10.10.10 ping statistics ---
219872 packets transmitted, 219017 received, 0.388863% packet loss, time 234537ms
rtt min/avg/max/mdev = 0.048/0.072/8.746/0.084 ms
heres that again after i started linuxcnc.

could this be a power supply issue? it has a dedicated 5vdc psu. i don't have another one to test. it seems all the ones i have are dead. i guess i could try to figure something out. i don't get this error on the duo core though. i get way better ping times too. i just can't do anything else on that relic.

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

More
29 Jun 2024 18:24 - 29 Jun 2024 18:25 #304043 by PCW
rtt min/avg/max/mdev = 0.048/0.072/9.850/0.073 ms

almost 10 ms delay...

Anything that changes the CPU speed is suspect
as is any power management on the network interface

Also what kind of Ethernet chip does that motherboard use?

Some RealTek drivers have real time issues and the DKMS
installed driver can help.

If you don't know what Ethernet hardware you have, you can get a list with:

lshw --class network
 
Last edit: 29 Jun 2024 18:25 by PCW.
The following user(s) said Thank You: jg00163206

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

More
29 Jun 2024 20:29 #304056 by jg00163206
its RealTek Ethernet hardware. and i'll go through the bios again. i think i saw a couple things in there i can turn off. i assume, just google DKMS drivers for debian.......

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

More
29 Jun 2024 20:47 #304057 by PCW
Searching this forum for DKMS is another option

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

More
30 Jun 2024 21:44 #304101 by jg00163206
i'm still getting the hm2/hm2_7i96s.0: error finishing read iter=32571. it seems the joint following error did NOT come up this time.

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

More
01 Jul 2024 00:28 #304106 by rodw
CPU Affinity and DKMS are two possible fixes. I describe them here:
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing
Note: Debian rolled forward to 12.6 used here in the last few days
The following user(s) said Thank You: jg00163206

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

More
01 Jul 2024 01:53 #304117 by PCW
What have you changed and what does the ping test show now?
The following user(s) said Thank You: jg00163206

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

Time to create page: 0.083 seconds
Powered by Kunena Forum