Mesa hm2/hm2_7i96s.0: error finishing read
02 Nov 2022 14:23 - 02 Nov 2022 14:24 #255788
by PCW
Replied by PCW on topic Mesa hm2/hm2_7i96s.0: error finishing read
Since the debian rt kernels seem to be broken, it may require a home built
kernel for distribution. I have never seen the extremely high error rates that
people in this thread have shown
(These seem exclusively to happen with pre-built debian kernels)
I wish I knew what the difference between 4.19 and 5.X kernels was.
On my 8300, the 4.19.255-rt113 kernel runs a 4 KHZ servo thread with 0 timeouts
with youtube videos running, but with a 5.18 kernel it will only run a 1 KHz
servo thread and will get a few timeouts a day (but no errors)
I tried to compile the 5.2 kernel that arvidb built to do some crude bisection
tests, but it cannot be compiled on a Mint 20 system due to some makefile bugs
with GCC 9.x. I will try some others.
kernel for distribution. I have never seen the extremely high error rates that
people in this thread have shown
(These seem exclusively to happen with pre-built debian kernels)
I wish I knew what the difference between 4.19 and 5.X kernels was.
On my 8300, the 4.19.255-rt113 kernel runs a 4 KHZ servo thread with 0 timeouts
with youtube videos running, but with a 5.18 kernel it will only run a 1 KHz
servo thread and will get a few timeouts a day (but no errors)
I tried to compile the 5.2 kernel that arvidb built to do some crude bisection
tests, but it cannot be compiled on a Mint 20 system due to some makefile bugs
with GCC 9.x. I will try some others.
Last edit: 02 Nov 2022 14:24 by PCW.
The following user(s) said Thank You: arvidb
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 18741
- Thank you received: 6300
02 Nov 2022 14:39 #255793
by tommylight
Replied by tommylight on topic Mesa hm2/hm2_7i96s.0: error finishing read
Just tested the new 6.0.2 RT kernel on 2 PC's, still the same issue just worst.
Latency histogram is OK on both with plenty of load.
Pretty sure one uses an Intel NIC, the other i have to check.
This is not related just to LinuxCNC, internet is really slow on both, one through wireless the other through LAN.
Very often it just sits on connecting to site....
Latency histogram is OK on both with plenty of load.
Pretty sure one uses an Intel NIC, the other i have to check.
This is not related just to LinuxCNC, internet is really slow on both, one through wireless the other through LAN.
Very often it just sits on connecting to site....
Please Log in or Create an account to join the conversation.
02 Nov 2022 17:36 - 03 Nov 2022 01:23 #255798
by PCW
Replied by PCW on topic Mesa hm2/hm2_7i96s.0: error finishing read
Did you build the 6.x kernel?
Here's the latest RT kernel on my Elite 800 G1 (which is not great on any kernel)
This is after about 1.5 hours with youtube videos playing:
EDIT: Now ~8 hours on the Elite 800 G1 and no worse on the tmax's,
so 6.1 seems about as good as 4.19 on that hardware
I also tried 6.1 on my 8300 and its almost as good as 4.19 at 4KHz
(and much better than the few 5.x kernels I have tried)
Here's the latest RT kernel on my Elite 800 G1 (which is not great on any kernel)
This is after about 1.5 hours with youtube videos playing:
EDIT: Now ~8 hours on the Elite 800 G1 and no worse on the tmax's,
so 6.1 seems about as good as 4.19 on that hardware
I also tried 6.1 on my 8300 and its almost as good as 4.19 at 4KHz
(and much better than the few 5.x kernels I have tried)
Attachments:
Last edit: 03 Nov 2022 01:23 by PCW.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 18741
- Thank you received: 6300
02 Nov 2022 17:41 #255799
by tommylight
I tend to stick to ready made stuff to make it easier for new users to use LinuxCNC.
Replied by tommylight on topic Mesa hm2/hm2_7i96s.0: error finishing read
No, i used the one found on the Debian repos.Did you build the 6,x kernel?
I tend to stick to ready made stuff to make it easier for new users to use LinuxCNC.
Please Log in or Create an account to join the conversation.
02 Nov 2022 17:53 #255800
by PCW
Replied by PCW on topic Mesa hm2/hm2_7i96s.0: error finishing read
Yeah, except it looks like the debian RT kernels are bad...
Please Log in or Create an account to join the conversation.
04 Nov 2022 21:40 #255968
by rodw
Replied by rodw on topic Mesa hm2/hm2_7i96s.0: error finishing read
Has anyone tried a PC with an inbuilt Intel 2.5 Gb NIC on board (a 1225v)?
I've been looking at options to build a PC for linuxcnc with an I3 (have not done that for over 15 years)
Apparently the NIC requires the intel .igc driver which was added in kernel 5.16. Bookworm seems like its rolled forward to the 6.0 kernel now so it should be supported. Boards like the Gigabyte B560M Aorus Pro have this NIC and result in a more affordable build than others with Intel 1 gb NIC on board.
Interesting looking at some reviews on the Intel EXPI9301CTBLK PCI-Express Gigabit Network Adapter I am considering, there were a number of reviews from linux users along the lines of:
I've found from experience that Intel NICs tend to be particularly good. I'm a Linux user, and Intel's NICs are well-supported, they tend to Just Work, and work well. Sure enough, threw this in to a Ubuntu 18.04.1 machine, and it was immediately recognised and I was away.
and
If you care about throughput then you need an Intel card. Virtually all other NICs out there use the Realtek chip which has issues on Linux which are very well documented. Realtek NICs also don’t deliver true gigabit throughput very often in my experience.
I think we care about Throughput......
Sadly all the USFF PC's seem to use Realtek...
If we could come up with a simple hardware recommendation, it would be helpful...
I've been looking at options to build a PC for linuxcnc with an I3 (have not done that for over 15 years)
Apparently the NIC requires the intel .igc driver which was added in kernel 5.16. Bookworm seems like its rolled forward to the 6.0 kernel now so it should be supported. Boards like the Gigabyte B560M Aorus Pro have this NIC and result in a more affordable build than others with Intel 1 gb NIC on board.
Interesting looking at some reviews on the Intel EXPI9301CTBLK PCI-Express Gigabit Network Adapter I am considering, there were a number of reviews from linux users along the lines of:
I've found from experience that Intel NICs tend to be particularly good. I'm a Linux user, and Intel's NICs are well-supported, they tend to Just Work, and work well. Sure enough, threw this in to a Ubuntu 18.04.1 machine, and it was immediately recognised and I was away.
and
If you care about throughput then you need an Intel card. Virtually all other NICs out there use the Realtek chip which has issues on Linux which are very well documented. Realtek NICs also don’t deliver true gigabit throughput very often in my experience.
I think we care about Throughput......
Sadly all the USFF PC's seem to use Realtek...
If we could come up with a simple hardware recommendation, it would be helpful...
Please Log in or Create an account to join the conversation.
05 Nov 2022 01:27 #255980
by arvidb
Replied by arvidb on topic Mesa hm2/hm2_7i96s.0: error finishing read
We don't care about throughput, we care about latency. Which is often contradictory to throughput unfortunately. (Probably even an ancient 10BASE-T link would have more than enough throughput for a Mesa card...)
Sorry, no experience with the 2.5 Gbit/s NICs.
Sorry, no experience with the 2.5 Gbit/s NICs.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 18741
- Thank you received: 6300
05 Nov 2022 02:29 #255984
by tommylight
Replied by tommylight on topic Mesa hm2/hm2_7i96s.0: error finishing read
Well as luck would have it i have no 2.5GB ethernet, but i do have 10GB on this PC.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
06 Nov 2022 11:54 #256059
by JT
JT
Replied by JT on topic Mesa hm2/hm2_7i96s.0: error finishing read
Do you do a search for preempt and make sure fully preempt is checked?Yes, I just use the kernel.org sources and RT patches and build with a script like:
mkdir rtlinux
cd rtlinux
wget www.kernel.org/pub/linux/kernel/v5.x/linux-5.10.145.tar.xz
wget www.kernel.org/pub/linux/kernel/projects...10.145-rt74.patch.gz
tar -xpf linux-5.10.145.tar.xz
gunzip patch-5.10.145-rt74.patch.gz
cp patch-5.10.145-rt74.patch linux-5.10.145
cd linux-5.10.145
cat patch-5.10.145-rt74.patch | patch -p1
make xconfig
make -j4
sudo make INSTALL_MOD_STRIP=1 modules_install
sudo make install
Usually the only thing I change (if needed) in xconfig is the preemption mode.
JT
Please Log in or Create an account to join the conversation.
06 Nov 2022 13:11 #256063
by JT
Replied by JT on topic Mesa hm2/hm2_7i96s.0: error finishing read
I built the linux-5.10.153 kernel with the patch-5.10.153-rt76 using the instructions I created from PCW's information.
gnipsel.com/linuxcnc/kernel.html
I still get hm2/hm2_7i96s.0: error finishing read! itr-138855
Going to try Tommy's 5.10 kernel next.
gnipsel.com/linuxcnc/kernel.html
I still get hm2/hm2_7i96s.0: error finishing read! itr-138855
sudo dmidecode -s system-manufacturer
ASUS
john@cave:~$ sudo dmidecode -s baseboard-product-name
TUF GAMING B550-PRO
john@cave:~$ sudo lshw -short -C memory
H/W path Device Class Description
================================================================
/0/0 memory 64KiB BIOS
/0/31 memory 32GiB System Memory
/0/31/0 memory [empty]
/0/31/1 memory 16GiB DIMM DDR4 Synchronous
/0/31/2 memory [empty]
/0/31/3 memory 16GiB DIMM DDR4 Synchronous
/0/34 memory 384KiB L1 cache
/0/35 memory 3MiB L2 cache
/0/36 memory 32MiB L3 cache
john@cave:~$ sudo lshw -short -C disk
H/W path Device Class Description
================================================================
/0/100/1.1/0/0 hwmon0 disk NVMe disk
/0/100/1.1/0/1 /dev/nvme0n1 disk 1TB NVMe disk
/0/100/1.2/0.1/0 /dev/cdrom disk DVD-ROM TS-H353B
/0/100/1.2/0.1/1 /dev/sda disk 2TB WDC WD20EZRX-00D
john@cave:~$ grep processor /proc/cpuinfo
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7
processor : 8
processor : 9
processor : 10
processor : 11
john@cave:~$ grep 'cpu MHz' /proc/cpuinfo
cpu MHz : 2373.276
cpu MHz : 2474.836
cpu MHz : 2879.039
cpu MHz : 2887.139
cpu MHz : 3293.267
cpu MHz : 2870.521
cpu MHz : 2861.481
cpu MHz : 2969.469
cpu MHz : 2878.147
cpu MHz : 2916.983
cpu MHz : 3498.044
cpu MHz : 2875.148
Going to try Tommy's 5.10 kernel next.
Please Log in or Create an account to join the conversation.
Time to create page: 0.164 seconds