[etherlab-users] Need help

Florian Pose fp at igh-essen.com
Fri Feb 8 11:02:45 CET 2008


Hi,

first of all: Please avoid sending HTML messages to this list.
Moreover your text part is hard to read, because of the strange
punctuation. ;-)

On Thu, Feb 07, 2008 at 03:50:18PM -0000, Vishal  wrote:
> I have install the Ethercat master under linux....and have connected the
> ethercat slave...but when i run the master using the command
> /etc/init.d/ethercat start ...i get the following message....
>
> kernel: EtherCAT: Master driver 1.3.2 stable r980
> kernel: EtherCAT: 0 masters waiting for devices.
> kernel: EtherCAT: Master module cleaned up.
> kernel: EtherCAT: Master driver 1.3.2 stable r980
> kernel: EtherCAT: 0 masters waiting for devices.
> kernel: EtherCAT: Master module cleaned up.
> kernel: EtherCAT: Master driver 1.3.2 stable r980
> kernel: EtherCAT: 1 master waiting for devices.
> kernel: ACPI: PCI interrupt for device 0000:05:04.0 disabled
> kernel: ec_8139too EtherCAT-capable Fast Ethernet driver 0.9.27, master 1.3.2 stable r980
> kernel: PCI: Enabling device 0000:05:04.0 (0000 -> 0003)
> kernel: ACPI: PCI Interrupt 0000:05:04.0[A] -> GSI 17 (level, low) -> IRQ 177
> kernel: eth0: RealTek RTL8139 at 0xb800, 00:e0:4c:58:dd:17, IRQ 177
> kernel: eth5: link up, 100Mbps, full-duplex, lpa 0x41E1
> kernel: eth5: link down
> kernel: eth5: link up, 100Mbps, full-duplex, lpa 0x45E1
> kernel: ADDRCONF(NETDEV_CHANGE): eth5: link becomes ready
> kernel: eth5: link down
> kernel: eth5: link up, 100Mbp
>
> I donot know what is wrong ..it does not detect the ethercat slave.

The problem is, that the network driver does not register at the master
module in your case. Did you set the correct address in the sysconfig
file?

> Also , on the website there is no documentation for the version
> ethercat -1.3.2....which version and document one has to follow.

You're right, the documentation is a little bit out of date. I
aplologize. But this will change in the next release, that is already on
the way.
 
> And the examples given when compiled gives error i use the command ,
> for eg: gcc mini.c   is it correct or something else has to be
> done.....

Please use the supplied makefile. A kernel modules has to be built, so
a simple call of gcc is not sufficient.

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-users mailing list