Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: RE: Channel access problem on cygwin IOC
From: "Mark Rivers" <rivers@cars.uchicago.edu>
To: "Jeff Hill" <johill@lanl.gov>, <tech-talk@aps.anl.gov>
Date: Fri, 30 Sep 2005 15:33:26 -0500
Jeff,
 
The think the problem might have been caused by EPICS launching a second copy of my IOC instead of caRepeater one time.  So there were two copies of the IOC application running, causing the IP problem?
 
There is something else I don't understand about caRepeater behavior on this IOC.
 
Here is a list of cygwin processes before I start my IOC.  
$ ps -a
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     1364       1    1364       1364    ?   18 20:29:52 /usr/bin/cygrunsrv
     1660    1364    1660       1672    ?   18 20:29:57 /usr/sbin/sshd
I     460       1     460        460    0 11092 20:31:24 /usr/bin/bash
     2280       1    2280       2280    1 11092 14:02:41 /usr/bin/bash
     3808    2280    3808       2740    1 11092 14:03:38 /usr/bin/ps
 
Now I start the IOC. Note that the path to caRepeater in EPICS base is in my cygwin PATH.  Now list the processes again.

$ ps -a
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     1364       1    1364       1364    ?   18 20:29:52 /usr/bin/cygrunsrv
     1660    1364    1660       1672    ?   18 20:29:57 /usr/sbin/sshd
      460       1     460        460    0 11092 20:31:24 /usr/bin/bash
     2280       1    2280       2280    1 11092 14:02:41 /usr/bin/bash
I    2112     460    2112       3008    0 11092 14:03:49 /cygdrive/j/epics/devel/dxp/2-4beta/bin/cygwin-x86/xmapApp
      736    2112    2112       3284    0 11092 14:04:49 /cygdrive/h/epics/base/bin/cygwin-x86/caRepeater
     3932    2280    3932       3456    1 11092 15:14:12 /usr/bin/ps

 
xmapApp is the IOC process.  Note that starting the IOC has started the caRepeater, as it should have.
 
However, I get the following message from iocsh on the IOC after iocInit is complete.
*****
CA client library is unable to contact CA repeater after 50
Silence this message by starting a CA repeater daemon
or by calling ca_pend_event() and or ca_poll() more often.
******
 
This does not seem right.  Why am I getting that error message even though caRepeater was in fact successfully started?
 
Thanks,
Mark
 


Navigate by Date:
Prev: Re: Possible improvements to simulation mode [patch] Steve Lewis
Next: Re: Possible improvements to simulation mode [patch] Ned Arnold
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: RE: Channel access problem on cygwin IOC Jeff Hill
Next: RE: Channel access problem on cygwin IOC Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·