EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Re: tcp/ip falling over
From: Ian A Smith <[email protected]>
To: Maren Purves <[email protected]>
Cc: [email protected]
Date: Wed, 21 Jun 2006 09:13:10 +0100
Hi,

sorry, I should have said, the ioc is alive and "well" via the console. No application activity is active, so how it can overflow a buffer isn't obvious.

Thanks

Ian

Maren Purves wrote:
Ian,

you say there are no messages sent to the serial console, but
is the serial console (or the IOC itself) dead or alive?
- And if this consistently happens after 5 minutes it looks
like a buffer overflow somewhere. -

Maren

On Wed, 21 Jun 2006, Ian A Smith wrote:

Hi,

I have a crate whose networking consistently falls over after 5 minutes. There are no messages sent to the serial consol and I can't even ping the crate after it happens.

I have reduced the application to a very simple startup file:

hostAdd "scuba232", "195.194.120.210"
value = 0 = 0x0

ld < /sw3/jac_sw/epics/jacR3.13.8/bin/ppc604_long/tnetDev
value = 518154048 = 0x1ee26740 = tnetDevClose + 0x928

tnetDevCreate("/pty/ls218_2",  "scuba232", 2104)
value = 518140392 = 0x1ee231e8
tnetDevCreate("/pty/ls218_1",  "scuba232", 2103)
value = 518121632 = 0x1ee1e8a0

If there is only 1 /pty device then the fault does not appear. It also doesn't seem to matter which terminal connection is made, as long as there are 2 or more of them. All of the created consol connections work until the networking falls over.

The crate details are:

VxWorks version 5.4.2
KERNEL: WIND version 2.5
CPU: Motorola MVME5110-2263 - MPC 7410.  Processor #0.
Memory Size: 0x20000000.  BSP version 1.2/1.


Any suggestions appreciated.





--
Ian A Smith               Telephone: +44 (0) 131 668 8255
Royal Observatory         Fax:       +44 (0) 131 668 8314
Blackford Hill            Web:       http://www.roe.ac.uk/
Edinburgh
EH9 3HJ
UK



References:
tcp/ip falling over Ian A Smith
Re: tcp/ip falling over Maren Purves

Navigate by Date:
Prev: Re: tcp/ip falling over Maren Purves
Next: VDCT survey results Shepherd, EL (Emma)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: tcp/ip falling over Maren Purves
Next: VDCT survey results Shepherd, EL (Emma)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024