Nothing but network frustration with the 2.8.2 iso

More
01 Jan 2022 18:36 #230466 by jtrantow
I have three identical computers running LinuxCNC. I had a very reliable setup procedure starting from a 2.8.0 or 2.8.1 iso. (which seems to have disappeared???)

I foolishly decided to update my mill to 2.8.2 with a fresh install and it's been a frustrating experience. I've managed to work through several problems (brltty taking out my ttyUSB0 connection, screen saver lock, etc...) but I am still plagued by network disconnects. The computer has two built in network connections, one for a general network connection and one for the mesa 7i92. I can connect, ping, readhmid, and have the machine home but sometimes during the home it will get a read error and the os desktop indicates the mesa connection is lost.

I followed forum.linuxcnc.org/27-driver-boards/3559...ethernet-mesa-boards and while I previously didn't need it I have set:sudo ethtool -C enp0s25 rx-usecs 0sudo ethtool -C enp2s0 rx-usecs 0

I am using the same hardware that worked flawlessly under 2.8.1.

Any ideas on getting a reliable network connection with the 2.8.2 iso?

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

More
01 Jan 2022 19:22 #230468 by 0x2102
What are your latency numbers with this new build?

Can you post your ping times from your PC to your 7i92?

What type of NIC cards are you using?

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

More
01 Jan 2022 19:46 #230469 by jtrantow
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=73 ttl=64 time=0.340 ms
64 bytes from 10.10.10.10: icmp_seq=74 ttl=64 time=0.374 ms

latency is 18000, 24000 (similar numbers as my 2.8.1 machines. I thought this was lower??? I have grubline with isolcpus=0,1,2)

The NICs are built into the SuperMicro motherboard.
LAN1, Intel 82578DM
LAN2, Intel 82574L

The network connections go up/down even when LinuxCNC isn't running.
Did the 2.8.2 iso change recently??? Looks like brltty and nm_tray are gone?

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

More
01 Jan 2022 20:04 - 01 Jan 2022 20:05 #230471 by 0x2102
Mhh....those ping time seem quite high to me. I usually get below 0.100ms round-trip. Is there a network switch between your NIC card and the 7i92?

Can you post your ethtool output for the one going to your 7i92:

sudo ethtool -c enp2s0

 
Last edit: 01 Jan 2022 20:05 by 0x2102.

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

More
01 Jan 2022 20:20 #230475 by rodw
at a guess you have an intel NIC chipset.
Try following the instructions here and update yout interfaces file
linuxcnc.org/docs/2.8/html/man/man9/hm2_...FACE%20CONFIGURATION
The following user(s) said Thank You: jtrantow

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

More
01 Jan 2022 22:12 #230490 by jtrantow
I connected the mill's 7i92 to an identical computer running my lathe using 2.8.1 and it all works. I get similar ping times 0.350 ms. I have three machines running identical computers (two with mesa internet cards) and haven't needed to set ethtool in the past.

There is no switch between the motherboard NIC and the 7i92.

My 2.8.1 installed from an iso and it is also debian buster. Seems like something changed in the iso distribution that doesn't like my NIC.

If I use ethtool to change rx-usecs, my ping times get better (~0.2msec) but the mesa network connection still goes down.

sudo ethtool -C enp2s2 rx-usecs 0

cncbox@debian:~$ sudo ethtool -c enp2s0
Coalesce parameters for enp2s0:
Adaptive RX: off TX: off
stats-block-usecs: 0
sample-interval: 0
pkt-rate-low: 0
pkt-rate-high: 0

rx-usecs: 0
rx-frames: 0
rx-usecs-irq: 0
rx-frames-irq: 0

tx-usecs: 0
tx-frames: 0
tx-usecs-irq: 0
tx-frames-irq: 0

rx-usecs-low: 0
rx-frame-low: 0
tx-usecs-low: 0
tx-frame-low: 0

rx-usecs-high: 0
rx-frame-high: 0
tx-usecs-high: 0
tx-frame-high: 0


I have been using the Desktop's Advanced Network Configuration tool and my /etc/network/configuration file is essentially empty. Not sure that it matters but when the enp2s0 mesa connection goes down, I need to click the network toolbar to get it working again.

I have verified that my 2.8.1 lathe and router are running buster. If I can't figure this out today, I will just copy one of those hard drives onto my mill computer.

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

More
01 Jan 2022 23:47 #230502 by tommylight
uname -a
???

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

More
01 Jan 2022 23:49 #230503 by Hakan
May not be related, but I installed 2.8.2 iso and the wifi interface disconnected every other minute or so. Not reliable. Tried two different, same thing. There is also a problem to set keyboard layout, so I gave up. Installing debian 11 gives solid wifi, but I will go back to std debian 10 tomorrow and start from there.
The following user(s) said Thank You: jtrantow

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

More
02 Jan 2022 05:36 #230528 by jtrantow
On my working 2.8.1 installs, uname returns:
4.19.0-16-rt.amd64 #1 SMP PREEMPT RT Debian 4.19.181-1 (2013-03-19) x86-64 GUU/Linux

The 2.8.2 iso install returns::
4.19.0-17-rt amd64 #1 SMP PREEMPT RT Debian 4.19.194-2 (2021-06-21) x86-64 GUU/Linux

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

More
02 Jan 2022 05:45 #230529 by tommylight
That is OK.
Did the PC have CMOS reset by any chance to make it boot from USB when doing the new install?

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

Time to create page: 0.081 seconds
Powered by Kunena Forum