qtplasmac (Operation Error: hm2/hm2_7i76e.0:) in middle of cut

More
14 Aug 2024 20:02 - 14 Aug 2024 20:17 #307739 by PCW
I've heard that ethtools been replaced by ip but AFAIK ip
does not have low level driver control options so cannot
change IRQ coalescing for example.

Just saying that regardless of distribution used, a LinuxCNC
ISO should include it.
Last edit: 14 Aug 2024 20:17 by PCW.

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

More
14 Aug 2024 20:48 #307745 by rodw
Some of these things were not well known and understood when 2.91 was released

PCW post=307735 userid=481This brings up the question is why in the world is ethtool not included in the
LinuxCNC distribution (plus the RT8168 DKMS driver should be as well)

These affect all LinuxCNC Ethernet connected motion devices, not just Mesa

You can send a PR adding ethtool to here github.com/LinuxCNC/linuxcnc-live-build/...sts/desktop.list#L49

The R8168-dkms driver is a bit of a funny one. Its excluded from the default kernel. I suspect the reason is political. I suspect it includes Realtek binaries so not technically open source. But where do you stop? What about the R8125dkms driver many of the recent  micro PCs like the Odroid H3 need?

Plus I am not sure the dkms drivers are benign where no realtek hardware is installed and it then needs compiling on every kernel upgrade

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

More
14 Aug 2024 21:31 - 14 Aug 2024 21:35 #307748 by PCW
Since they are loadable kernel modules a DKMS RealTek driver
should have no effect on a system without RealTek hardware.
(since the driver would never be loaded)

"An essential feature of DKMS is that it automatically recompiles all DKMS modules if a new kernel version is installed. This allows drivers and devices outside of the mainline kernel to continue working after a Linux kernel upgrade"
Last edit: 14 Aug 2024 21:35 by PCW.

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

More
15 Aug 2024 03:49 #307764 by rodw

"An essential feature of DKMS is that it automatically recompiles all DKMS modules if a new kernel version is installed. This allows drivers and devices outside of the mainline kernel to continue working after a Linux kernel upgrade"

Yes, from what I have observed, the R8168-dkms driver is recompiled  as you describe. It requires the RT Linux-headers, It is quite time consuming to build. If it fails and it has a few times for me, you can end up with a system with no network. The solution is to sudo apt purge r8168-dkms. This is mentioned in the Debian package page for the driver, but its not intuitive. A couple of times, I had to boot into a different kernel (eg the non-rt one) to recover. Just in my experience it brings with it some issues so it may be better for the user to have control.

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

More
15 Aug 2024 20:29 #307838 by PCW
It seem to me its would be better to have the released ISO work with RealTek hardware
(which requires the DKMS driver) regardless of possible issue when upgrading the kernel
(which should be a rare operation)
The following user(s) said Thank You: rodw

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

More
16 Aug 2024 00:48 #307857 by tommylight
Anyone tested the new kernels, 6.8 and up?

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

More
16 Aug 2024 17:27 #307946 by RMJ fabrication
Did I do these steps correctly? Do I have IRQ coalescing disabled now?
 
Attachments:

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

More
16 Aug 2024 18:27 #307951 by PCW
That should do it (until you reboot)

you can verify with

ethtool -c enp0s25

You might retry the ping test

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

More
20 Aug 2024 15:39 #308223 by RMJ fabrication
I dont think IRQ coalescing is disabled I still get the error every time. How do I disable IRQ coalescing permanently?
   
Attachments:

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

More
20 Aug 2024 16:16 #308226 by PCW
Possibly the executable path is different for root so ethtool is not found unless you use sudo

so maybe try:

sudo ethtool -c enp0s25

to see if IRQ coalescing is disabled

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

Moderators: snowgoer540
Time to create page: 0.252 seconds
Powered by Kunena Forum