Mesa hm2/hm2_7i96s.0: error finishing read

More
07 Nov 2022 03:19 #256113 by scotth
How do I make this stay? It reverts after reboot.

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

More
07 Nov 2022 04:45 #256114 by rodw
The following user(s) said Thank You: scotth

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

More
08 Nov 2022 12:05 #256209 by rodw
I'm not sure if anybody can hep but I compiled the 6.1 kernel per Peter's instructions but at the end of the
sudo make INSTALL_MOD_STRIP=1 modules_install 
command, I got 

I got this error and make install did not work.
Warning: modules_install: missing 'System.map' file. Skipping depmod.
packing@packing:~/devel/rtlinux/linux-6.1-rc3$ make install
  INSTALL /boot

 *** Missing file: arch/x86/boot/bzImage
 *** You need to run "make" before "make install".

make: *** [arch/x86/Makefile:286: install] Error 1

Also as an aside, after several upgrades this PC starting with the Bullsye 5.10 kernel got this kernel
packing@packing:~/devel$ uname -v
#1 SMP PREEMPT_DYNAMIC Debian 6.0.5-1 (2022-10-28)
Any ideas about this?
From what I can gather I can now add preempt=full to grub  but I don't know if this will give me the fully preemptible kernel. I'll see what happens
It would be coolif we could set PREEMPT_RT from a grub setting. So here goes...

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

More
08 Nov 2022 12:48 #256211 by rodw
Well, that got me nowhere!
Reverted to the PREEMPT_RT debian deb for the 6.0 kernel
Now I've lost my ethernet card to the Mesa 7i76e grrr...

so tried this:
sudo lshw -C network which finds the card:
 *-network UNCLAIMED
       description: Ethernet controller
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
then thought we probably need the headers for the r8168-dkms driver
sudo apt-get install linux-headers-$(uname -r)

time to reboot because I saw it compile the driver we need.

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
08 Nov 2022 12:57 #256212 by JT

I would try 6.1 and 4.19

6.1:

sudo apt-get update
sudo apt-get install build-essential bin86 kernel-package libqt4-dev #libncurses5-dev pkg-config libssl-dev

mkdir rtlinux
cd rtlinux
wget git.kernel.org/torvalds/t/linux-6.1-rc3.tar.gz
wget www.kernel.org/pub/linux/kernel/projects...6.1-rc3-rt2.patch.gz
tar -xpf linux-6.1-rc3.tar.gz
gunzip patch-6.1-rc3-rt2.patch.gz
cp patch-6.1-rc3-rt2.patch linux-6.1-rc3
cd linux-6.1-rc3
cat patch-6.1-rc3-rt2.patch | patch -p1
make xconfig
make -j4
sudo make INSTALL_MOD_STRIP=1 modules_install
sudo make install

4.19
cd ~
sudo apt-get update
sudo apt-get install build-essential bin86 kernel-package libqt4-dev #libncurses5-dev pkg-config libssl-dev

mkdir rtlinux
cd rtlinux
wget www.kernel.org/pub/linux/kernel/v4.x/linux-4.19.255.tar.xz
wget www.kernel.org/pub/linux/kernel/projects...9.255-rt113.patch.gz
tar -xpf linux-4.19.255.tar.xz
gunzip patch-4.19.255-rt113.patch.gz
cp patch-4.19.255-rt113.patch linux-4.19.255
cd linux-4.19.255
cat patch-4.19.255-rt113.patch | patch -p1
make xconfig
make -j4
sudo make modules_install
sudo make install


Both work acceptably on my somewhat troublesome Elite 800 G1
 

I get the following error when I try and install the packages.
john@cave:~$ sudo apt install build-essential bin86 kernel-package libqt4-dev #libncurses5-dev pkg-config libssl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package kernel-package is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'kernel-package' has no installation candidate
E: Unable to locate package libqt4-dev

JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
08 Nov 2022 13:52 #256213 by JT
I just tried 6.1 and got hm2/hm2_7i96s.0: error finishing read! iter=73208
john@cave:~$ uname -a
Linux cave 6.1.0-rc3-rt2 #1 SMP PREEMPT_RT Tue Nov  8 07:41:12 CST 2022 x86_64 GNU/Linux

I used the following corrected code to build and install.
sudo apt update
sudo apt install build-essential bin86 #libncurses5-dev pkg-config libssl-dev

mkdir rtlinux
cd rtlinux
wget git.kernel.org/torvalds/t/linux-6.1-rc3.tar.gz
wget https://www.kernel.org/pub/linux/kernel/projects/rt/6.1/patch-6.1-rc3-rt2.patch.gz
tar -xpf linux-6.1-rc3.tar.gz
gunzip patch-6.1-rc3-rt2.patch.gz
cp patch-6.1-rc3-rt2.patch linux-6.1-rc3
cd linux-6.1-rc3
cat patch-6.1-rc3-rt2.patch | patch -p1
make xconfig
make -j $(nproc)
sudo make INSTALL_MOD_STRIP=1 modules_install
sudo make install

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

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

More
08 Nov 2022 15:20 #256217 by PCW
What are your ping times with 6.1 and do you have IRQ coalescig disabled?

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
08 Nov 2022 18:17 #256228 by JT
I didn't have IRQ coalescing disabled because I thought that was only for Intel ethernet controllers.
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)

Before adding hardware-irq-coalesce-rx-usecs 0
--- 10.10.10.10 ping statistics ---
20 packets transmitted, 20 received, 0% packet loss, time 19456ms
rtt min/avg/max/mdev = 0.077/0.083/0.117/0.008 ms

After
--- 10.10.10.10 ping statistics ---
18 packets transmitted, 18 received, 0% packet loss, time 17392ms
rtt min/avg/max/mdev = 0.072/0.080/0.116/0.009 ms

JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
08 Nov 2022 18:18 #256229 by JT
My /etc/network/interfaces
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.

More
08 Nov 2022 18:19 #256230 by PCW
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.

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