EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Darwin and EPICS_CA_AUTO_ADDR_LIST issue
From: "Jeff Hill" <[email protected]>
To: "'Burkhard Kolb'" <[email protected]>, <[email protected]>
Date: Thu, 8 Mar 2007 10:28:37 -0700
> On my MAC (OSX 10.4.8), EPICS base-3.14.9, medm 3.11:
> 
> When I set EPICS_CA_AUTO_ADDR_LIST to NO and have the EPICS_CA_ADDR_LIST
> pointing to the list of IOCs medm does not find all PVs. Sometimes the
> connections work for a short time then several IOCs are not seen anymore.
> If I set it to YES, medm finds them always.
> 
> In the xterm window I get some error messages from really not existing
> IOCs:
> CAC: error = "Host is down" sending UDP msg to 140.181.98.50:5064
> But the lost ones are not reported!
> 
> I use the same list of IOCs on other linux boxes and have no problem
there.
>

What is the response to "ping -s 140.181.98.50"?

PS: Behavior is known to vary between IP kernels for such unicast addresses
if there are two or more daemons (in this case two or more CA UDP servers)
listening to the same {IP address, port} tuple on the same host. The typical
behavior difference is that on certain IP kernels only one daemeon listening
on UDP port 5064 will receive a UDP message with a unicast destination
address, but in contrast on other IP kernels all daemeons listening on UDP
port 5064 will receive such messages. In my experience UDP frames with
broadcast address destinations always go to all registered listeners
listening on UDP port 5064 - a uniform behavior across IP kernel
implementations.

PPS: One possible workaround to the above dilemma is to use directed
broadcast addresses (router forwarded broadcast addresses) in the
EPICS_CA_ADDR_LIST. This sometimes requires enabling of "broadcast
forwarding" features in your routers. We might also add support for
multicasting to future versions of CA.

Jeff

> -----Original Message-----
> From: Burkhard Kolb [mailto:[email protected]]
> Sent: Thursday, March 08, 2007 9:28 AM
> To: '[email protected]'
> Subject: Darwin and EPICS_CA_AUTO_ADDR_LIST issue
> 
> On my MAC (OSX 10.4.8), EPICS base-3.14.9, medm 3.11:
> 
> When I set EPICS_CA_AUTO_ADDR_LIST to NO and have the EPICS_CA_ADDR_LIST
> pointing to the list of IOCs medm does not find all PVs. Sometimes the
> connections work for a short time then several IOCs are not seen anymore.
> If I set it to YES, medm finds them always.
> 
> In the xterm window I get some error messages from really not existing
> IOCs:
> CAC: error = "Host is down" sending UDP msg to 140.181.98.50:5064
> But the lost ones are not reported!
> 
> I use the same list of IOCs on other linux boxes and have no problem
there.
> 
> Any idea?
> --
> -------------------------------------------------------------------
> Dr. Burkhard Kolb
> GSI mbH  |   KP1   |  Planckstr. 1  |  D-64291 Darmstadt
> Email: [email protected]                |  Tel.: +49 (0)6159 / 71 2667
> -------------------------------------------------------------------


Replies:
Re: Darwin and EPICS_CA_AUTO_ADDR_LIST issue Burkhard Kolb
Re: Darwin and EPICS_CA_AUTO_ADDR_LIST issue Burkhard Kolb
References:
Darwin and EPICS_CA_AUTO_ADDR_LIST issue Burkhard Kolb

Navigate by Date:
Prev: RTEMS John Sinclair
Next: OMS MAXv reset/power-up problem Ronald L. Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Darwin and EPICS_CA_AUTO_ADDR_LIST issue Burkhard Kolb
Next: Re: Darwin and EPICS_CA_AUTO_ADDR_LIST issue Burkhard Kolb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·