[etherlab-dev] [etherlab-announce] EtherCAT master 1.4.0 prerelease

Erwin Burgstaller ethercat.berknapp at spamgourmet.com
Thu Jul 3 11:44:30 CEST 2008


Hi there!

Yesterday, shortly before r1303 has been announced, I've tried r1272 and
then r1303. With both versions, there's the problem of timed out
datagrams. By going back to r1174 it works again.

I've tried with the realtek and the e1000 card, which made no
difference. Running kernel is 2.6.22-rtai on Intel P4 (2.4
Ghz). Operating system is Debian(Ubuntu)-Linux.


Here's the output from /var/log/messages

Jul  3 11:17:46 UCL00097 kernel: [ 1744.242738] EtherCAT: Master driver 1.4.0-pre trunk r1303
Jul  3 11:17:46 UCL00097 kernel: [ 1744.242889] EtherCAT: 1 master waiting for devices.
Jul  3 11:17:46 UCL00097 kernel: [ 1744.300272] ACPI: PCI interrupt for device 0000:02:00.0 disabled
Jul  3 11:17:46 UCL00097 kernel: [ 1744.307433] ec_8139too EtherCAT-capable Fast Ethernet driver 0.9.28, master 1.4.0-pre trunk r1303
Jul  3 11:17:46 UCL00097 kernel: [ 1744.307487] ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKC] -> GSI 12 (level, low) -> IRQ 12
Jul  3 11:17:46 UCL00097 kernel: [ 1744.307750] EtherCAT: Accepting device 00:14:6C:85:34:68 for master 0.
Jul  3 11:17:46 UCL00097 kernel: [ 1744.307756] ec0: RealTek RTL8139 at 0xe087e000, 00:14:6c:85:34:68, IRQ 12
Jul  3 11:17:46 UCL00097 kernel: [ 1744.307802] EtherCAT: Link state changed to UP.
Jul  3 11:17:46 UCL00097 kernel: [ 1744.307813] EtherCAT: Starting master thread.
Jul  3 11:17:46 UCL00097 kernel: [ 1744.316287] EtherCAT: 25 slave(s) responding.
Jul  3 11:17:46 UCL00097 kernel: [ 1744.316292] EtherCAT: Slave states: PREOP.
Jul  3 11:17:46 UCL00097 kernel: [ 1744.316634] EtherCAT: Scanning bus.
Jul  3 11:17:46 UCL00097 kernel: [ 1744.348167] EtherCAT WARNING: 1 datagram TIMED OUT!
Jul  3 11:17:47 UCL00097 kernel: [ 1745.350765] EtherCAT WARNING: 126 datagrams TIMED OUT!
Jul  3 11:17:47 UCL00097 kernel: [ 1745.350770] EtherCAT WARNING: 126 datagrams UNMATCHED!
Jul  3 11:17:48 UCL00097 kernel: [ 1746.201706] EtherCAT: Bus scanning completed in 1888 ms.
Jul  3 11:17:48 UCL00097 kernel: [ 1746.201709] EtherCAT: Starting EoE processing.
Jul  3 11:17:48 UCL00097 kernel: [ 1746.349373] EtherCAT WARNING: 107 datagrams TIMED OUT!
Jul  3 11:17:48 UCL00097 kernel: [ 1746.349378] EtherCAT WARNING: 107 datagrams UNMATCHED!
Jul  3 11:17:52 UCL00097 kernel: [ 1749.269300] EtherCAT WARNING: 1 datagram TIMED OUT!
Jul  3 11:17:52 UCL00097 kernel: [ 1749.269305] EtherCAT WARNING: 1 datagram UNMATCHED!
Jul  3 11:17:52 UCL00097 kernel: [ 1750.271899] EtherCAT WARNING: 92 datagrams TIMED OUT!
Jul  3 11:17:52 UCL00097 kernel: [ 1750.271905] EtherCAT WARNING: 92 datagrams UNMATCHED!
Jul  3 11:17:53 UCL00097 kernel: [ 1751.274499] EtherCAT WARNING: 91 datagrams TIMED OUT!
Jul  3 11:17:53 UCL00097 kernel: [ 1751.274505] EtherCAT WARNING: 91 datagrams UNMATCHED!
Jul  3 11:17:54 UCL00097 kernel: [ 1752.273107] EtherCAT WARNING: 87 datagrams TIMED OUT!
Jul  3 11:17:54 UCL00097 kernel: [ 1752.273113] EtherCAT WARNING: 87 datagrams UNMATCHED!
Jul  3 11:17:55 UCL00097 kernel: [ 1753.271713] EtherCAT WARNING: 89 datagrams TIMED OUT!
Jul  3 11:17:55 UCL00097 kernel: [ 1753.271719] EtherCAT WARNING: 89 datagrams UNMATCHED!

The loss of datagrams is resulting in missing devices. But it changes by
every start of the master, so that's not symptomatic for a certain
device type. Sometimes only data of one device is missing, but most more.

> ethercat list
 0  0:0   PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus)
 1  0:1   PREOP  +  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
 2  0:2   PREOP  +  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
 3  0:3   PREOP  +  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
 4  0:4   PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0,5A
 5  0:5   PREOP  +  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
 6  0:6   PREOP  +  EL6001 Schnittstelle (RS232)
 7  0:7   PREOP  E  0x00000000:0x00000000
 8  0:8   PREOP  E  0x00000000:0x00000000
 9  0:9   PREOP  E  0x00000000:0x00000000
10  0:10  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0,5A
11  0:11  PREOP  +  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
12  0:12  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0,5A
13  0:13  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0,5A
14  0:14  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0,5A
15  0:15  PREOP  +  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
16  0:16  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0,5A
17  0:17  PREOP  E  0x00000000:0x00000000
18  0:18  PREOP  +  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
19  0:19  PREOP  E  0x00000000:0x00000000
20  0:20  PREOP  E  0x00000000:0x00000000
21  0:21  PREOP  +  EL6001 Schnittstelle (RS232)
22  0:22  PREOP  E  0x00000000:0x00000000
23  0:23  PREOP  +  EL6731 (PROFIBUS Master)
24  0:24  PREOP  +  EL9800 (V4.08) (SPI)

but should have been:

> ethercat list
 0    PREOP  EK1100 EtherCAT-Koppler (2A E-Bus)
 1    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
 2    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
 3    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
 4    PREOP  EL2004 4K. Dig. Ausgang 24V, 0,5A
 5    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
 6    PREOP  EL6001 Schnittstelle (RS232)
 7    PREOP  EK1100 EtherCAT-Koppler (2A E-Bus)
 8    PREOP  EL2004 4K. Dig. Ausgang 24V, 0,5A
 9    PREOP  EL2004 4K. Dig. Ausgang 24V, 0,5A
10    PREOP  EL2004 4K. Dig. Ausgang 24V, 0,5A
11    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
12    PREOP  EL2004 4K. Dig. Ausgang 24V, 0,5A
13    PREOP  EL2004 4K. Dig. Ausgang 24V, 0,5A
14    PREOP  EL2004 4K. Dig. Ausgang 24V, 0,5A
15    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
16    PREOP  EL2004 4K. Dig. Ausgang 24V, 0,5A
17    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
18    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
19    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
20    PREOP  EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung
21    PREOP  EL6001 Schnittstelle (RS232)
22    PREOP  EL5151 1K. Inc. Encoder
23    PREOP  EL6731 (PROFIBUS Master)
24    PREOP  EL9800 (V4.08) (SPI)


Regards,
	Erwin



More information about the Etherlab-dev mailing list