EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 1971737] Re: EPICS 3.13 clients cannot connect to EPICS 7 or 3.16
From: Dirk Zimoch via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Tue, 10 May 2022 15:55:42 -0000
This is the log of an EPICS 7.0.6 IOC with 'var CASDEBUG 3' when contacted by the ca_test unility:
7.0.6 client:
CAS: cast server msg of 48 bytes from addr 127.0.0.1:33835
CAS: Request from 127.0.0.1:33835 => cmmd=0 cid=0x1 type=1 count=13 postsize=0
CAS: Request from 127.0.0.1:33835 =>   available=0x0    N=1 paddr=(nil)
CAS: Request from 127.0.0.1:33835 => cmmd=6 cid=0x1 type=5 count=13 postsize=16
CAS: Request from 127.0.0.1:33835 =>   available=0x1    N=2 paddr=(nil)
CAS: Sending a udp message of 40 bytes
CAS: conn req from 127.0.0.1:58648
CAS: Request from 127.0.0.1:58648 => cmmd=0 cid=0x0 type=0 count=13 postsize=0
CAS: Request from 127.0.0.1:58648 =>   available=0x0    N=1 paddr=(nil)
CAS: Request from 127.0.0.1:58648 => cmmd=20 cid=0x0 type=0 count=0 postsize=8
CAS: Request from 127.0.0.1:58648 =>   available=0x0    N=2 paddr=(nil)
CAS: Request from 127.0.0.1:58648 => cmmd=21 cid=0x0 type=0 count=0 postsize=8
CAS: Request from 127.0.0.1:58648 =>   available=0x0    N=3 paddr=(nil)
CAS: Request from 127.0.0.1:58648 => cmmd=18 cid=0x1 type=0 count=0 postsize=16
CAS: Request from 127.0.0.1:58648 =>   available=0xd    N=4 paddr=(nil)
CAS: Sending a message of 48 bytes
CAS: Request from 127.0.0.1:58648 => cmmd=15 cid=0x7 type=0 count=2 postsize=0
CAS: Request from 127.0.0.1:58648 =>   available=0x1    N=1 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58648 => cmmd=15 cid=0x7 type=7 count=2 postsize=0
CAS: Request from 127.0.0.1:58648 =>   available=0x2    N=2 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58648 => cmmd=15 cid=0x7 type=14 count=2 postsize=0
CAS: Request from 127.0.0.1:58648 =>   available=0x3    N=3 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58648 => cmmd=15 cid=0x7 type=21 count=2 postsize=0
CAS: Request from 127.0.0.1:58648 =>   available=0x4    N=4 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58648 => cmmd=15 cid=0x7 type=28 count=2 postsize=0
CAS: Request from 127.0.0.1:58648 =>   available=0x5    N=5 paddr=0x7fca5c012178
CAS: Sending a message of 520 bytes
CAS: Request from 127.0.0.1:58648 => cmmd=12 cid=0x7 type=0 count=0 postsize=0
CAS: Request from 127.0.0.1:58648 =>   available=0x1    N=1 paddr=0x7fca5c012178
CAS: Sending a message of 16 bytes
CAS: nill message disconnect ( 8 bytes request )
CAS: Connection 22 Terminated

3.14.12 client:
CAS: Request from 127.0.0.1:52427 => cmmd=0 cid=0x1 type=1 count=13 postsize=0
CAS: Request from 127.0.0.1:52427 =>   available=0x0    N=1 paddr=(nil)
CAS: Request from 127.0.0.1:52427 => cmmd=6 cid=0x1 type=5 count=13 postsize=16
CAS: Request from 127.0.0.1:52427 =>   available=0x1    N=2 paddr=(nil)
CAS: Sending a udp message of 40 bytes
CAS: conn req from 127.0.0.1:58650
CAS: Request from 127.0.0.1:58650 => cmmd=0 cid=0x0 type=0 count=13 postsize=0
CAS: Request from 127.0.0.1:58650 =>   available=0x0    N=1 paddr=(nil)
CAS: Request from 127.0.0.1:58650 => cmmd=20 cid=0x0 type=0 count=0 postsize=8
CAS: Request from 127.0.0.1:58650 =>   available=0x0    N=2 paddr=(nil)
CAS: Request from 127.0.0.1:58650 => cmmd=21 cid=0x0 type=0 count=0 postsize=8
CAS: Request from 127.0.0.1:58650 =>   available=0x0    N=3 paddr=(nil)
CAS: Request from 127.0.0.1:58650 => cmmd=18 cid=0x1 type=0 count=0 postsize=16
CAS: Request from 127.0.0.1:58650 =>   available=0xd    N=4 paddr=(nil)
CAS: Sending a message of 48 bytes
CAS: Request from 127.0.0.1:58650 => cmmd=15 cid=0x8 type=0 count=2 postsize=0
CAS: Request from 127.0.0.1:58650 =>   available=0x1    N=1 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58650 => cmmd=15 cid=0x8 type=7 count=2 postsize=0
CAS: Request from 127.0.0.1:58650 =>   available=0x2    N=2 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58650 => cmmd=15 cid=0x8 type=14 count=2 postsize=0
CAS: Request from 127.0.0.1:58650 =>   available=0x3    N=3 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58650 => cmmd=15 cid=0x8 type=21 count=2 postsize=0
CAS: Request from 127.0.0.1:58650 =>   available=0x4    N=4 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58650 => cmmd=15 cid=0x8 type=28 count=2 postsize=0
CAS: Request from 127.0.0.1:58650 =>   available=0x5    N=5 paddr=0x7fca5c012178
CAS: Sending a message of 520 bytes
CAS: Request from 127.0.0.1:58650 => cmmd=12 cid=0x8 type=0 count=0 postsize=0
CAS: Request from 127.0.0.1:58650 =>   available=0x1    N=1 paddr=0x7fca5c012178
CAS: Sending a message of 16 bytes
CAS: nill message disconnect ( 8 bytes request )
CAS: Connection 3 Terminated

