Mesa 7i96S - Error finishing read iter ...
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18531
- Thank you received: 5079
24 Oct 2023 19:02 #283746
by PCW
Replied by PCW on topic Mesa 7i96S - Error finishing read iter ...
If you get a read error but no red LED its means there is a 5v power issue
I have seen this fairly often with marginal power supplies.
(the 7I96S card gets reset by a power dip) If host communications
are lost (and there is no power issue) the red LED will illuminate,
indicating a 7I96S watchdog bite.
A higher servo thread period does not affect speed but does affect
maximum acceleration as there are fewer velocity steps in the acceleration
ramp. This will chiefly affect high acceleration machines
I have seen this fairly often with marginal power supplies.
(the 7I96S card gets reset by a power dip) If host communications
are lost (and there is no power issue) the red LED will illuminate,
indicating a 7I96S watchdog bite.
A higher servo thread period does not affect speed but does affect
maximum acceleration as there are fewer velocity steps in the acceleration
ramp. This will chiefly affect high acceleration machines
Please Log in or Create an account to join the conversation.
- karnalta
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 11
24 Oct 2023 19:13 #283748
by karnalta
Replied by karnalta on topic Mesa 7i96S - Error finishing read iter ...
Just tried again and there is a red led when I get the error. The led is named "INIT" on the board.If you get a read error but no red LED its means there is a 5v power issue
I have seen this fairly often with marginal power supplies.
(the 7I96S card gets reset by a power dip) If host communications
are lost (and there is no power issue) the red LED will illuminate,
indicating a 7I96S watchdog bite.
A higher servo thread period does not affect speed but does affect
maximum acceleration as there are fewer velocity steps in the acceleration
ramp. This will chiefly affect high acceleration machines
Please Log in or Create an account to join the conversation.
- karnalta
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 11
24 Oct 2023 19:56 #283751
by karnalta
Replied by karnalta on topic Mesa 7i96S - Error finishing read iter ...
I just tried with period thread at 2 ms and I have not encounter the issue.
What does it mean ? I have too much latency ?
What does it mean ? I have too much latency ?
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11229
- Thank you received: 3753
24 Oct 2023 21:16 #283754
by rodw
Replied by rodw on topic Mesa 7i96S - Error finishing read iter ...
PLease review this and action as apprpriate to you NIC
linuxcnc.org/docs/2.9/html/getting-start...ltek_network_drivers
linuxcnc.org/docs/2.9/html/getting-start...ltek_network_drivers
Please Log in or Create an account to join the conversation.
- karnalta
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 11
25 Oct 2023 17:57 #283817
by karnalta
Replied by karnalta on topic Mesa 7i96S - Error finishing read iter ...
Just tried to install these driver as my NIC is one of them but I have got an error :PLease review this and action as apprpriate to you NIC
linuxcnc.org/docs/2.9/html/getting-start...ltek_network_drivers
After this operation, 1,436 kB of additional disk space will be used.
Selecting previously unselected package r8168-dkms.
(Reading database ... 209233 files and directories currently installed.)
Preparing to unpack .../r8168-dkms_8.051.02-2_all.deb ...
Unpacking r8168-dkms (8.051.02-2) ...
Setting up r8168-dkms (8.051.02-2) ...
Loading new r8168-8.051.02 DKMS files...
Building for 6.5.0-0.deb12.1-rt-amd64
Building initial module for 6.5.0-0.deb12.1-rt-amd64
Error! Bad return status for module build on kernel: 6.5.0-0.deb12.1-rt-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.051.02/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-0.deb12.1-rt-amd64
W: Possible missing firmware /lib/firmware/i915/dg2_huc_gsc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/mtl_huc_gsc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/mtl_guc_70.bin for module i915
Errors were encountered while processing:
r8168-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please Log in or Create an account to join the conversation.
- gtivey
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
26 Oct 2023 01:07 - 26 Oct 2023 01:13 #283837
by gtivey
Replied by gtivey on topic Mesa 7i96S - Error finishing read iter ...
Same here --- After receiving my new mesa 7i96s on Monday, I experienced similar problems with the
Realtek driver in latest Bookworm kernel 6.1.xx . After reading some of the posts on this forum, I
elected to install a new kernel, as an option to possibly resolve the Realtek issues.
I managed to add the debian-backports repository to sources.list... which made it very easy to install the new 6.5 kernel. After installing the new kernel, an attempt was made to switch the r8169 > r8168-dkms... but no joy.
I got the same errors as recently posted. Otherwise the new kernel+drivers, along with boosting the servo timing to 2000000 allowed me to operate several sample projects without issue.
I am not now convinced that new kernel has 'fixed' the problem, as another "finishing read error" popped up when loading gmoccapy in main program. Since have the option of replacing the pci-x card, I've simply decided to switch the card to Intel...my time is worth more than $25
--Gary
PS: Thanks to all the folks that posted suggested remedies for the "error finished reading" and the related "joint following errors", they really came in handy!
Realtek driver in latest Bookworm kernel 6.1.xx . After reading some of the posts on this forum, I
elected to install a new kernel, as an option to possibly resolve the Realtek issues.
I managed to add the debian-backports repository to sources.list... which made it very easy to install the new 6.5 kernel. After installing the new kernel, an attempt was made to switch the r8169 > r8168-dkms... but no joy.
I got the same errors as recently posted. Otherwise the new kernel+drivers, along with boosting the servo timing to 2000000 allowed me to operate several sample projects without issue.
I am not now convinced that new kernel has 'fixed' the problem, as another "finishing read error" popped up when loading gmoccapy in main program. Since have the option of replacing the pci-x card, I've simply decided to switch the card to Intel...my time is worth more than $25

