"error finishing read" with Mesa 7i92T on fresh install

More
20 Jul 2024 11:01 #305692 by rodw

Rod: Your detailed document was extremely helpful. It might be worth adding a small blurb about editing /etc/default/grub and running sudo update-grub to get them to stick, or point folks to an existing location where that procedure is documented. I struggled to find a canonical "clean" location of documentation for how to do that. askubuntu.com/questions/19486/how-do-i-a...ernel-boot-parameter was the closest I could find.
 

There is an easier way to do this. The Linuxcnc ISO includes grub-customizer (finally in the debian bookworm repository) which allows you to edit grub settings in a Graphical environment and bypasses the need to update-grub eg.
sudo apt install grub-customizer (if not using the Linuxcnc ISO)
sudo grub-customizer
The following user(s) said Thank You: shasse

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

More
20 Jul 2024 11:22 #305693 by rodw
Using grub-customizer is covered under the heading optional steps. I added some additional detail about EEE and ASPM
Please let me know if it needs changing
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing
The following user(s) said Thank You: shasse

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

More
20 Jul 2024 21:40 #305727 by shasse
That looks good Rod, thank you. I had previously just jumped to the driver section.

For the record, it appears that both updating the driver and setting the kernel parameters are needed. I did a fresh install and just changed the kernel parameters and still encountered the problem.

Once I also updated the ethernet drivers the issue was resolved.
The following user(s) said Thank You: PCW, rodw

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

More
20 Jul 2024 22:19 #305729 by rodw

That looks good Rod, thank you. I had previously just jumped to the driver section.

For the record, it appears that both updating the driver and setting the kernel parameters are needed. I did a fresh install and just changed the kernel parameters and still encountered the problem.

Once I also updated the ethernet drivers the issue was resolved.

I think that would be right because the 8168 driver is not part ot the default kernel. The dkms driver compiles and installs kernel source. THis is why you need the linux-headers for your kernel. dkms should also recompile the driver if you install a different kernel.
The following user(s) said Thank You: shasse

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

More
23 Feb 2025 06:25 #322336 by Vector
Hey guys,

I'm rebuilding my system after the fires and power surges near LA knocked out my last CNC computer, and I skipped the step on updating the Realtek driver.

I followed the procedure in Rodw's document (thank you again Rodw for all this amazing documentation) but when I'm done, my network to the Mesa card does not come up.

Just to be sure I'm on the right document: docs.google.com/document/d/1jeV_4VKzVmOI..._PhCm1x7oiw8VcLFdiY/

The results of
sudo lshw -C network

includes:
*-network UNCLAIMED       
       description: Ethernet controller
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

My first google attempts haven't solved it, but I'll report back if I do.

But if you guys know what I've done wrong, please shout out. 

BTW: I did discover that if I do what Rodw mentions in the document:
sudo apt purge r8168-dkms

Then I can get the network card back up again. But then it's back to the bad driver too. 

I thought to do:
sudo apt purge r8169

... but I'm afraid I might never get it working again !
 

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

More
23 Feb 2025 06:34 #322337 by Vector
PS: I realized that r8169 is not really even a thing, it's just kinda part of the kernel, but just to be sure that wouldn't fix anything, I did try:
sudo apt purge r8169

but nothing happens: it's an error since that's not a thing that's been installed, unlike the r8168-dkms.

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

More
23 Feb 2025 06:59 #322338 by Vector
Rod, I'm going to try your 6.3 rt kernel...

note that I think the document docs.google.com/document/d/1jeV_4VKzVmOI...I_PhCm1x7oiw8VcLFdiY

has a typo on line 40... it should be:
sudo dpkg -i linux-headers (tab)
not 
sudo dpkg -i linux-source (tab)

It's really awesome that you put that package up there. 
The following user(s) said Thank You: rodw

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

More
23 Feb 2025 07:22 #322339 by rodw
My 6.3 kernel is quite old now but still ahead of Bookworm's 6.1 kernel
Sometimes I have lost my network with the R8168 and have been able to boot into a different kernel on the system to resolve it. Except I can't remember what I resolved! I think I needed to download something from the internet or run apt

I updated the typo
The following user(s) said Thank You: Vector

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

More
23 Feb 2025 07:27 #322340 by Vector
Aaaand!

You guys are totally awesome!

Installing the 6.3 rt kernel first fixed the network not working after updating to the R8168 driver.

And that driver changed my ping rtt stats obtained from:
sudo chrt 99 ping -i .001 -q 10.10.10.10

from max > 3.0ms to max < 0.2 ms.

Wow.

Hopefully this will improve my error finishing read issues!

Thank you, thank you again!
The following user(s) said Thank You: rodw

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

More
23 Feb 2025 07:29 #322341 by Vector
Yeah, well, I'm considering putting in the effort to compile that 6.6-rt that's over at kernel.org... but then... this might be working, and since pretty soon they'll be out with Debian 13 and then what is it, 6.12? So I dunno.

You were and are a hero to post that super-easy 6.3 install. Thanks again!
The following user(s) said Thank You: rodw

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

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