Mesa hm2/hm2_7i96s.0: error finishing read

More
3 years 10 months ago #259148 by rodw
I don't think getting a machine to work by accdent really counts moving forward to a solution.
I have wondered about NIC parameters.
I am wondering if the hm2-eth driver can be improved to compensate. Maybe its the way we do things..

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

More
3 years 10 months ago #259158 by PCW
I think the issue is kernel driver related (though it may be unrelated drivers such as
video drivers)

To test ping times , you must run the test at a real time priority, and run the test for a long time, something like:

sudo chrt 99 ping -i .001 -q 10.10.10.10
The following user(s) said Thank You: tommylight, JT

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

More
3 years 10 months ago #259159 by rodw
For a short time, the average was 0.129. The Max is meaningless as its the first ping and no doubt is distorting the result.
Trying for a long time now.......

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

More
3 years 10 months ago #259177 by rodw
After 4 hours
Code:
--- 10.10.10.10 ping statistics --- 14022619 packets transmitted, 14022619 received, 0% packet loss, time 14037118ms rtt min/avg/max/mdev = 0.056/0.129/0.881/0.054 ms
The max is still likely to be the startup command. I gusee but the average is good @ 0.129

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

More
3 years 10 months ago #259247 by rodw
Moving on, I started to work on another J1900 based industrial PC.
I've had absolutely no luck building kernels on a fresh version of Bookworm with the 6.0 kernel.
After updating the earlier script to use the Release Candidate 7 following advances in the kernel versioning,
It failed because it could not find  System.map

I then tried to build it the Debian way
www.dwarmstrong.org/kernel/
which refers to the  debian handbook
debian-handbook.info/browse/stable/sect.kernel-compilation.html
and it failed too. So I have a couple of PC's now which are essentially useless for use with Mesa cards. Very frustrating
It would be interesting to see if somebody could actually build the kernel the Debian way and share the resulting deb for testing.
(use linuxcnc instead of custom when naming it)

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

More
3 years 10 months ago - 3 years 10 months ago #259339 by rodw
Try these debs for 6.1 Install headers first or the image might have issues.
linux-headers
drive.google.com/file/d/1BMtApShC1G1vQZK...Ta1/view?usp=sharing
Linux-image
drive.google.com/file/d/1mjv1nKsTdPTDPcL...B0q/view?usp=sharing
Reboot
Then:
set isolcpus=2,3
if needed:
sudo apt-get install r8168-dkms
reboot
So far so good. It was hopeless without isolcpus and the r8168 driver
Code:
plasma2@plasma2:~$ halcmd show param hm2*tmax* Parameters: Owner   Type  Dir         Value  Name     36  s32   RW              0  hm2_7i76e.0.read-request.tmax     36  bit   RO          FALSE  hm2_7i76e.0.read-request.tmax-increased     36  s32   RW         662184  hm2_7i76e.0.read.tmax     36  bit   RO          FALSE  hm2_7i76e.0.read.tmax-increased     36  s32   RW         391176  hm2_7i76e.0.write.tmax     36  bit   RO          FALSE  hm2_7i76e.0.write.tmax-increased

The journey goes something like this:
Code:
sudo apt update sudo apt install build-essential bin86 libncurses5-dev pkg-config libssl-dev sudo apt install dwarves bison flex gnupg libelf-dev libssl-dev wget qt5-devel wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.tar.xz wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.tar.xz.sign unxz -c linux-6.1.tar.xz | gpg --verify linux-6.1.tar.sign - tar xvf linux-6.1.tar.xz wget https://www.kernel.org/pub/linux/kernel/projects/rt/6.1/patch-6.1-rc7-rt5.patch wget https://www.kernel.org/pub/linux/kernel/projects/rt/6.1/patch-6.1-rc7-rt5.patch.sign unxz -c linux-6.1.tar.xz | gpg --verify linux-6.1.tar.sign - gunzip patch-6.1-rc7-rt5.patch.gz cp patch-6.1-rc7-rt5.patch linux-6.1 cat patch-6.1-rc7-rt5.patch | patch -p1 cd linux-6.1 make clean && make mrproper make xconfig scripts/config --disable SYSTEM_REVOCATION_KEYS scripts/config --disable DEBUG_INFO scripts/config --enable DEBUG_INFO_NONE scripts/config --set-str SYSTEM_TRUSTED_KEYS "" make -j4 deb-pkg LOCALVERSION=-linuxcnc cd .. sudo dpkg -i linux-image-6.1.0-rt5-linuxcnc-rt_6.1.0-rt5-linuxcnc-4_amd64.deb sudo dpkg -i linux-headers-6.1.0-rt5-linuxcnc-rt_6.1.0-rt5-linuxcnc-4_amd64.deb

Check the deb names as they change with each version
Nice to know that a deb can work... Only one idiot needs to build it.
Last edit: 3 years 10 months ago by rodw.
The following user(s) said Thank You: IlyaKw, slukas

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

Moderators: PCW, jmelson
Time to create page: 0.422 seconds
Powered by Kunena Forum