Solution fo "hm2 error finishing read" with no good PC

More
1 year 11 months ago #314310 by greg23_78
 

Attachment not found


 

Attachment not found


 

Attachment not found

Please Log in to join the conversation.

More
1 year 11 months ago #314389 by greg23_78
r8168-dkms drive is it installed ?

Please Log in to join the conversation.

More
1 year 11 months ago #314394 by PCW
Can you run this script:

Attachment not found



and post the results here?

first make executable with:

chmod +x edrivers.txt

then

./edrivers.txt
 

Please Log in to join the conversation.

More
1 year 11 months ago #314399 by tommylight
This is what i get:
Code:
cnc@15ALC7:~$ ls -1 /sys/class/net/ | grep -v lo | xargs -I{} bash -c 'echo -n {} :" " ; basename `readlink -f /sys/class/net/{}/device/driver`' enxc84d44297a21 : r8152 wlp2s0 : rtw_8822ce cnc@15ALC7:~$

Please Log in to join the conversation.

More
1 year 11 months ago #314429 by greg23_78
i get like before
Code:
cnc@cnc:~$ ls -1 /sys/class/net/ | grep -v lo | xargs -I{} bash -c 'echo -n {} :" " ; basename `readlink -f /sys/class/net/{}/device/driver`' enp2s0 : r8168 cnc@cnc:~$

My PC is a Dell Optiflex 3040

Please Log in to join the conversation.

More
1 year 11 months ago #314458 by PCW
So looks like the DKMS driver (I think the default driver with latency issues "8169")

So not sure whats going on.

What does your kernel command line look like?

cat /proc/cmdline



 

Please Log in to join the conversation.

More
1 year 11 months ago #314461 by greg23_78
the command return to me :
Code:
cnc@cnc:~$ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-6.1.0-23-rt-amd64 root=UUID=9ccb36b6-0014-43a8-b35e-c8724d432dac ro initrd=/install/gtk/initrd.gz quiet isolcpus=3 pcie.aspm=0 r8168.eee_enable=0 pcie_aspm=off idle=poll

Please Log in to join the conversation.

More
1 year 11 months ago #314465 by PCW
Did you try pinning the Ethernet IRQ?

As a test you can run this script:

 

Attachment not found



chmod +x pinirq.txt then:

sudo ./pinirq.txt enp2s0

And then retry LinuxCNC or the ping test

Please Log in to join the conversation.

More
1 year 10 months ago #316525 by greg23_78
I need your help because I'm completely lost.

as at the beginning of this topic, i had an “hm2 error finishing read” problem.
i took the pc to feed a 7i96s i never have the “finishing read” problem.
i bought a new computer with much better latency and constant ping.
I plug in my lathe and it displays “hm2 error finishing read” all time when i ask change tool on my turret and somethime when i enable the drive (F2)...

before :


it used to work fine but now the turret runs for 1 second with this error... and I haven't changed a thing since.

below is the histogram of the new pc

 

Attachment not found


 

Attachment not found


 

Please Log in to join the conversation.

More
1 year 10 months ago #316527 by PCW
If you only get the error when enabling some motion it may be an EMI issue
Is the 7I96S's frame ground connected to chassis ground?

Also can you report the result of:

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

( This assumes the card IP address is 10.10.10.10 )

The test will take 1 minute



 

Please Log in to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum