g+
g+ Communities
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  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: RE: epicsAtExit
From: "Szalata, Zenon M." <zms@slac.stanford.edu>
To: Andrew Johnson <anj@aps.anl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 28 Jun 2012 11:59:24 -0700
Thanks Andrew,
I have seen this message printed in the console while the IOC was booting.  At first I wondered about it then ignored and forgot it.  Is it desirable to have the vxWorks routine sysAtReboot(), that is, how important it is?
I could ask Ernest to include whatever needs to be included and rebuild vxWorks to have this routine available.  On the other hand, adding rebootHookAdd(epicsExitCallAtExits) to my st.cmd file fixes my immediate problem.
Thank you again,
Zen

> -----Original Message-----
> From: Andrew Johnson [mailto:anj@aps.anl.gov]
> Sent: Thursday, June 28, 2012 11:29 AM
> To: tech-talk@aps.anl.gov
> Cc: Szalata, Zenon M.; Mark Rivers; Williams Jr., Ernest L.
> Subject: Re: epicsAtExit
> 
> Hi Zen,
> 
> On 2012-06-28 Szalata, Zenon M. wrote:
> > I don't see the printf message in the console output.  I see no
> > evidence that rebootCB() is called.
> 
> Does your vxWorks BSP provide the sysAtReboot() function that EPICS uses to
> register the reboot callbacks?  If not you'll see this message during booting,
> probably while loading the IOC's .munch file:
> 
>     BSP routine sysAtReboot() not found, epicsExit() will not be
>     called by reboot.  For reduced functionality, call
>         rebootHookAdd(epicsExitCallAtExits)
> 
> If you see that, follow its advice and see whether that solves the problem.
> 
> - Andrew
> --
> Never interrupt your enemy when he is making a mistake.
> -- Napoleon Bonaparte


Replies:
Re: epicsAtExit Andrew Johnson
References:
epicsAtExit Szalata, Zenon M.
RE: epicsAtExit Mark Rivers
RE: epicsAtExit Szalata, Zenon M.
Re: epicsAtExit Andrew Johnson

Navigate by Date:
Prev: RE: epicsAtExit Szalata, Zenon M.
Next: Re: epicsAtExit Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: Re: epicsAtExit Andrew Johnson
Next: Re: epicsAtExit Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·