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

More
12 Nov 2024 10:09 #314310 by greg23_78
 
 
 
Attachments:

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

More
13 Nov 2024 17:14 #314389 by greg23_78
r8168-dkms drive is it installed ?

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

More
13 Nov 2024 18:28 #314394 by PCW
Can you run this script:

File Attachment:

File Name: edrivers.txt
File Size:0 KB


and post the results here?

first make executable with:

chmod +x edrivers.txt

then

./edrivers.txt
 
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Nov 2024 19:53 #314399 by tommylight
This is what i get:
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 or Create an account to join the conversation.

More
14 Nov 2024 08:38 - 14 Nov 2024 08:41 #314429 by greg23_78
i get like before
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
Last edit: 14 Nov 2024 08:41 by greg23_78.

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

More
14 Nov 2024 15:42 #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 or Create an account to join the conversation.

More
14 Nov 2024 16:01 #314461 by greg23_78
the command return to me :
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 or Create an account to join the conversation.

More
14 Nov 2024 16:33 #314465 by PCW
Did you try pinning the Ethernet IRQ?

As a test you can run this script:

 

File Attachment:

File Name: pinirq_2024-11-14.txt
File Size:1 KB


chmod +x pinirq.txt then:

sudo ./pinirq.txt enp2s0

And then retry LinuxCNC or the ping test
Attachments:

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

More
12 Dec 2024 15:40 - 12 Dec 2024 16:02 #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

 
 
 
Attachments:
Last edit: 12 Dec 2024 16:02 by greg23_78.

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

More
12 Dec 2024 16:36 #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 or Create an account to join the conversation.

Time to create page: 0.188 seconds
Powered by Kunena Forum