EPICS Controls 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  <20112012  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  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Asyn or StreamDevice Error Messages: vxi11 clientIoCall errno Permission denied clnt_stat 5
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Thu, 3 Nov 2011 23:06:56 +0100
Am Donnerstag, 3. November 2011, um 19:26:47 schrieb William Lu:
> I use a softioc to control multiple GPIB devices through the ICS 8065
> Ethernet-GPIB controller.  I use asyn 4.15 and StreamDevice 2.4.
> Occasionally the ioc printed the messages like the following:
>
> 2011/11/03 13:36:59.001 INJGPIB1 vxi11 clientIoCall errno Permission
> denied clnt_stat 5
> 2011/11/03 13:36:59.001 INJGPIB1 IFY0IA2iread: asynError in read:
> INJGPIB1 RPC failed
>
> 2011/11/03 13:36:59.001 INJGPIB1 IFY0IA2iread: I/O error after reading 0
> bytes: ""
> 2011/11/03 13:36:59.001 INJGPIB1 IFY0IA2iread: Protocol aborted
>
> I am wondering what they mean. Why did I get them?

Probably they mean that your ICS 8065 is broken (though not fatally), possibly
due to a bug in the firmware. It should never happen that you /occasionally/
get "permission denied" errors from the RPC layer (which is what the VXI-11
protocol builds upon). One possibility is that the guys who wrote the software
(firmware) for the ICS 8065 misunderstood the specification and send back such
an error to indicate that the device is temporarily unavailable (for instance
because it is busy servicing another device/request/whatever). One way to
check this hypotheses is to temporarily switch to a configuration where you
use only one GPIB device per gateway: if the error goes away then this would
confirm my hypotheses.

Another possibility for research is to try to correlate the times these errors
happen with network problems, e.g. intermittent failures of network components
between the gateway and the IOC or unusually high rates of broken packages.
(Note that this is a pure guess, you should consult with your network people
and ask them whether they think this could be a cause.)

In any case, you might want to see if firmware upgrades for the ICS 8065 are
available. With the Agilent E2050A (another such gateway) this sometimes did
help to resolve problems.

Cheers
Ben

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführer: Prof. Dr. Anke Rita Kaysser-Pyzalla, Dr. Ulrich Breuer

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


Replies:
Re: Asyn or StreamDevice Error Messages: vxi11 clientIoCall errno Permission denied clnt_stat 5 William Lu
References:
Asyn or StreamDevice Error Messages: vxi11 clientIoCall errno Permission denied clnt_stat 5 William Lu

Navigate by Date:
Prev: Re: epicsQt plugin build errors Andrew Johnson
Next: Re: epicsQt plugin build errors Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Asyn or StreamDevice Error Messages: vxi11 clientIoCall errno Permission denied clnt_stat 5 William Lu
Next: Re: Asyn or StreamDevice Error Messages: vxi11 clientIoCall errno Permission denied clnt_stat 5 William Lu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·