Mesa hm2/hm2_7i96s.0: error finishing read

More
3 years 11 months ago #256113 by scotth
How do I make this stay? It reverts after reboot.

Please Log in to join the conversation.

More
3 years 11 months ago #256114 by rodw

Please Log in to join the conversation.

More
3 years 11 months ago #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.
Code:
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
Code:
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 to join the conversation.

More
3 years 11 months ago #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:
Code:
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 to join the conversation.

More
3 years 11 months ago #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.
Code:
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 to join the conversation.

More
3 years 11 months ago #256213 by JT
I just tried 6.1 and got hm2/hm2_7i96s.0: error finishing read! iter=73208
Code:
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.
Code:
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

Please Log in to join the conversation.

More
3 years 11 months ago #256217 by PCW
What are your ping times with 6.1 and do you have IRQ coalescig disabled?

Please Log in to join the conversation.

More
3 years 11 months ago #256228 by JT
I didn't have IRQ coalescing disabled because I thought that was only for Intel ethernet controllers.
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)

Before adding hardware-irq-coalesce-rx-usecs 0
Code:
--- 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
Code:
--- 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 to join the conversation.

More
3 years 11 months ago #256229 by JT
My /etc/network/interfaces
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 to join the conversation.

More
3 years 11 months ago #256230 by PCW
I wonder if you are being affected by the RTK driver issue rodw mentioned.

Please Log in to join the conversation.

Time to create page: 0.280 seconds
Powered by Kunena Forum