EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: caget: Identical process variable names on multiple servers
From: Michael Davidsaver via Tech-talk <[email protected]>
To: "Smith, Martin" <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Wed, 12 Nov 2025 16:53:59 -0800
On 11/11/25 12:41 PM, Smith, Martin via Tech-talk wrote:
As far as if you are getting strange IP addresses I'm not sure what that is about.

Is this search reply coming from a nameserver?

The extension which allows for CA nameservers did so by changing the meaning of the SID field in the search reply message.  Previously, this field contained a server assigned channel identifier which, historically servers start counting from 1.  So seeing a low numbered value makes me wonder if something is triggering some compatibility code somewhere.

https ://docs.epics-controls.org/en/latest/internal/ca_protocol.html#id2

In the IOC (RSRV) this code path has been stubbed out.  Beginning with Base 3.16.0.1, an IOC will always respond with SID==0xffffffff .

https ://github.com/epics-base/epics-base/blob/b308be3273fef5dc3b3e6af21bde91e409454d8f/modules/database/src/ioc/rsrv/camessage.c#L2193-L2201

A corresponding change was made to PCAS at the same time, so I think a ca-gateway would also reply with 0xffffffff.  However, a nameserver built on PCAS could reply with any IP.

Before 3.16.0.1, an IOC (or gateway?) receiving a search with a CA minor version less than 3 would reply with the SID number.



References:
caget: Identical process variable names on multiple servers J. Lewis Muir via Tech-talk
Re: caget: Identical process variable names on multiple servers Paul Sichta via Tech-talk
Re: caget: Identical process variable names on multiple servers J. Lewis Muir via Tech-talk
Re: caget: Identical process variable names on multiple servers Guruswamy, Tejas via Tech-talk
Re: caget: Identical process variable names on multiple servers Smith, Martin via Tech-talk

Navigate by Date:
Prev: Re: caget: Identical process variable names on multiple servers J. Lewis Muir via Tech-talk
Next: Re: Fwd: pvxs Access/list problem Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026 
Navigate by Thread:
Prev: Re: caget: Identical process variable names on multiple servers J. Lewis Muir via Tech-talk
Next: Re: caget: Identical process variable names on multiple servers J. Lewis Muir via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·