Hello, I have some problems with EtherCAT Maser.
I tried to build EtherCAT Master 1.4.0 source on kernel 2.6.18 with Intel PRO/1000 NIC. But, I got some errors while building EtherCAT Master. The error Message is below: CC [M] /root/TOOL/EtherCAT1_4/tmp2/ethercat-1.4.0/ devices/e1000/e1000_main-2.6.18-ethercat.o /root/TOOL/EtherCAT1_4/tmp2/ethercat-1.4.0/devices/ e1000/e1000_main-2.6.18-ethercat.c: In function 'ec_poll': /root/TOOL/EtherCAT1_4/tmp2/ethercat-1.4.0/devices/ e1000/e1000_main-2.6.18-ethercat.c:3418: error: implicit declaration of function 'e1000_watchdog_task' Hence, I modified e1000_main_2.6.18-ethercat.c as: 3418: e1000_watchdog_task(adapter); -> 3418: e1000_watchdog((unsigned long)adapter); So, I could build EtherCAT Master and run it. But EtherCAT Master did not work well. Kernel-buffer's message is: EtherCAT: Accepting device XX:XX:XX:XX:XX:XX for master 0. EtherCAT: Starting EtherCAT-IDLE thread. ec_e1000: ec0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex EtherCAT: Link state changed to UP. EtherCAT WARNING: 1 datagram TIMED OUT! EtherCAT WARNING: 500 datagrams TIMED OUT! ... And, I tried to run EtherCAT Master on kernel 2.6.24. It can run normally. Kernel-buffer's message is: 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: 11 slave(s) responding. EtherCAT: Slave states: PREOP. EtherCAT: Scanning bus. EtherCAT: Bus scanning completed in 947 ms. However, I have to run EtherCAT Master on kernel 2.6.18 with Intel PRO/1000 NIC. Do you have a track record of EtherCAT Master on kernel 2.6.18 with Intel PRO/1000 NIC? I would be glad if you could give me some hints on which points i should set my focus. Best Regards. Hideki Izumisawa
_______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
