Mesa 7i80 - Error Finishing Read iter=56327

More
02 Dec 2021 08:31 - 02 Dec 2021 08:33 #228175 by nhanpham
Hello

I'm trying to get a 7i80db-16system up and running.
When i start qtdragon Gui in linuxcnc. The linuxcnc work about 5minutes and i got this error.
I always see this error when I start linuxcnc about 5 minutes
Can you help me check it?

My ping to Linuxcnc

@debian:~$ ping 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.230 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.128 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.113 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.174 ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.166 ms
64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.119 ms
64 bytes from 10.10.10.10: icmp_seq=7 ttl=64 time=0.117 ms
64 bytes from 10.10.10.10: icmp_seq=8 ttl=64 time=0.188 ms
64 bytes from 10.10.10.10: icmp_seq=9 ttl=64 time=0.130 ms
64 bytes from 10.10.10.10: icmp_seq=10 ttl=64 time=0.147 ms
64 bytes from 10.10.10.10: icmp_seq=11 ttl=64 time=0.155 ms
64 bytes from 10.10.10.10: icmp_seq=12 ttl=64 time=0.167 ms
64 bytes from 10.10.10.10: icmp_seq=13 ttl=64 time=0.160 ms
^C
--- 10.10.10.10 ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 283ms
rtt min/avg/max/mdev = 0.113/0.153/0.230/0.033 ms

 My config:

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
BASE_PERIOD = 1000000
SERVO_PERIOD = 2000000
TRAJ_PERIOD = 10000000


My network interfaces:

auto lo
iface lo inet loopback
auto eno1
        iface eno1 inet static
                metric 601
                address 10.10.10.80
                netmask 255.255.255.0
                gateway 10.10.10.1
                dns-nameservers 10.10.10.1
                hardware-irq-coalesce-rx-usecs 0



can you help me check it?
Last edit: 02 Dec 2021 08:33 by nhanpham.

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

More
02 Dec 2021 08:48 #228177 by nhanpham
My test :  latency-histogram --nobase --sbinsize 1000
Attachments:

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

More
02 Dec 2021 09:56 - 02 Dec 2021 09:57 #228178 by billykid
I have a 7i80 as well and one thing is certain is that "base_period" is not needed for these cards.

EMCMOT = motmod
COMM_TIMEOUT = 1.0
SERVO_PERIOD = 1000000

this is mine setting
regards
Mauro
Last edit: 02 Dec 2021 09:57 by billykid.

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

More
03 Dec 2021 01:11 #228245 by nhanpham

I have a 7i80 as well and one thing is certain is that "base_period" is not needed for these cards.

EMCMOT = motmod
COMM_TIMEOUT = 1.0
SERVO_PERIOD = 1000000

this is mine setting
regards
Mauro. 

 

thank you, I tried and it didn't help to fix this error.
 

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

More
03 Dec 2021 01:54 #228249 by PCW
The "error finishing read" error means either that too many packets have
been timed out or there is complete communication loss.
You can check for communication latency issues by watching
the various .tmax values with halshow

Communication loss can be power supply related so you might want to check
the 7I80s 5V supply. Do you lose the Ethernet link status when you get the error?

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

More
03 Dec 2021 04:36 - 03 Dec 2021 04:38 #228255 by nhanpham
hi, My value of * tmax:

    23  s32   RW           4411  ddt.0.tmax
    23  s32   RW           2556  ddt.1.tmax
    23  s32   RW           1573  ddt.2.tmax
    23  s32   RW           2213  ddt.3.tmax
    23  s32   RW           1536  ddt.4.tmax
    23  s32   RW           2337  ddt.5.tmax
    23  s32   RW           1833  ddt.6.tmax
    23  s32   RW           3221  ddt.7.tmax
    29  s32   RW              0  hm2_7i80.0.read-request.tmax
    29  s32   RW         973553  hm2_7i80.0.read.tmax
    29  s32   RW         562150  hm2_7i80.0.write.tmax
    19  s32   RW           6701  motion-command-handler.tmax
    19  s32   RW         105990  motion-controller.tmax
    20  s32   RW        1031041  servo-thread.tmax
    32  s32   RW          10311  sum2.0.tmax

I have a good power supply. I had a 5V-3A power for the 7i80 board.
After this error happens, I just restart linuxcnc and it works again. 
Last edit: 03 Dec 2021 04:38 by nhanpham.

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

More
03 Dec 2021 15:14 #228290 by PCW
OK that's probably OK assuming a 2-3 Ghz CPU (times on X86 are in CPU clocks)

So not sure... might be a faulty 7I80 or faulty host Ethernet port, do you have an alternate
Ethernet interface you can try?

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

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