EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CA block sem corrupted error and S_errno_ENOBUFS
From: Zoltan Kakucs <[email protected]>
To: Kevin Tsubota <[email protected]>
Cc: "tech-talk (E-mail)" <[email protected]>
Date: Mon, 20 Oct 2003 11:37:16 +0200
Hi,

Also we've also experienced: CAS: TCP send to "host" failed because
"S_errno_ENOBUFS"
errors.  I believe this is a VxWorks resource issue but don't know which
resource.  Which
VxWorks resource do I need to increase?
  
we have encountered this problem on MVME162-Series using the same release of vxWorks.
This is related to the vxWorks resources *_MBUFS.

Here is a copy from my documentation describing givin the solution:

Increase the mbuf's


Edit the file ${WIND_BASE}/target/h/net/mbuf.h

+++
OLD value something like this:        #define NUM_INIT_MBUFS                40      /* number of mbufs to initialize */
NEW value:                                   #define NUM_INIT_MBUFS                100     /* number of mbufs to initialize */
---

+++
OLD value:                                    #define MAX_MBUFS             1500
NEW value:                                   #define MAX_MBUFS             3000
---

Now you should rebuild the vxWorks library.

Rebuild the vxWorks library for your preffered CPU-Type

Change to the directory ${WIND_BASE}/target/src/usr and make your changes in the *.c files
Rebuild the objects by calling make CPU=MC68040 TOOL=gnu objs,
then rebuild the library make CPU=MC68040 TOOL=gnu lib
Now you can rebuild your vxWorks image and the new features will be included

Good speed! :-)

Zoltan Kakucs
DESY Hamburg, Germany

References:
CA block sem corrupted error and S_errno_ENOBUFS Kevin Tsubota

Navigate by Date:
Prev: CA block sem corrupted error and S_errno_ENOBUFS Kevin Tsubota
Next: RE: CA block sem corrupted error and S_errno_ENOBUFS Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CA block sem corrupted error and S_errno_ENOBUFS Kevin Tsubota
Next: RE: CA block sem corrupted error and S_errno_ENOBUFS Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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 ·