- Posts: 1108
- Thank you received: 599
Mesa hm2/hm2_7i96s.0: error finishing read
3 years 11 months ago #256229
by JT
Replied by JT on topic Mesa hm2/hm2_7i96s.0: error finishing read
My /etc/network/interfaces
JT
Code:
auto lo
iface lo inet loopback
auto enp9s0
iface enp9s0 inet static
address 10.10.10.11
netmask 255.255.255.0
hardware-irq-coalesce-rx-usecs 0
JT
Please Log in or Create an account to join the conversation.
3 years 11 months ago #256230
by PCW
Replied by PCW on topic Mesa hm2/hm2_7i96s.0: error finishing read
I wonder if you are being affected by the RTK driver issue rodw mentioned.
Please Log in or Create an account to join the conversation.
3 years 11 months ago #256233
by scotth
Replied by scotth on topic Mesa hm2/hm2_7i96s.0: error finishing read
Running 5.19.0-2-rt-amd64 #1 SMP PREEMPT_RT Debian 5.19.11-1 (2022-09-24) x86_64 x86_64 x86_64 GNU/Linux.
Using the patch Rodw recommended.
forum.linuxcnc.org/27-driver-boards/4691...ead?start=130#256114
No failure in 24 hours of running.
Using the patch Rodw recommended.
forum.linuxcnc.org/27-driver-boards/4691...ead?start=130#256114
No failure in 24 hours of running.
Please Log in or Create an account to join the conversation.
3 years 11 months ago #256240
by rodw
Replied by rodw on topic Mesa hm2/hm2_7i96s.0: error finishing read
I gave up on getting the kernel compiled and upgraded to bookworm 6.0. I have a win!
Discussed here
forum.linuxcnc.org/9-installing-linuxcnc...9-13?start=10#256235
I still don't understand why ping times are way high with isolcpus=2,3 but the tmax values are awesome. No finishing read errors after an hour or so. and no real time delays.
Its clearly to do with network drivers.
Discussed here
forum.linuxcnc.org/9-installing-linuxcnc...9-13?start=10#256235
I still don't understand why ping times are way high with isolcpus=2,3 but the tmax values are awesome. No finishing read errors after an hour or so. and no real time delays.
Its clearly to do with network drivers.
Please Log in or Create an account to join the conversation.
3 years 11 months ago #256246
by rodw
What drivers are installed for them?
Which one is the mesa card? sudo lshw -class networkorethtool -i eth0I know I've broken stuff for you before but the Odroid guys say to build the R8125 driver from the realtek source
The other one should be using the r8168-dkms driver
I wonder if we should be black listing existing drivers to get the R8168-dkm driver installed?
Replied by rodw on topic Mesa hm2/hm2_7i96s.0: error finishing read
The cards are always the same old suspects.I didn't have IRQ coalescing disabled because I thought that was only for Intel ethernet controllers.
[/code][/code]Code:john@cave:~$ lspci | egrep -i 'network|ethernet' 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) 09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04) [code][code]JT
What drivers are installed for them?
Which one is the mesa card? sudo lshw -class networkorethtool -i eth0I know I've broken stuff for you before but the Odroid guys say to build the R8125 driver from the realtek source
The other one should be using the r8168-dkms driver
I wonder if we should be black listing existing drivers to get the R8168-dkm driver installed?
Please Log in or Create an account to join the conversation.
3 years 11 months ago #256266
by rodw
Replied by rodw on topic Mesa hm2/hm2_7i96s.0: error finishing read
My Brix was left on all day while I was at work and not one error finishing read showed up!
So I am trying again to compile the 6.1 kernel on i3 but its failing very early in the build. I am starting from the 6.0 kernel non-realtime and preempt_rt both fail,
First I needed to add a few more dependencies
Perhaps somebody how has got this working could try building the deb. That would be more useful in the long term. The article says how to install it too
[/code]
It would be cool if we could offer a packaged deb. Hosted in Google Drive or something.
So I am trying again to compile the 6.1 kernel on i3 but its failing very early in the build. I am starting from the 6.0 kernel non-realtime and preempt_rt both fail,
First I needed to add a few more dependencies
Code:
sudo apt install build-essential bin86 #libncurses5-dev pkg-config libssl-dev flex bison qtbase5-dev openssl libelf-dev
Code:
Then I got
Code:
CC /home/debian/devel/rtlinux/linux-6.1-rc3/tools/bpf/resolve_btfids/str_error_r.o
LD /home/debian/devel/rtlinux/linux-6.1-rc3/tools/bpf/resolve_btfids/resolve_btfids-in.o
LINK resolve_btfids
make: *** [Makefile:1254: scripts] Error 2
make: *** Waiting for unfinished jobs....
Code:
This article
says its possible to build a deb with
Code:
make -j $(nproc) deb-pkg
Code:
[code]for pkg in ./*.deb; do sudo dpkg -i $pkg; done
It would be cool if we could offer a packaged deb. Hosted in Google Drive or something.
Please Log in or Create an account to join the conversation.
Time to create page: 0.407 seconds