[etherlab-dev] Etherlab master looses mailbox configuration during client connection loss
Christoph Schröder
christoph.schroeder at helmholtz-berlin.de
Wed Sep 20 17:08:55 CEST 2017
Hi All,
I encountered a problem with the recovery abilities of the Etherlab
master after connection loss (e.g. pull out cable of one slave and plug
it in again). The master seems to reset the mailbox configuration. If I
start a VoE-request I get the following kernel message:
[132256.054043] EtherCAT ERROR 0-main-0: Data size (24) does not fit in
mailbox (0)!
The mailbox size configured through ecrt_slave_config_create_voe_handler
seems to be lost and not only for the slave disconnected, but also for
the slave that never lost it's connection (tested with 2). This happens
with and without the newest inofficial patchset (20170914).
This seems to be a bug as ecrt_slave_config_create_voe_handler has to be
called before ecrt_master_activate, so recreation of the config after
recovery of the connection is not possible.
Without connection loss everything works fine, but we would like to make
the system as robust as possible without the need to restart the
application. Does anyone has an idea how to fix this or can someone at
least explain what happens during a connection loss and recovery resp.
which functions are called by the master?
Thanks and best regards,
Christoph
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (kommissarisch), Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
More information about the etherlab-dev
mailing list