PS: Thanks to all the folks that posted suggested remedies for the "error finished reading" and the related "joint following errors", they really came in handy!
Last edit: 26 Oct 2023 01:13 by gtivey. Reason: spelling
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11229
- Thank you received: 3753
26 Oct 2023 02:09 #283838
by rodw
Replied by rodw on topic Mesa 7i96S - Error finishing read iter ...
Did you guys install the linuxc-headers? DKMS drivers are compiled during installation and therefore the kernel header files are required
Install them with:
sudo apt install linux-headers-$(uname -r)
Install them with:
sudo apt install linux-headers-$(uname -r)
Please Log in or Create an account to join the conversation.
- gtivey
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
26 Oct 2023 02:46 #283841
by gtivey
Replied by gtivey on topic Mesa 7i96S - Error finishing read iter ...
Hi ! When tried to install headers via apt , I got notified by apt of the conflicts, as suggested/told to "apt --fixbroken"... which I did, and then apt proceeded to remove the r8168-dkms.deb package previously installed with dpkg utility
... No surprise! Should also report that I am running Deb 12.2 Bookworm with backported kernel 6.5 from debian.org source.lst. Note: All unnecessary systemd processes like avahi, NetworkMangler, mdns...have been terminated ror disabled.
I'm fairly experienced (retired) with networking and linux debugging, and have some time to test out conditions my hardware will support. Happy to help out if I can, just let me know. --Gary

I'm fairly experienced (retired) with networking and linux debugging, and have some time to test out conditions my hardware will support. Happy to help out if I can, just let me know. --Gary
Please Log in or Create an account to join the conversation.
- karnalta
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 11
26 Oct 2023 06:36 #283845
by karnalta
Yes, headers for my kernel (6.5) are installed.
I don't have much experience with Linux so I can't really do anything on my own about this error
Replied by karnalta on topic Mesa 7i96S - Error finishing read iter ...
Did you guys install the linuxc-headers? DKMS drivers are compiled during installation and therefore the kernel header files are required
Install them with:
sudo apt install linux-headers-$(uname -r)
Yes, headers for my kernel (6.5) are installed.
I don't have much experience with Linux so I can't really do anything on my own about this error

Please Log in or Create an account to join the conversation.
- karnalta
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 11
26 Oct 2023 06:46 #283846
by karnalta
Replied by karnalta on topic Mesa 7i96S - Error finishing read iter ...
Here is the make log with the driver build error :
DKMS make.log for r8168-8.051.02 for kernel 6.5.0-0.deb12.1-rt-amd64 (x86_64)
Thu Oct 26 08:30:00 AM CEST 2023
make: Entering directory '/usr/src/linux-headers-6.5.0-0.deb12.1-rt-amd64'
CC [M] /var/lib/dkms/r8168/8.051.02/build/r8168_n.o
CC [M] /var/lib/dkms/r8168/8.051.02/build/r8168_asf.o
CC [M] /var/lib/dkms/r8168/8.051.02/build/rtl_eeprom.o
CC [M] /var/lib/dkms/r8168/8.051.02/build/rtltool.o
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c: In function ‘r8168_csum_workaround’:
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c:29208:24: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘skb_gso_reset’? [-Werror>
29208 | segs = skb_gso_segment(skb, features);
| ^~~~~~~~~~~~~~~
| skb_gso_reset
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c:29208:22: warning: assignment to ‘struct sk_buff *’ from ‘int’ makes pointer from integer without a cast [->
29208 | segs = skb_gso_segment(skb, features);
| ^
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.5.0-0.deb12.1-common-rt/scripts/Makefile.build:248: /var/lib/dkms/r8168/8.051.02/build/r8168_n.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.5.0-0.deb12.1-common-rt/Makefile:2057: /var/lib/dkms/r8168/8.051.02/build] Error 2
make: *** [/usr/src/linux-headers-6.5.0-0.deb12.1-common-rt/Makefile:246: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.5.0-0.deb12.1-rt-amd64'
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.134 seconds