Mesa 7i96S - Error finishing read! iter 8

More
23 Jan 2026 17:16 #341768 by slowpoke
New installation using a Yoga C340 and Mesa 7i96s

I'm getting an error when I start LinuxCNC, "Error finishing read! iter 8 ?
Red LED on Mesa turns on when this ocuurs.

I'm using a USB-C to Ethernet adapter and my best hunch is that this might be the problem?

Connection information is as follows:
IPV4
IP address 10.10.10.100
Broadcast address 10.255.255.255
Subnet mask 255.0.0.0.

7i96s jumpers are down, up = EEPROM

Is there something incorrect with the settings above?

The adapter I'm using is this one:  www.amazon.ca/dp/B0BR3M8XHK?ref=ppx_yo2o..._fed_asin_title&th=1

I'm not sure what steps I should take to troubleshoot?
 

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

More
23 Jan 2026 17:31 #341769 by PCW
The USB Ethernet adapter is likely the main issue here

Running:

sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10

in a terminal window will give you an idea of the latency of the hosts Ethernet interface

( The command will run for 1 minute and then print timing statistics )
 

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

More
23 Jan 2026 19:38 #341785 by rodw
More than USB, laptops make poor choices for linuxcnc. Too much latency inducing stuff!

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

More
23 Jan 2026 19:50 #341786 by slowpoke
Replied by slowpoke on topic Mesa 7i96S - Error finishing read! iter 8

The USB Ethernet adapter is likely the main issue here

Running:

sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10

in a terminal window will give you an idea of the latency of the hosts Ethernet interface

( The command will run for 1 minute and then print timing statistics )

 


jeff@SM10:~$ sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10
[sudo] password for jeff: 
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
60000 packets transmitted, 60000 received, 0% packet loss, time 102174ms
rtt min/avg/max/mdev = 1.297/1.631/3.302/0.044 ms
jeff@SM10:~$ 

Comments please

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

More
23 Jan 2026 19:54 #341788 by slowpoke
Replied by slowpoke on topic Mesa 7i96S - Error finishing read! iter 8

More than USB, laptops make poor choices for linuxcnc. Too much latency inducing stuff!
 


This is more or less a clone of a previous build I did, that works great. Same 7i96s and both are using a Lenovo Yoga, this new Yoga is a bit newer. The original (working) setup uses a Lenovo dock for the Ethernet connection, this new (not working) setup used the USB-C to Ethernet adapter.

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

More
23 Jan 2026 19:55 #341789 by rodw
How can you expect the 1 ms servo thread to work when it takes 1,6 Ms on average to talk to the card
Ditch the laptop! 

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

More
23 Jan 2026 20:48 #341795 by slowpoke
Replied by slowpoke on topic Mesa 7i96S - Error finishing read! iter 8

How can you expect the 1 ms servo thread to work when it takes 1,6 Ms on average to talk to the card
Ditch the laptop! 
 



Rod,
I'm want to understand if the laptop is the problem or the adapter?

These are the ping results from the working laptop:
60000 packets transmitted, 60000 received, 0% packet loss, time 60029ms
rtt min/avg/max/mdev = 0.269/0.311/0.600/0.006 ms

These are the ping results from the newer laptop:
60000 packets transmitted, 60000 received, 0% packet loss, time 102174ms
rtt min/avg/max/mdev = 1.297/1.631/3.302/0.044 ms

So obviously the newer laptop is MUCH slower, what I would like to know is the problem the laptop or the external USB-c to Ethernet adapter.

I'm thinking it would be worth trying another adapter, thoughts?

As a reality check, can I force the LinuxCNC timing to extra slow, say 2ms just to see if the error goes away?
If so how would I do that?

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
23 Jan 2026 21:28 #341797 by tommylight
Replied by tommylight on topic Mesa 7i96S - Error finishing read! iter 8
In a terminal:
latency-histogram --nobase --sbinsize 1000 --show
Click on "glxgears" several times (5-10), leave it on for 15-30 minutes while doing something like copy files, watch youtube, etc and post the resulting screenshot.

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

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