- Posts: 142
- Thank you received: 0
Solution fo "hm2 error finishing read" with no good PC
2 years 2 days ago #313380
by greg23_78
Solution fo "hm2 error finishing read" with no good PC was created by greg23_78
I need help because I don't know what to do with my PC.
At the moment linuxcnc displays ‘hm2 error finishing read’ every time I change the tool on my turret on my cnc lathe.
several weeks ago I had this message sometime.
below the latency of my pc and the ping for the ethernet.
I have disabled all the options that slow down latency in the bios/uefi.
I have followed the procedure to isolate a core for linuxcnc. and other procedure to reduce latency (IRQ affinity scripts / rt_setup).
but i have the problem ‘hm2 error finishing read’, is there any solution to remove this problem or the only solution is to replace the pc because nothing can be done?
At the moment linuxcnc displays ‘hm2 error finishing read’ every time I change the tool on my turret on my cnc lathe.
several weeks ago I had this message sometime.
below the latency of my pc and the ping for the ethernet.
Attachment not found
I have disabled all the options that slow down latency in the bios/uefi.
I have followed the procedure to isolate a core for linuxcnc. and other procedure to reduce latency (IRQ affinity scripts / rt_setup).
but i have the problem ‘hm2 error finishing read’, is there any solution to remove this problem or the only solution is to replace the pc because nothing can be done?
Please Log in to join the conversation.
2 years 2 days ago #313381
by PCW
Replied by PCW on topic Solution fo "hm2 error finishing read" with no good PC
The issue is the 5.835 ms maximum ping time (about 10X the usable maximum)
My guess is that you have a RealTek Ethernet interface on you PC which requires
and alternate driver (DKMS) be installed since the driver supplied with the 6.1 kernel has
real-time issues.
Instructions for this are in this thread:
forum.linuxcnc.org/27-driver-boards/5366...xcnc?start=20#310794
Before you do that is probably best to determine the actual Ethernet hardware with say:
lspci | grep -i ether
My guess is that you have a RealTek Ethernet interface on you PC which requires
and alternate driver (DKMS) be installed since the driver supplied with the 6.1 kernel has
real-time issues.
Instructions for this are in this thread:
forum.linuxcnc.org/27-driver-boards/5366...xcnc?start=20#310794
Before you do that is probably best to determine the actual Ethernet hardware with say:
lspci | grep -i ether
Please Log in to join the conversation.
2 years 1 day ago #313423
by greg23_78
Replied by greg23_78 on topic Solution fo "hm2 error finishing read" with no good PC
i did, but still the same.
i have done ping 10.10.10.10 during the nigh and i have lost some packet.
my hardware is Realtek RTL8111/RTL8168
i have done ping 10.10.10.10 during the nigh and i have lost some packet.
my hardware is Realtek RTL8111/RTL8168
Please Log in to join the conversation.
2 years 1 day ago #313438
by PCW
Replied by PCW on topic Solution fo "hm2 error finishing read" with no good PC
Have you added
pcie.aspm=0 r8168.eee_enable=0 pcie_aspm=off idle=poll
to the kernel command line? (via grub)
Sometimes that is needed also.
To make sure you are running the dkms driver, try running this script:
To run this, first
chmod +x edriver.txt
and then
./edriver.txt
(from the Downloads directory)
and paste the results here.
(not my script but nicely lists network drivers)
pcie.aspm=0 r8168.eee_enable=0 pcie_aspm=off idle=poll
to the kernel command line? (via grub)
Sometimes that is needed also.
To make sure you are running the dkms driver, try running this script:
Attachment not found
To run this, first
chmod +x edriver.txt
and then
./edriver.txt
(from the Downloads directory)
and paste the results here.
(not my script but nicely lists network drivers)
Please Log in to join the conversation.
2 years 1 day ago #313442
by greg23_78
Replied by greg23_78 on topic Solution fo "hm2 error finishing read" with no good PC
i added the same as the google doc "r8168.aspm=0 r8168.eee_enable=0 pcie_aspm=off loglevel=3"
i changed and add " pcie.aspm=0 r8168.eee_enable=0 pcie_aspm=off idle=poll" but still the same "hm2 error finishing read" (I restarted the PC)
i changed and add " pcie.aspm=0 r8168.eee_enable=0 pcie_aspm=off idle=poll" but still the same "hm2 error finishing read" (I restarted the PC)
Attachment not found
Please Log in to join the conversation.
2 years 1 day ago #313446
by PCW
Replied by PCW on topic Solution fo "hm2 error finishing read" with no good PC
That looks like the standard realtek 8168 driver rather than the DKMS driver
so it sounds like the DKMS driver install did not work for some reason
so it sounds like the DKMS driver install did not work for some reason
Please Log in to join the conversation.
2 years 1 day ago #313448
by royka
Replied by royka on topic Solution fo "hm2 error finishing read" with no good PC
Perhaps a newer kernel helps, here is version 6.10 rc1
drive.google.com/drive/folders/1L28lG0zD...2XQJx?usp=drive_link
drive.google.com/drive/folders/1L28lG0zD...2XQJx?usp=drive_link
Please Log in to join the conversation.
2 years 23 hours ago #313477
by rodw
Replied by rodw on topic Solution fo "hm2 error finishing read" with no good PC
Please follow steps 44-58 in the google doc on the other thread.
I don't think you have installed the r8168-dkms driver.
I don't think you have installed the r8168-dkms driver.
Please Log in to join the conversation.
2 years 16 hours ago #313500
by rajsekhar
Replied by rajsekhar on topic Solution fo "hm2 error finishing read" with no good PC
IRQ to be set to last cpu. That had worked for me.
Please Log in to join the conversation.
1 year 11 months ago #314309
by greg23_78
Replied by greg23_78 on topic Solution fo "hm2 error finishing read" with no good PC
This are the screenshots when I try to install r8168-dkms.I did not delete the first installation at the start of the post
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.118 seconds
