Hi, I ran into some trouble with e1000e driver (I think) while installing the ethercat master. I have setup with a Intel NUC that yields a 82579V Gigabit network connection with Ubuntu 12.04 running on it (which indicates its using a e1000e driver) en a simple Beckhoff EK1100 with EL3104 and EL4034 terminals. I've configured the software with: ./configure --prefix=/vol/opt/etherlab --disable-8139too --enable-e1000e --with-e1000e-kernel=3.4 and did the rest of the installation according to the manual. Next I adapted the config file and initiated the service, made an udev rule and restarted the service.
When I start the ethercat service it says "done" and I can request the slaves giving the output: 0 1:0 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus) 1 3:0 PREOP + EL3104 4K. Ana. Eingang +/-10V Diff. 2 5:0 PREOP + EL4034 4K. Ana. Ausgang +/-10V, 12bit But the "ethercad config" command doesn't give any output and when I run a simple Simulink model it, nothing happens and the Simulink models cannot connect to target if I try manually. Below you can see the syslog output for starting the service, running a simple compiled simulink model and stopping the service respectively. ---------------------------------------------------------------------------------------- ----------------------------------Start service----------------------------------------- ---------------------------------------------------------------------------------------- [ 6202.019925] EtherCAT: Master driver devel af21f0bdc7c9 [ 6202.020117] EtherCAT: 1 master waiting for devices. [ 6202.188857] ec_e1000e: EtherCAT-capable Intel(R) PRO/1000 Network Driver - 1.5.1-k-EtherCAT [ 6202.188862] ec_e1000e: Copyright(c) 1999 - 2011 Intel Corporation. [ 6202.188903] ec_e1000e 0000:00:19.0: setting latency timer to 64 [ 6202.189062] ec_e1000e 0000:00:19.0: irq 40 for MSI/MSI-X [ 6202.484470] EtherCAT: Accepting device EC:A8:6B:F4:AC:61 for master 0. [ 6202.633032] ec_e1000e 0000:00:19.0: irq 40 for MSI/MSI-X [ 6202.686015] ec_e1000e 0000:00:19.0: (unregistered net_device): MSI interrupt test failed, using legacy interrupt. [ 6202.686080] EtherCAT 0: Starting EtherCAT-IDLE thread. [ 6202.686279] ec_e1000e 0000:00:19.0: (unregistered net_device): (PCI Express:2.5GT/s:Width x1) ec:a8:6b:f4:ac:61 [ 6202.686295] ec_e1000e 0000:00:19.0: (unregistered net_device): Intel(R) PRO/1000 Network Connection [ 6202.686375] ec_e1000e 0000:00:19.0: (unregistered net_device): MAC: 10, PHY: 11, PBA No: FFFFFF-0FF [ 6202.686832] ec_e1000e 0000:00:19.0: (unregistered net_device): Reset adapter [ 6204.690679] e1000e: ec0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None [ 6204.690696] ec_e1000e 0000:00:19.0: (unregistered net_device): 10/100 speed: disabling TSO [ 6204.690702] EtherCAT 0: Link state changed to UP. [ 6204.695825] EtherCAT 0: 3 slave(s) responding. [ 6204.695836] EtherCAT 0: Slave states: PREOP. [ 6204.695943] EtherCAT 0: Scanning bus. [ 6205.096368] EtherCAT ERROR 0-2: SDO upload 0x1C13:01 aborted. [ 6205.096373] EtherCAT ERROR 0-2: SDO abort message 0x06090011: "Subindex does not exist". [ 6205.096375] EtherCAT ERROR 0-2: Failed to read index of assigned PDO 1 from SM3. [ 6205.096376] EtherCAT 0: Bus scanning completed in 400 ms. ---------------------------------------------------------------------------------------- ----------------------------------Run Model----------------------------------------- ---------------------------------------------------------------------------------------- [ 6253.519443] EtherCAT: Requesting master 0... [ 6253.519448] EtherCAT: Successfully requested master 0. [ 6253.519491] EtherCAT 0: Domain0: Logical address 0x00000000, 8 byte, expected working counter 1. [ 6253.519493] EtherCAT 0: Datagram domain0-0: Logical offset 0x00000000, 8 byte, type LRD. [ 6253.519565] EtherCAT 0: Master thread exited. [ 6253.519568] EtherCAT 0: Starting EtherCAT-OP thread. [ 6253.929194] EtherCAT WARNING 0-1: Slave does not support changing the PDO mapping! [ 6253.929198] EtherCAT WARNING 0-1: Currently mapped PDO entries: 0x6030:11/16. Entries to map: 0x6040:11/16 [ 6259.153438] EtherCAT WARNING 0-1: Slave did not sync after 5000 ms. [ 6259.203384] EtherCAT ERROR 0-1: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR). [ 6259.223362] EtherCAT ERROR 0-1: AL status message 0x0035: "DC Invalid Sync Cycle Time". [ 6259.253328] EtherCAT 0-1: Acknowledged state PREOP. [ 6259.283759] EtherCAT 0: Slave states: PREOP, OP. [ 6259.511476] EtherCAT WARNING 0: 240 datagrams UNMATCHED! [ 6259.682945] EtherCAT WARNING: Datagram ffff880409434d80 (domain0-0) was SKIPPED 120 times. ---------------------------------------------------------------------------------------- ----------------------------------Stop service----------------------------------------- ---------------------------------------------------------------------------------------- [ 7198.032419] EtherCAT 0: Releasing master... [ 7198.032511] EtherCAT 0: Master thread exited. [ 7198.032527] EtherCAT 0: Starting EtherCAT-IDLE thread. [ 7198.032606] EtherCAT 0: Released. [ 7198.047031] EtherCAT 0: Slave states: PREOP. [ 7232.575556] EtherCAT 0: Master thread exited. [ 7232.593050] EtherCAT 0: Link state changed to DOWN. [ 7232.712710] EtherCAT 0: Releasing main device EC:A8:6B:F4:AC:61. [ 7232.717499] EtherCAT: Master module cleaned up. [ 7233.724151] e1000e: Intel(R) PRO/1000 Network Driver - 2.0.0-k [ 7233.724161] e1000e: Copyright(c) 1999 - 2012 Intel Corporation. [ 7233.724233] e1000e 0000:00:19.0: setting latency timer to 64 [ 7233.724411] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [ 7233.724494] e1000e 0000:00:19.0: irq 40 for MSI/MSI-X [ 7233.980802] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) ec:a8:6b:f4:ac:61 [ 7233.980815] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection [ 7233.980890] e1000e 0000:00:19.0: eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF [ 7234.150630] e1000e 0000:00:19.0: irq 40 for MSI/MSI-X [ 7234.251416] e1000e 0000:00:19.0: irq 40 for MSI/MSI-X [ 7234.254712] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 7234.256198] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 7235.960283] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None [ 7235.960298] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO [ 7235.963387] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Hope someone can give me some advice how to tacle this issue. Best regards, Cor --------------------------- Ing. C. Meijneke Research Engineer Delft Biorobotics Laboratory Bio Mechanical Engineering Delft University of Technology _______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users