[etherlab-users] "Invalid mailbox configuration", how to configure?
Stefan Löfgren
stlo at dontdownload.com
Mon Mar 17 11:42:18 CET 2008
I was just about to say yes when I found a seg-fault.
It seems that there is a difference in status from
the version 1.3.2 and to this one. The previous version
got to "Pdo slaves: incomplete". But not this one...
/S
/sys/ethercat/master0/slave000/info:
Segmentation fault
/sys/ethercat/master0/info:
Mode: IDLE
Slaves: 1
Status: sane
Pdo slaves: online
Devices:
Main: 00:D0:C9:97:05:E6 (connected).
Frames sent: 121203
Frames received: 121203
Frames lost: 0
Backup: none.
Timing (min/avg/max) [us]:
Idle cycle: 3 / 8.93 / 34
EoE cycle: 0 / 0.0 / 0
/var/log/messages:
Mar 17 11:39:27 lablinux kernel: EtherCAT: Master driver 1.4.0-pre trunk r1087
Mar 17 11:39:27 lablinux kernel: EtherCAT: 1 master waiting for devices.
Mar 17 11:39:27 lablinux kernel: ec_8139too EtherCAT-capable Fast Ethernet
driver 0.9.27, master 1.4.0-pre trunk r1087
Mar 17 11:39:27 lablinux kernel: PCI: Found IRQ 9 for device 0000:00:02.0
Mar 17 11:39:27 lablinux kernel: eth0: RealTek RTL8139 at 0xc000,
00:d0:c9:97:05:e7, IRQ 9
Mar 17 11:39:27 lablinux kernel: PCI: Found IRQ 9 for device 0000:00:09.0
Mar 17 11:39:27 lablinux kernel: EtherCAT: Accepting device 00:D0:C9:97:05:E6
for master 0.
Mar 17 11:39:27 lablinux kernel: ec0: RealTek RTL8139 at 0xd000,
00:d0:c9:97:05:e6, IRQ 9
Mar 17 11:39:27 lablinux kernel: EtherCAT: Link state changed to UP.
Mar 17 11:39:27 lablinux kernel: EtherCAT: Starting master thread.
Mar 17 11:39:27 lablinux kernel: EtherCAT: 1 slave responding.
Mar 17 11:39:27 lablinux kernel: EtherCAT: Slave states: PREOP.
Mar 17 11:39:27 lablinux kernel: EtherCAT: Scanning bus.
Mar 17 11:39:27 lablinux kernel: EtherCAT: Bus scanning completed in 25 ms.
/var/log/syslog:
Mar 17 11:39:27 lablinux kernel: EtherCAT ERROR: Data size does not fit in
mailbox!
Mar 17 11:39:27 lablinux kernel: EtherCAT ERROR: Failed to read number of
mapped Pdos from slave 0.
Mar 17 11:39:27 lablinux kernel: EtherCAT ERROR: Data size does not fit in
mailbox!
---------- Original Message -----------
From: Florian Pose <fp at igh-essen.com>
To: etherlab-users at lists.etherlab.org
Sent: Mon, 17 Mar 2008 10:57:12 +0100
Subject: Re: [etherlab-users] "Invalid mailbox configuration", how to configure?
> Hi Stefan,
>
> On Mon, Mar 17, 2008 at 09:46:30AM +0100, Stefan Löfgren wrote:
> > yes, I was looking at that FAQ and it helped me a bit.
> > But only to varify that this slave does not seem follow that.
> > So, I made a "quick fix" to this problem in "slave.c" (see below).
> > I added a possibility for max 10 SMs the first time and then added new to the
> > list. Note that there is no protection against adding more than 10.
> > Easy, not the perfect sollution, but it's working so far.
>
> could you please try, if the below version reads the sync managers
> correctly?
>
> http://etherlab.org/download/ethercat-1.4.0-pre-trunk-r1087.tar.bz2
>
> > And btw, thanks for a very nice EtherCAT library! Great job!
> > I hope I can contribute to it later on when I have more knowledge about it...
>
> Thanks, sounds good!
>
> --
> Best regards,
> Florian Pose
>
> http://etherlab.org
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at lists.etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
------- End of Original Message -------
More information about the Etherlab-users
mailing list