Mesa hm2/hm2_7i96s.0: error finishing read

More
2 years 11 months ago #285789 by tommylight
Remove from power, open the lid, find a small jumper with "rst" or "cmos rst" or similar, usually green or blue, remove and insert in the other side (usually 3 pins there so just short the middle with the one that was free) for about 5 seconds, put it back where it was, power on the PC.
Some new-ish ones have a small button to press.
The following user(s) said Thank You: rodw, spumco

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

More
2 years 11 months ago #285794 by spumco
You're a lifesaver Tommy.

Ok, clean ISO from LCNC home page + Rod's instructions page.  Fingers crossed...
The following user(s) said Thank You: tommylight, rodw

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

More
2 years 11 months ago #285886 by spumco
Still stumped, still getting read finishing errors.
[using MeLE N5105 w/realtek 8168 NIC.  I've given up on the HP 800 G2]

Checked 7i96s - yes, there's a red light when the error happens.
Currently I'm trying Deb13, pulled from Debian site.
Built 6.6rt kernel from kernel.org using JT's build instruction page.  Surprisingly no errors.

Installed LCNC using Andy's script. LCNC latency was fine. Still got read error

Switched to r8168 driver using Rod's instructions. Still got read error

Found a site describing similar NIC drops that was solved by changing "EEE" to disabled. I suspect this is an energy saving feature.
forums.debian.net/viewtopic.php?t=154817

Ping times terrible with r8168 (~1.5ms), then I stumbled across this post:
forum.linuxcnc.org/ethercat/50322-etherc...-with-minipcs#282701

Once I added those to grub, ping times got really good. Still got read error

Changed IRQ affinity to 3 with the sudo echo "8"... command. Still got read error

Changed servo thread to 2ms. Still got read error

At a loss at this point.  I've attached HAL and INI just in case there's something horribly stupid in there that's causing all this.

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

More
2 years 11 months ago #285901 by PCW
I just bought a Elite 800 D2 mini to try
Probably next week.
The following user(s) said Thank You: spumco, Unlogic

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

More
2 years 11 months ago #285904 by spumco
Should I try a different power supply for the Mesa?  I'm using a buck converter but it's not drooping on the built-in 5v volt display.

Are there any hardware configs or problems which would result in error finishing reads or the intermittent read-time spikes seen in halscope?

The bios has about a million settings, about three of which I understand.  But if it's something in there I don't get why both the realtek and intel NIC's appear to be acting the same.

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

More
2 years 11 months ago - 2 years 11 months ago #285908 by PCW
If there was a 7I96s power issue, you would not get the 7I96s
watchdog bite indication (the red LED)

It did take me a while on the Zotac CI323 to get all the BIOS settings.
correct but then it worked with the stock 2.9.1 ISO and stock RTL8168
driver. I think it's still possible there is some BIOS setting issue involved.

Even if it's not a BIOS issue, I would like to chase down the problem with
the G2 and if not solve, at least clearly identify the actual problem.


AFAICT, its not related to anything on the LinuxCNC side


As an experiment, you might try setting the packet error limit to say 100
(setp hm2_7i96s.0.packet-error-limit 100) and watch hm2_7i96s.0.packet-error-total
to see when the errors occur.
Last edit: 2 years 11 months ago by PCW. Reason: sp

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

Moderators: PCW, jmelson
Time to create page: 0.398 seconds
Powered by Kunena Forum