Hi, I think I'm seeing some regression on r1667 compared to the 1.4.0 release. I'm using the known-good e1000 driver (PCI card) on 2.6.24.
$ /opt/etherlab/bin/ethercat master Master0 Phase: Idle Slaves: 4 Device0: 00:0e:0c:c5:d5:1c (attached) Tx count: 598365 Rx count: 598364 Device1: None. $ /opt/etherlab/bin/ethercat slaves 0 1001:0 PREOP + 0x0000015a:0x03010001 1 1002:0 PREOP + 0x0000015a:0x03010001 2 1003:0 PREOP + 0x0000015a:0x03010001 3 1004:0 PREOP + 0x0000015a:0x03010001 It works fine with 1.4.0, I used a simple shell script for testing (this is a robot base with 4 ethercat slaves): #!/bin/sh E=/opt/etherlab/bin/ethercat # SUDO=sudo SUDO= # Disable sync. $SUDO $E download -p 0 --type uint16 0x4213 0 0 $SUDO $E download -p 1 --type uint16 0x4213 0 0 $SUDO $E download -p 2 --type uint16 0x4213 0 0 $SUDO $E download -p 3 --type uint16 0x4213 0 0 $SUDO $E download -p 0 --type uint16 0x6040 0 6 $SUDO $E download -p 1 --type uint16 0x6040 0 6 $SUDO $E download -p 2 --type uint16 0x6040 0 6 $SUDO $E download -p 3 --type uint16 0x6040 0 6 $SUDO $E download -p 0 --type uint16 0x6040 0 7 $SUDO $E download -p 1 --type uint16 0x6040 0 7 $SUDO $E download -p 2 --type uint16 0x6040 0 7 $SUDO $E download -p 3 --type uint16 0x6040 0 7 $SUDO $E download -p 0 --type uint16 0x6040 0 15 $SUDO $E download -p 1 --type uint16 0x6040 0 15 $SUDO $E download -p 2 --type uint16 0x6040 0 15 $SUDO $E download -p 3 --type uint16 0x6040 0 15 Using r1667 (same e1000 driver, same 2.6.24 kernel, same network card): $ ./init EtherCAT ERROR: Reception of CoE download response failed on slave 0: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 1: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 2: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 3: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 0: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 1: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 2: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 3: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 0: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 1: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 2: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 3: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 0: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 1: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 2: No response. Failed to download SDO: Input/output error EtherCAT ERROR: Reception of CoE download response failed on slave 3: No response. Failed to download SDO: Input/output error After enabling 'debug 1' the attached log was in 'dmesg'. Any ideas what might be wrong? Thanks, Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
EtherCAT: Master driver devel r1667 EtherCAT: 1 master waiting for devices. ACPI: PCI interrupt for device 0000:04:01.0 disabled EtherCAT Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI Copyright (c) 1999-2006 Intel Corporation. ACPI: PCI Interrupt 0000:04:01.0[A] -> GSI 20 (level, low) -> IRQ 21 ec_e1000: 0000:04:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:0e:0c:c5:d5:1c EtherCAT: Accepting device 00:0E:0C:C5:D5:1C for master 0. EtherCAT: Starting EtherCAT-IDLE thread. ec_e1000: ec0: e1000_probe: Intel(R) PRO/1000 Network Connection ec_e1000: ec0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX EtherCAT: Link state changed to UP. EtherCAT: 4 slave(s) responding. EtherCAT: Slave states: INIT. EtherCAT: Scanning bus. EtherCAT: Bus scanning completed in 116 ms. EtherCAT: Starting EoE processing. EtherCAT: Slave states: PREOP. EtherCAT ERROR: Timeout while waiting for SDO dictionary list response on slave 0. EtherCAT ERROR: Timeout while waiting for SDO dictionary list response on slave 1. EtherCAT ERROR: Timeout while waiting for SDO dictionary list response on slave 2. EtherCAT ERROR: Timeout while waiting for SDO dictionary list response on slave 3. EtherCAT: Master debug level set to 1. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7f0aec0, cmd = 0x8030a400 (0x00), arg = 0xbfe3c62c) EtherCAT DEBUG: ioctl(filp = 0xf7f0aec0, cmd = 0xc138a401 (0x01), arg = 0xbfe3c4f4) EtherCAT DEBUG: ioctl(filp = 0xf7f0aec0, cmd = 0xc014a40d (0x0d), arg = 0xbfe3c9d0) EtherCAT DEBUG: Processing SDO request for slave 0... EtherCAT DEBUG: Downloading SDO 0x4213:00 to slave 0. EtherCAT DEBUG: 00 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 13 42 00 00 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 0: No response. EtherCAT DEBUG: Failed to process SDO request for slave 0. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7cb1b00, cmd = 0x8030a400 (0x00), arg = 0xbfb4432c) EtherCAT DEBUG: ioctl(filp = 0xf7cb1b00, cmd = 0xc138a401 (0x01), arg = 0xbfb441f4) EtherCAT DEBUG: ioctl(filp = 0xf7cb1b00, cmd = 0xc014a40d (0x0d), arg = 0xbfb446d0) EtherCAT DEBUG: Processing SDO request for slave 1... EtherCAT DEBUG: Downloading SDO 0x4213:00 to slave 1. EtherCAT DEBUG: 00 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 13 42 00 00 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 1: No response. EtherCAT DEBUG: Failed to process SDO request for slave 1. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7cb1bc0, cmd = 0x8030a400 (0x00), arg = 0xbf83701c) EtherCAT DEBUG: ioctl(filp = 0xf7cb1bc0, cmd = 0xc138a401 (0x01), arg = 0xbf836ee4) EtherCAT DEBUG: ioctl(filp = 0xf7cb1bc0, cmd = 0xc014a40d (0x0d), arg = 0xbf8373c0) EtherCAT DEBUG: Processing SDO request for slave 2... EtherCAT DEBUG: Downloading SDO 0x4213:00 to slave 2. EtherCAT DEBUG: 00 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 13 42 00 00 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 2: No response. EtherCAT DEBUG: Failed to process SDO request for slave 2. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7422380, cmd = 0x8030a400 (0x00), arg = 0xbf92310c) EtherCAT DEBUG: ioctl(filp = 0xf7422380, cmd = 0xc138a401 (0x01), arg = 0xbf922fd4) EtherCAT DEBUG: ioctl(filp = 0xf7422380, cmd = 0xc014a40d (0x0d), arg = 0xbf9234b0) EtherCAT DEBUG: Processing SDO request for slave 3... EtherCAT DEBUG: Downloading SDO 0x4213:00 to slave 3. EtherCAT DEBUG: 00 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 13 42 00 00 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 3: No response. EtherCAT DEBUG: Failed to process SDO request for slave 3. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7422a40, cmd = 0x8030a400 (0x00), arg = 0xbfef1edc) EtherCAT DEBUG: ioctl(filp = 0xf7422a40, cmd = 0xc138a401 (0x01), arg = 0xbfef1da4) EtherCAT DEBUG: ioctl(filp = 0xf7422a40, cmd = 0xc014a40d (0x0d), arg = 0xbfef2280) EtherCAT DEBUG: Processing SDO request for slave 0... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 0. EtherCAT DEBUG: 06 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 06 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 0: No response. EtherCAT DEBUG: Failed to process SDO request for slave 0. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7f28b00, cmd = 0x8030a400 (0x00), arg = 0xbfc43c2c) EtherCAT DEBUG: ioctl(filp = 0xf7f28b00, cmd = 0xc138a401 (0x01), arg = 0xbfc43af4) EtherCAT DEBUG: ioctl(filp = 0xf7f28b00, cmd = 0xc014a40d (0x0d), arg = 0xbfc43fd0) EtherCAT DEBUG: Processing SDO request for slave 1... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 1. EtherCAT DEBUG: 06 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 06 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 1: No response. EtherCAT DEBUG: Failed to process SDO request for slave 1. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7d5fa40, cmd = 0x8030a400 (0x00), arg = 0xbfa2a20c) EtherCAT DEBUG: ioctl(filp = 0xf7d5fa40, cmd = 0xc138a401 (0x01), arg = 0xbfa2a0d4) EtherCAT DEBUG: ioctl(filp = 0xf7d5fa40, cmd = 0xc014a40d (0x0d), arg = 0xbfa2a5b0) EtherCAT DEBUG: Processing SDO request for slave 2... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 2. EtherCAT DEBUG: 06 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 06 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 2: No response. EtherCAT DEBUG: Failed to process SDO request for slave 2. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7d5f2c0, cmd = 0x8030a400 (0x00), arg = 0xbfbfebec) EtherCAT DEBUG: ioctl(filp = 0xf7d5f2c0, cmd = 0xc138a401 (0x01), arg = 0xbfbfeab4) EtherCAT DEBUG: ioctl(filp = 0xf7d5f2c0, cmd = 0xc014a40d (0x0d), arg = 0xbfbfef90) EtherCAT DEBUG: Processing SDO request for slave 3... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 3. EtherCAT DEBUG: 06 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 06 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 3: No response. EtherCAT DEBUG: Failed to process SDO request for slave 3. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7422980, cmd = 0x8030a400 (0x00), arg = 0xbfbedbdc) EtherCAT DEBUG: ioctl(filp = 0xf7422980, cmd = 0xc138a401 (0x01), arg = 0xbfbedaa4) EtherCAT DEBUG: ioctl(filp = 0xf7422980, cmd = 0xc014a40d (0x0d), arg = 0xbfbedf80) EtherCAT DEBUG: Processing SDO request for slave 0... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 0. EtherCAT DEBUG: 07 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 07 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 0: No response. EtherCAT DEBUG: Failed to process SDO request for slave 0. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf74225c0, cmd = 0x8030a400 (0x00), arg = 0xbf89607c) EtherCAT DEBUG: ioctl(filp = 0xf74225c0, cmd = 0xc138a401 (0x01), arg = 0xbf895f44) EtherCAT DEBUG: ioctl(filp = 0xf74225c0, cmd = 0xc014a40d (0x0d), arg = 0xbf896420) EtherCAT DEBUG: Processing SDO request for slave 1... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 1. EtherCAT DEBUG: 07 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 07 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 1: No response. EtherCAT DEBUG: Failed to process SDO request for slave 1. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7cb15c0, cmd = 0x8030a400 (0x00), arg = 0xbf8d60bc) EtherCAT DEBUG: ioctl(filp = 0xf7cb15c0, cmd = 0xc138a401 (0x01), arg = 0xbf8d5f84) EtherCAT DEBUG: ioctl(filp = 0xf7cb15c0, cmd = 0xc014a40d (0x0d), arg = 0xbf8d6460) EtherCAT DEBUG: Processing SDO request for slave 2... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 2. EtherCAT DEBUG: 07 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 07 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 2: No response. EtherCAT DEBUG: Failed to process SDO request for slave 2. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7f0a500, cmd = 0x8030a400 (0x00), arg = 0xbfc2cc0c) EtherCAT DEBUG: ioctl(filp = 0xf7f0a500, cmd = 0xc138a401 (0x01), arg = 0xbfc2cad4) EtherCAT DEBUG: ioctl(filp = 0xf7f0a500, cmd = 0xc014a40d (0x0d), arg = 0xbfc2cfb0) EtherCAT DEBUG: Processing SDO request for slave 3... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 3. EtherCAT DEBUG: 07 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 07 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 3: No response. EtherCAT DEBUG: Failed to process SDO request for slave 3. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7cb1740, cmd = 0x8030a400 (0x00), arg = 0xbfc93c7c) EtherCAT DEBUG: ioctl(filp = 0xf7cb1740, cmd = 0xc138a401 (0x01), arg = 0xbfc93b44) EtherCAT DEBUG: ioctl(filp = 0xf7cb1740, cmd = 0xc014a40d (0x0d), arg = 0xbfc94020) EtherCAT DEBUG: Processing SDO request for slave 0... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 0. EtherCAT DEBUG: 0F 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 0F 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 0: No response. EtherCAT DEBUG: Failed to process SDO request for slave 0. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7d23600, cmd = 0x8030a400 (0x00), arg = 0xbfc8a46c) EtherCAT DEBUG: ioctl(filp = 0xf7d23600, cmd = 0xc138a401 (0x01), arg = 0xbfc8a334) EtherCAT DEBUG: ioctl(filp = 0xf7d23600, cmd = 0xc014a40d (0x0d), arg = 0xbfc8a810) EtherCAT DEBUG: Processing SDO request for slave 1... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 1. EtherCAT DEBUG: 0F 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 0F 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 1: No response. EtherCAT DEBUG: Failed to process SDO request for slave 1. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7cb1200, cmd = 0x8030a400 (0x00), arg = 0xbfc9647c) EtherCAT DEBUG: ioctl(filp = 0xf7cb1200, cmd = 0xc138a401 (0x01), arg = 0xbfc96344) EtherCAT DEBUG: ioctl(filp = 0xf7cb1200, cmd = 0xc014a40d (0x0d), arg = 0xbfc96820) EtherCAT DEBUG: Processing SDO request for slave 2... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 2. EtherCAT DEBUG: 0F 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 0F 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 2: No response. EtherCAT DEBUG: Failed to process SDO request for slave 2. EtherCAT DEBUG: File closed. EtherCAT DEBUG: File opened. EtherCAT DEBUG: ioctl(filp = 0xf7d23600, cmd = 0x8030a400 (0x00), arg = 0xbffaff9c) EtherCAT DEBUG: ioctl(filp = 0xf7d23600, cmd = 0xc138a401 (0x01), arg = 0xbffafe64) EtherCAT DEBUG: ioctl(filp = 0xf7d23600, cmd = 0xc014a40d (0x0d), arg = 0xbffb0340) EtherCAT DEBUG: Processing SDO request for slave 3... EtherCAT DEBUG: Downloading SDO 0x6040:00 to slave 3. EtherCAT DEBUG: 0F 00 EtherCAT DEBUG: Expedited download request: EtherCAT DEBUG: 00 20 2B 40 60 00 0F 00 01 00 00 00 EtherCAT ERROR: Reception of CoE download response failed on slave 3: No response. EtherCAT DEBUG: Failed to process SDO request for slave 3. EtherCAT DEBUG: File closed.
_______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users