EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: bug in EPICS R3.13 and R3.12---booting vme162
From: Andrew Johnson <[email protected]>
To: Lin Jie <[email protected]>
Cc: [email protected]
Date: Mon, 26 Jul 1999 14:06:17 -0500
Lin Jie wrote:
> 
> The other is if my ioc is using the ftp (user name + passwd), then it will 
> hang up when it tries to load the VxWorks symbols.

Is this a hangup, or is it a delay of about 50 seconds on access to the
first file after the reboot?  We see such a delay (when booting from
Solaris) on every BSP except the mv167 - I can't explain why that BSP
isn't affected.  There is a way to get around it by adding the following
code to your <tornado>/target/config/all/usrConfig.c file:

    {
        int mybsock;
        struct sockaddr_in mybsockaddr;

        mybsockaddr.sin_addr.s_addr = htonl(INADDR_ANY);
        mybsockaddr.sin_port = 0;
        mybsockaddr.sin_family = AF_INET;
        mybsock = socket(AF_INET, SOCK_STREAM, 0);
        bind (mybsock, (struct sockaddr *) &mybsockaddr,
sizeof(mybsockaddr));
        close(mybsock);
    }

I do this immediately after the call  usrNetInit(BOOT_LINE_ADRS);  within
the #ifdef INCLUDE_NET_INIT block.  This fix was first posted to tech-talk
in March this year.

- Andrew
-- 
I brake for tail-gaters


References:
bug in EPICS R3.13 and R3.12---booting vme162 Lin Jie

Navigate by Date:
Prev: Re: bug in EPICS R3.13 and R3.12---booting vme162 William Lupton
Next: Re: How do you know if you are accessing a shared resource? Tim Mooney
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: bug in EPICS R3.13 and R3.12---booting vme162 Ralph Lange
Next: Re: bug in EPICS R3.13 and R3.12---booting vme162 Susanna Jacobson
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·