EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 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: channel access security deadlock from asInit()
From: Ralph Lange <[email protected]>
To: "Ned D. Arnold" <[email protected]>
Cc: Kay-Uwe Kasemir <[email protected]>, EPICS Core Talk <[email protected]>
Date: Tue, 24 Apr 2007 07:38:37 +0200
I was able to check this a bit further before taking off to the EPICS meeting at DESY:

It's even worse. Not only the CA server doesn't respond to name requests anymore, even the IOC initialization doesn't finish. In our case, the main communication tasks for the CAN field bus are started at the final init step. If the AS file doesn't exist, CA doesn't find the channels anymore. When I went to the IOC, I saw there was no CAN traffic. Checking on the IOC's console, I found these tasks were not started.

Looks as if IOCinit bails out somewhere in the middle of doing things if the AS file doesn't exist.

Again: I agree that not giving any access would be the correct behavior in that case. Not finishing the IOC startup is too much of a penalty.

Cheers,
Ralph


Ralph Lange wrote:
Ned -

I thought about this, too ... and I would completely understand if the CA server does not grant access (neither read nor write) to any channels in that case.

But actually it doesn't even resolve the names anymore, which is a different thing, misleading, and probably neither appropriate nor intended.

Ralph


Ned D. Arnold wrote:
Ralph -

I think the behavior that you observed is by design ... if one tries to specify a configuration file that does not exist, it means you intended to have *some* access control in place. If the file doesn't exist, this is a fatal error and the safest thing to do is not allow any access at all so someone will fix the problem immediately. I actually remember this discussion with Marty Kraimer about 16 years ago ...

  Ned


Navigate by Date:
Prev: RE: [Fwd: Track on control system evolution] News from EPICS - proposed topics Korhonen Timo
Next: generalTime & EventTime Kalantari Babak
Index: 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: RE: [Fwd: Track on control system evolution] News from EPICS - proposed topics Korhonen Timo
Next: generalTime & EventTime Kalantari Babak
Index: 2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·