LinuxCNC on Linux Mint Debian Edition 6

More
17 Apr 2024 14:54 #298451 by bkt
acually running my drive is:
*-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:03:00.0
       logical name: enp3s0
       version: 15
       serial: 68:1d:ef:38:f0:48
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.051.02-NAPI duplex=full latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:19 ioport:3000(size=256) memory:80404000-80404fff memory:80400000-80403fff


And the proble is teh same ... but after these command a couple of time:
sudo modprobe -r alx && sudo modprobe alx && systemctl restart NetworkManager

than again these modprobe command and restart ...
sudo modprobe -r r8169 && sudo modprobe r8169 && sudo systemctl restart

problem seems disappear and after clean my dmesg file .... it stay clean from 1 hour .... now try to reboot and make a latency trest again ....

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

More
18 Apr 2024 15:18 #298562 by bkt
So I try to upgrade LMDE6 to latest rt-preemp release .... so can see r8168 dmks problem at work ..... dmks log:
DKMS make.log for r8168-8.051.02 for kernel 6.6.13+bpo-amd64 (x86_64)
Thu Apr 18 17:14:23 CEST 2024
make: Entering directory '/usr/src/linux-headers-6.6.13+bpo-amd64'
  CC [M]  /var/lib/dkms/r8168/8.051.02/build/r8168_n.o
  CC [M]  /var/lib/dkms/r8168/8.051.02/build/r8168_asf.o
  CC [M]  /var/lib/dkms/r8168/8.051.02/build/rtl_eeprom.o
  CC [M]  /var/lib/dkms/r8168/8.051.02/build/rtltool.o
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c: In function ‘r8168_csum_workaround’:
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c:29208:24: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘skb_gso_reset’? [-Werror=implicit-function-declaration]
29208 |                 segs = skb_gso_segment(skb, features);
      |                        ^~~~~~~~~~~~~~~
      |                        skb_gso_reset
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c:29208:22: warning: assignment to ‘struct sk_buff *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
29208 |                 segs = skb_gso_segment(skb, features);
      |                      ^
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.6.13+bpo-common/scripts/Makefile.build:248: /var/lib/dkms/r8168/8.051.02/build/r8168_n.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.6.13+bpo-common/Makefile:1938: /var/lib/dkms/r8168/8.051.02/build] Error 2
make: *** [/usr/src/linux-headers-6.6.13+bpo-common/Makefile:246: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.6.13+bpo-amd64'

realtek - tea - best

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

More
19 Apr 2024 21:46 #298676 by rodw
change your compiler parameters so warnings are not treated as errors. There should be a environment variable you can set.

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

More
20 Apr 2024 08:40 #298701 by bkt
Really after these error realeck begin to not recognise from SO .... so not work at all. These installation is definitely dead.

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

More
27 May 2024 01:27 #301539 by song_gy
Hi bkt
I'm also trying to install ethercat on LMDE6 but I can't get started. The process I went through is the same as what you found on the forum.

Unable to locate package ethercat-master
Unable to locate package libethercat-dev

Can you share your experience and specific steps for successful installation?
Thank you so much!

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

More
13 Jul 2024 08:33 #305056 by bkt
sorry for late ... need to read from these point ... forum.linuxcnc.org/9-installing-linuxcnc...n-edition-6?start=20 ..... not remember where but at some point I have the same issue ... but if read post from that point fo sure you find my solutions .... seems need to install some dependancy .... find it using debian package command

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

Time to create page: 0.087 seconds
Powered by Kunena Forum