Mesa hm2/hm2_7i96s.0: error finishing read

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
04 Oct 2022 12:49 #253441 by JT
I might try that tomorrow on my debian 13 test SSD but I'm not trying it on my dev PC LOL.

JT
The following user(s) said Thank You: rodw

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

More
04 Oct 2022 19:47 #253464 by rodw

I might try that tomorrow on my debian 13 test SSD but I'm not trying it on my dev PC LOL.

JT

Let us know how you get on. Just check the package name I used against the experimental link I shared in case they've rolled forward to kernel 6.1 or something silly!

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

More
11 Oct 2022 11:40 #253956 by rodw
So I followed PCW's advice and added his flags to GRUB commandline
Some improvement in latency but got a following error within a few seconds
So I decided to upgrade the kernel

Followed these instructions wiki.debian.org/DebianExperimental

added this to /etc/sources.list
deb https://deb.debian.org/debian experimental main
then ran these commands
sudo apt update
sudo apt -t experimental install linux-image-6.0.0-rc7-rt-amd64

Rebooted into the 6.0 PREEMPT_RT Kernel
Latency seemed improved but got latency errors and the 7i76e TMAX did not seeme to improve. I might remove PCW's settings and see what happens.

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

More
11 Oct 2022 23:28 #253988 by tommylight
It happened to me, too! :)
Installed Mint 21 and RT 5.18 and it looses connection very, very quickly. Servo period at 2ms and it works all day.
Installed the 6.0 rc7 RT kernel, same damn thing as with 5.18, soooo..
Installed the 5.10 RT kernel and no issues at all at 1ms servo period, all day today.
Had already installed also the 4.19 RT but did not test as 5.10 worked.
Just in case, here is the link to 5.10 RT for AMD, just choose a mirror:
packages.debian.org/bullseye/amd64/linux...18-rt-amd64/download
The following user(s) said Thank You: JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
12 Oct 2022 11:27 #254015 by JT
I just installed the 5.10.0-18-rt-amd64_5.10.140-1_amd64.deb on my Debian 11 test machine and have my 7i96 running for an hour now with no errors.

JT
The following user(s) said Thank You: tommylight, rodw

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

More
12 Oct 2022 12:08 #254018 by rodw

I just installed the 5.10.0-18-rt-amd64_5.10.140-1_amd64.deb on my Debian 11 test machine and have my 7i96 running for an hour now with no errors.

JT

Me too!
Reverted to a Gigabyte N3160 USFF PC rthat already had Debian 11 installed (non-rt) and installed 5.10.0-18-rt-amd64 kernel with Synaptic. Compiled master as RIP
Latency was awesome after adding isolcpus=2,3 but I was still getting error finishing read.
Coaxed Linux to tell me that the NIC hardware was a Realtek RT8168.  I installed the Debian r8168-dkms driver and the problem seems to be solved.
hm2_7i76e.0.read.tmax has been sitting stable at 717140  for an hour or so. Before changing the driver it was up over 2,000,000!

So I think its fair to say the issue is Linux is installing the wrong NIC driver by default or has poor driver support for some Realtek NIC's from kernel 5.10 and on.

 

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
13 Oct 2022 11:45 #254065 by JT
Been running LinuxCNC for 24 hours now without an issue.

JT
The following user(s) said Thank You: rodw

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

More
13 Oct 2022 12:02 #254066 by tommylight
Reboot, start LinuxCNC as soon as the PC boots.
That will error out on my current PC.
Stating it again will work all day without issues.
I have it on auto start, so i will add a 15 second delay and see if it errors again.
Might be because i have also other programs that run on startup...

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

More
13 Oct 2022 12:11 #254068 by rodw
My little favourite PC has been re-released as the Odroid H3+ I'm tempted to grab one but it uses 2 x Realtek RTL8125 NIC's. Much better option thna the PI with An Intel Celeron.. if the NIC works... USD $165 so not a bad price for something that fits in the palm of your hand... I have a couple of the Odroid H2+ but th eone I use for LCNC is running Ethercat

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

More
16 Oct 2022 10:41 #254213 by bensttech
Gents,
          I am seeing something similar with an 7i95, The machine was stable on 2.8 but we have made our own GUI with qtpyvcp and python 3 and to run this we need 2.9 and running 2.9 we are getting spurious error finishing read! iter= error, I have been trying to pin this down as to what is going but am struggling. As can be seen from the HAL scope attached the latency is good most of the time then every so often (every coupe of seconds) the hm2_7i95.0.read.time jumps by factor of 10x then sure enough the read timeout error occurs. I have played around with kernel settings this has virtualy no effect, using the r8168-dkms driver has massive effect on bringing down the general read.time but the the spurious spikes are still there.
5.10.0-18-rt-amd64
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
model name      : Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz






 
Attachments:
The following user(s) said Thank You: arvidb

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

Moderators: PCWjmelson
Time to create page: 0.098 seconds
Powered by Kunena Forum