Rob,
We recently had a report from Dirk Zimich at PSI that VXI11 was not
working with asyn R4-8. But he was upgrading from EPICS R3.13, not an
earlier version of asyn. So your report is very useful, since you say
it worked in asyn R4-5.
Can you send the complete output when your IOC starts?
Can you set the asynTraceMask on that asyn port so that you get full
debugging information?
Also, I suspect that the problem may be coming from the code that was
added in asyn R4-6 to automatically queue a connect request (call to
pasynCommon->connect) when a call to pasynManager->connectDevice is done
for a port with the attributes autoConnect=Yes and isConnected=No.
Can you please try disabling this code with the following change that
comments out the call to pasynCommon->connect() and letting me know if
it fixes the problem?
corvette> cvs diff -rR4-8 asynManager.c
Index: asynManager.c
===================================================================
RCS file:
/net/phoebus/epicsmgr/cvsroot/epics/modules/soft/asyn/asyn/asynDriver/as
ynManager.c,v
retrieving revision 1.93
diff -u -r1.93 asynManager.c
--- asynManager.c 28 Apr 2007 21:19:58 -0000 1.93
+++ asynManager.c 22 Aug 2007 17:25:32 -0000
@@ -1185,6 +1185,7 @@
}
pasynCommon = (asynCommon *)pasynInterface->pinterface;
commonPvt = pasynInterface->drvPvt;
+/*
status = pasynCommon->connect(commonPvt, pasynUser);
if (status != asynSuccess) {
asynPrint(pasynUser, ASYN_TRACE_ERROR,
@@ -1192,6 +1193,7 @@
portName, pasynUser->errorMessage);
goto cleanup;
}
+*/
cleanup:
status = pasynManager->freeAsynUser(pasynUser);
if (status != asynSuccess) {
Thanks,
Mark
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert Emery
Sent: Wednesday, August 22, 2007 11:25 AM
To: [email protected]
Subject: asyn 4.8 problem
I have recently upgraded from asyn 4.5 to 4.8 and am seeing the
following error messages whereas I didn't have them with 4.5:
Starting iocInit
##############################################################
##############
### EPICS IOC CORE built on Oct 9 2006
### EPICS R3.14.8.2 $R3-14-8-2$ $2006/01/06 15:55:13$
##############################################################
##############
2007/08/22 09:01:13.319 gpib0,1 vxiCreateDeviceLink RPC error : RPC:
Unable to receive; errno = Connection reset by peer
2007/08/22 09:01:13.319 CoilA vxiCreateDevLink failed for addr 1
2007/08/22 09:01:13.319 asynManager::asynConnectCallback, port CoilA
error calling asynCommon->connect
2007/08/22 09:01:13.319 gpib0,1 vxiCreateDeviceLink RPC error : RPC:
Unable to send; errno = Broken pipe
2007/08/22 09:01:13.319 CoilA vxiCreateDevLink failed for addr 1
.
.
.
I am using this to control equipment on GPIB via an Agilent E5810
Ethernet/GPIB bridge.
Any ideas?
Thanks
Rob Emery
UW Medical Center