[etherlab-users] EtherCAT master stuck waiting for devices
William Montgomery
william at opinicus.com
Tue Jun 5 22:31:28 CEST 2012
Sorry. I asked for help too soon.
A few printk's later I found that I had a typo in the MAC address in
/etc/sysconfig/ethercat.
Working now.
Regards,
Wm
On 06/05/2012 03:52 PM, William Montgomery wrote:
> I am using EtherCAT: Master driver 1.5.1 with Linux kernel 2.6.37.6.
> I built with ./configure --enable-r8169 and all went well but when I
> start the driver with:
> "/etc/init.d/ethercat start" I see the following with dmesg:
>
> EtherCAT: Master driver 1.5.1 0f7a243b03e4
> EtherCAT: 1 master waiting for devices.
> r8169 0000:03:0f.0: PCI INT A disabled
> ec_r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
> ec_r8169 0000:03:0f.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
> ec_r8169 0000:03:0f.0: (unregistered net_device): no PCI Express
> capability
> ec_r8169 0000:03:0f.0: eth2: RTL8110s at 0xf87e0000,
> c4:3d:c7:80:4d:dd, XID 04000000 IRQ 19
>
> The message "EtherCAT: Accepting device ..." never appears.
>
> # ethercat master
> shows:
> Master0
> Phase: Waiting for device...
> Active: no
> Slaves: 0
> Ethernet devices:
> Main: c4:3d:7c:80:4d:dd (waiting...)
> Link: DOWN
> Tx frames: 0
> Rx frames: 0
> Lost frames: 0
> Tx bytes: 0
> Tx errors: 0
> Tx frame rate [1/s]: 0 0 0
> Tx rate [KByte/s]: 0.0 0.0 0.0
> Loss rate [1/s]: 0 0 0
> Frame loss [%]: 0.0 0.0 0.0
>
> Backup: None.
> Distributed clocks:
> Reference clock: None
> Application time: 0
> 2000-01-01 00:00:00.000000000
>
> Anyone know why the master doesn't accept the device?
> Any suggestions for troubleshooting?
>
> Regards,
> Wm
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>
More information about the Etherlab-users
mailing list