Hello,
Cloned from https://gitlab.com/etherlab.org/ethercat.git and built,
following doc ยง9.2, on Ubuntu 22.04 with 5.15.0-1032-realtime #35-Ubuntu
SMP PREEMPT_RT usigned kernel.
lspci says I have an RTL-8111/8168/8411 with kernel driver r8169 in use.
Configuring with --enable-r8169 I am told that
kernel 5.15 is not available for r8169 driver
so I stay with generic (what are the kernels available for r8169?)
Connected to an HBM ClipX with a tested cable.
After /etc/init.d/ethercat start, dmesg says:
[54612.885417] EtherCAT: Master driver 1.6.0-rc1 unknown
[54612.885622] EtherCAT: 1 master waiting for devices.
[54612.896602] ec_generic: EtherCAT master generic Ethernet device
module 1.6.0-rc1 unknown
[54612.896620] EtherCAT: Accepting 54:04:A6:4C:25:B0 as main device
for master 0.
[54612.896631] ec_generic: Binding socket to interface 2 (enp5s0).
[54612.902599] EtherCAT 0: Starting EtherCAT-IDLE thread.
[54612.902748] EtherCAT 0: Link state of ecm0 changed to UP.
[54612.904567] EtherCAT 0: 1 slave(s) responding on main device.
[54612.904571] EtherCAT 0: Slave states on main device: PREOP.
[54612.904651] EtherCAT 0: Scanning bus.
[54612.923450] EtherCAT 0: Bus scanning completed in 18 ms.
[54612.923454] EtherCAT 0: Using slave 0 as DC reference clock.
[54628.863094] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[54634.865956] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[54634.865960] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[54641.246791] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[54641.246796] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[54643.618721] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[54643.618726] EtherCAT WARNING 0: 1 datagram UNMATCHED!
and so on.
Why are master driver and generic device module unknown?
What can be causing all those TIMED OUT and UNMATCHED? (I see some old
messages on this subject in the list, but not helping).
Thank you in advance for any hint and best regards
--
Daniele Lugli
General Logic srl
Viale Curreno, 41
10133 Torino
tel 329 3933041
www.general-logic.com
www.linkedin.com/in/daniele-lugli
--
Etherlab-users mailing list
Etherlab-users@etherlab.org
https://lists.etherlab.org/mailman/listinfo/etherlab-users