A little help understanding what's going on with the pncconf wizard...

More
29 Sep 2023 17:06 #281867 by Sparkman61

What PC hardware do you have and what Ethernet chip does it use?
lshw -class network

will show the network hardware



 


*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 15
serial: 84:47:09:18:d4:e2
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.1.0-12-rt-amd64 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=10.10.10.11 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:23 ioport:e000(size=256) memory:c1304000-c1304fff memory:c1300000-c1303fff

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

More
29 Sep 2023 19:00 #281871 by PCW
What host PC and what CPU clock speed?

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

More
29 Sep 2023 21:41 #281886 by Sparkman61
It's a mini with a Intel Celeron J4125 processor 2.7 GHz with 8Gb DDR4 RAM and 128Gb SSD.  Built-in Intel UHD Graphics 600. 

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

More
29 Sep 2023 21:50 #281887 by PCW
OK, The CPU frequency is important as the TMAX values are in
CPU clocks on X86 hardware.

It may be that you can get this to work at a 2 ms servo thread period
(the servo thread TMAX of ~19000000 clocks would be about .7 ms)

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

More
29 Sep 2023 22:59 #281890 by rodw
You have been hit by a double whammy here.
1. A less than perfect kernel for your hardware
2. Very poor kernel support dor the network driver you have

Your hardware will benefit from a later kernel. Please dowload my 6.3 kernel and headers from here
drive.google.com/drive/folders/1NzQIHnf9...OxaER?usp=drive_link
install with
sudo dpkg -i linux-headers(tab)
sudo dpkg -i linux-image(tab)
where  I say (tab) press the tab button to auto complete
reboot and make sure you select the 6.3 kernel from the grub menu if its not the default
The next step is to install the r8168-dkms driver for your nic
sudo apt install dkms
sudo apt install r8168-dkms
reboot into the correct 6.3 kernel and see how you go. These two steps together have solved error finishing read on many PC's with similar specs. It should be fine.

This is all covered in detail in the docs here linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html
The following user(s) said Thank You: Sparkman61

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

More
29 Sep 2023 23:06 #281891 by Sparkman61
I will give this a shot this evening. Thanks for the assist. I will let you guys know how it goes. 

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

More
30 Sep 2023 00:19 #281892 by Sparkman61
is it normal for the 81mb file to take so long to download?

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

More
30 Sep 2023 00:44 #281894 by Sparkman61
Finally got it downloaded and ran per instructions but the sudo dpkg -i linux-image ... exited with errors - some of this looks like it might be related to raspberry PI but before I execute this, I thought it best to ask if this is "normal". Please see attached.
Attachments:

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

More
30 Sep 2023 01:48 #281899 by rodw
Odd, the raspi error was a bug in Bookworm 12.0 that was fixed in the 12.1 update. I had not see it break before.
Forget the kernel for now. Do
sudo apt update
sudo apt upgrade

That should get you to 12.1
Then do the dkms driver thing

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

More
30 Sep 2023 01:54 #281900 by Sparkman61
The suspense was killing me so I went forward without confirmation that the errors thrown were not going to be too dangerous and at least the thing sill boots - with the 6.3.0-rt11-linux #2 SMP PREEMPT_RT kernel no less! Moreover, ethtool confirms that it is using the r8168 driver.
Now to test linuxcnc and see if it still throws errors. If it does, I guess I'll be in the market for a new PC to run this on. Wish me luck!

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

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