3.13.10 client:
pc12708> CAS: cast server msg of 32 bytes from addr 127.0.0.1:54966
CAS: Request from 127.0.0.1:54966 => cmmd=6 cid=0x0 type=1280 count=8 postsize=16
CAS: Request from 127.0.0.1:54966 =>   available=0x0    N=1 paddr=(nil)
CAS: Sending a udp message of 40 bytes
CAS: conn req from 127.0.0.1:58652
CAS: Request from 127.0.0.1:58652 => cmmd=20 cid=0x0 type=0 count=0 postsize=8
CAS: Request from 127.0.0.1:58652 =>   available=0x0    N=1 paddr=(nil)
CAS: Request from 127.0.0.1:58652 => cmmd=21 cid=0x0 type=0 count=0 postsize=8
CAS: Request from 127.0.0.1:58652 =>   available=0x0    N=2 paddr=(nil)
CAS: Request from 127.0.0.1:58652 => cmmd=18 cid=0x0 type=0 count=0 postsize=16
CAS: Request from 127.0.0.1:58652 =>   available=0x8    N=3 paddr=(nil)
CAS: Sending a message of 48 bytes
CAS: Request from 127.0.0.1:58652 => cmmd=15 cid=0x9 type=0 count=2 postsize=0
CAS: Request from 127.0.0.1:58652 =>   available=0x0    N=1 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58652 => cmmd=15 cid=0x9 type=7 count=2 postsize=0
CAS: Request from 127.0.0.1:58652 =>   available=0x1000000      N=2 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58652 => cmmd=15 cid=0x9 type=14 count=2 postsize=0
CAS: Request from 127.0.0.1:58652 =>   available=0x2000000      N=3 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58652 => cmmd=15 cid=0x9 type=21 count=2 postsize=0
CAS: Request from 127.0.0.1:58652 =>   available=0x3000000      N=4 paddr=0x7fca5c012178
CAS: Request from 127.0.0.1:58652 => cmmd=15 cid=0x9 type=28 count=2 postsize=0
CAS: Request from 127.0.0.1:58652 =>   available=0x4000000      N=5 paddr=0x7fca5c012178
CAS: Sending a message of 520 bytes
CAS: nill message disconnect ( 8 bytes request )
CAS: Connection 22 Terminated

The 3.13.10 lient never announces its version (cmd=0)!
I had to remove the client version check from camessage to make it work.
A 3.14.12 IOC shows the same messages.

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1971737

Title:
  EPICS 3.13 clients cannot connect to EPICS 7 or 3.16

Status in EPICS Base:
  New

Bug description:
  Since commit 95fd255d "rsrv: ignore CA client version older than v4.4"
  from Jul 30 2016, EPICS 3.13 clients cannot connect any more, even
  though their CA version is V4.8.

  The reason is that camessage drops the incoming CA_PROTO_SEARCH
  messages because the 3.13 client has not yet sent a CA_PROTO_VERSION
  message and thus the code reads client->minor_version_number as 0.

  This is a huge hindrance for upgrading 3.14 IOCs to EPICS 7 when there
  are still 3.13 IOC (which cannot be upgraded yet) in the network which
  need to connect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1971737/+subscriptions


References:
[Bug 1971737] [NEW] EPICS 3.13 clients cannot connect to EPICS 7 or 3.16 Dirk Zimoch via Core-talk

Navigate by Date:
Prev: Build failed: epics-base base-7.0-50 AppVeyor via Core-talk
Next: Build failed: epics-base base-ci-822 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: [Bug 1971737] Re: EPICS 3.13 clients cannot connect to EPICS 7 or 3.16 mdavidsaver via Core-talk
Next: [Bug 1971737] Re: EPICS 3.13 clients cannot connect to EPICS 7 or 3.16 Dirk Zimoch via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·