Here are some trace I've just collected:
IOC boot:
-------------
#!../../bin/linux-x86_64/streamTest
## You may have to change streamTest to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-x86_64")
epicsEnvSet("IOC","iocstreamTest")
epicsEnvSet("TOP","/home/davidmichel/Project/experimental/device/driver")
epicsEnvSet("EPICS_BASE","/usr/local/epics/base-3.14.12.3")
epicsEnvSet("STREAMDEVICE","/usr/local/epics/support/stream/current")
epicsEnvSet("ASYN","/usr/local/epics/support/asyn/current")
cd /home/davidmichel/Project/experimental/device/driver
## Register all support components
dbLoadDatabase "dbd/streamTest.dbd"
streamTest_registerRecordDeviceDriver pdbbase
## Register NewFocus 8742 pico motor controller
epicsEnvSet("STREAM_PROTOCOL_PATH","/home/davidmichel/Project/experimental/device/driver/protocols")
drvAsynIPPortConfigure("MC1","
192.168.42.240:23")
## debug tracing
asynSetTraceIOMask("MC1",0,0xFF)
asynSetTraceMask("MC1",0,0xFF)
## Load record instances
dbLoadRecords("db/device_driver.db","DEVICE=MC1")
dbLoadRecords("db/axis.db","DEVICE=MC1, AXIS=1")
cd /home/davidmichel/Project/experimental/device/driver/iocBoot/iocstreamTest
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.3 $Date: Mon 2012-12-17 14:11:47 -0600$
## EPICS Base built Aug 8 2013
############################################################################
2014/09/05 14:14:45.181 MC1 addr -1 queueRequest priority 0 not lockHolder
2014/09/05 14:14:45.181 MC1 schedule queueRequest timeout
2014/09/05 14:14:45.181 MC1 addr -1 queueRequest priority 0 not lockHolder
2014/09/05 14:14:45.181 MC1 schedule queueRequest timeout
2014/09/05 14:14:45.181 MC1 addr -1 queueRequest priority 0 not lockHolder
2014/09/05 14:14:45.181 MC1 schedule queueRequest timeout
2014/09/05 14:14:45.181 asynManager::portThread port=MC1 callback
2014/09/05 14:14:45.182 MC1 addr -1 queueRequest priority 0 not lockHolder
2014/09/05 14:14:45.182 MC1 schedule queueRequest timeout
2014/09/05 14:14:45.182 asynManager::portThread port=MC1 callback
2014/09/05 14:14:45.182
192.168.42.240:23 read.
2014/09/05 14:14:45.182
192.168.42.240:23 read 6
����
\377\375\003\377\373\001
ff fd 03 ff fb 01
2014/09/05 14:14:45.182 MC1 read
����
\377\375\003\377\373\001cas warning: Configured TCP port was unavailable.
cas warning: Using dynamically assigned TCP port 44650,
cas warning: but now two or more servers share the same UDP port.
cas warning: Depending on your IP kernel this server may not be
cas warning: reachable with UDP unicast (a host's IP in EPICS_CA_ADDR_LIST)
ff fd 03 ff fb 01
2014/09/05 14:14:45.182
192.168.42.240:23 read.
iocRun: All initialization complete
## Start any sequence programs
#seq sncxxx,"user=davidmichelHost"
2014/09/05 14:14:45.183 MC1 get Eos 0
2014/09/05 14:14:45.183 MC1 set Eos 0
2014/09/05 14:14:45.183
192.168.42.240:23 write.
2014/09/05 14:14:45.183
192.168.42.240:23 write 5
1AC?
1AC?\r
31 41 43 3f 0d
2014/09/05 14:14:45.183 wrote 5 to
192.168.42.240:23, return asynSuccess.
2014/09/05 14:14:45.183 MC1 wrote
1AC?
1AC?\r
31 41 43 3f 0d
2014/09/05 14:14:45.183 MC1 set Eos 0
2014/09/05 14:14:45.183 MC1 addr -1 queueRequest priority 0 from lockHolder
2014/09/05 14:14:45.183 MC1 schedule queueRequest timeout
2014/09/05 14:14:45.183 asynManager::portThread port=MC1 callback
2014/09/05 14:14:45.183 MC1 get Eos 0
2014/09/05 14:14:45.183 MC1 set Eos 2
\r\n
0d 0a
2014/09/05 14:14:45.183
192.168.42.240:23 read.
2014/09/05 14:14:45.184
192.168.42.240:23 read 8
100000
100000\r\n
31 30 30 30 30 30 0d 0a
2014/09/05 14:14:45.184 MC1 read
100000
100000\r\n
31 30 30 30 30 30 0d 0a
2014/09/05 14:14:45.184 MC1 set Eos 0
2014/09/05 14:14:45.184 asynManager::portThread port=MC1 callback
2014/09/05 14:14:45.184 MC1 addr -1 queueRequest priority 0 not lockHolder
2014/09/05 14:14:45.184 MC1 schedule queueRequest timeout
2014/09/05 14:14:45.184 asynManager::portThread port=MC1 callback
2014/09/05 14:14:45.184
192.168.42.240:23 read.
2014/09/05 14:14:45.185 MC1 get Eos 0
2014/09/05 14:14:45.185 MC1 set Eos 0
2014/09/05 14:14:45.185
192.168.42.240:23 write.
2014/09/05 14:14:45.185
192.168.42.240:23 write 5
1VA?
1VA?\r
31 56 41 3f 0d
2014/09/05 14:14:45.185 wrote 5 to
192.168.42.240:23, return asynSuccess.
2014/09/05 14:14:45.185 MC1 wrote
1VA?
1VA?\r
31 56 41 3f 0d
2014/09/05 14:14:45.185 MC1 set Eos 0
2014/09/05 14:14:45.185 MC1 addr -1 queueRequest priority 0 from lockHolder
2014/09/05 14:14:45.185 MC1 schedule queueRequest timeout
2014/09/05 14:14:45.185 asynManager::portThread port=MC1 callback
2014/09/05 14:14:45.185 MC1 get Eos 0
2014/09/05 14:14:45.185 MC1 set Eos 2
\r\n
0d 0a
2014/09/05 14:14:45.185
192.168.42.240:23 read.
2014/09/05 14:14:45.186
192.168.42.240:23 read 6
2000
2000\r\n
32 30 30 30 0d 0a
2014/09/05 14:14:45.186 MC1 read
2000
2000\r\n
32 30 30 30 0d 0a
2014/09/05 14:14:45.186 MC1 set Eos 0
2014/09/05 14:14:45.186 asynManager::portThread port=MC1 callback
2014/09/05 14:14:45.186 MC1 addr -1 queueRequest priority 0 not lockHolder
2014/09/05 14:14:45.186 MC1 schedule queueRequest timeout
2014/09/05 14:14:45.186 asynManager::portThread port=MC1 callback
2014/09/05 14:14:45.186
192.168.42.240:23 read.
2014/09/05 14:14:45.187 MC1 get Eos 0
2014/09/05 14:14:45.187 MC1 set Eos 0
2014/09/05 14:14:45.187
192.168.42.240:23 write.
2014/09/05 14:14:45.188
192.168.42.240:23 write 8
IPADDR?
IPADDR?\r
49 50 41 44 44 52 3f 0d
2014/09/05 14:14:45.188 wrote 8 to
192.168.42.240:23, return asynSuccess.
2014/09/05 14:14:45.188 MC1 wrote
IPADDR?
IPADDR?\r
49 50 41 44 44 52 3f 0d
2014/09/05 14:14:45.188 MC1 set Eos 0
2014/09/05 14:14:45.188 MC1 addr -1 queueRequest priority 0 from lockHolder
2014/09/05 14:14:45.188 MC1 schedule queueRequest timeout
2014/09/05 14:14:45.188 asynManager::portThread port=MC1 callback
2014/09/05 14:14:45.188 MC1 get Eos 0
2014/09/05 14:14:45.188 MC1 set Eos 2
\r\n
0d 0a
2014/09/05 14:14:45.188
192.168.42.240:23 read.
2014/09/05 14:14:45.188
192.168.42.240:23 read 16
192.168.42.240
192.168.42.240\r\n
31 39 32 2e 31 36 38 2e 34 32 2e 32 34 30 0d 0a
2014/09/05 14:14:45.189 MC1 read
192.168.42.240
192.168.42.240\r\n
31 39 32 2e 31 36 38 2e 34 32 2e 32 34 30 0d 0a
2014/09/05 14:14:45.189 MC1 set Eos 0
epics>
IOC shell output when error occurs
--------------------------------------------------
2014/09/05 15:17:51.953 MC1 addr -1 queueRequest priority 0 not lockHolder
2014/09/05 15:17:51.953 MC1 schedule queueRequest timeout
2014/09/05 15:17:51.953 asynManager::portThread port=MC1 callback
2014/09/05 15:17:51.953 MC1 addr -1 queueRequest priority 0 not lockHolder
2014/09/05 15:17:51.953 MC1 schedule queueRequest timeout
2014/09/05 15:17:51.953 asynManager::portThread port=MC1 callback
2014/09/05 15:17:51.953
192.168.42.240:23 read.
2014/09/05 15:17:51.954 MC1 get Eos 0
2014/09/05 15:17:51.954 MC1 set Eos 0
2014/09/05 15:17:51.954
192.168.42.240:23 write.
2014/09/05 15:17:51.954
192.168.42.240:23 write 5
1MD?
1MD?\r
31 4d 44 3f 0d
2014/09/05 15:17:51.954 wrote 5 to
192.168.42.240:23, return asynSuccess.
2014/09/05 15:17:51.954 MC1 wrote
1MD?
1MD?\r
31 4d 44 3f 0d
2014/09/05 15:17:51.954 MC1 set Eos 0
2014/09/05 15:17:51.954 MC1 addr -1 queueRequest priority 0 from lockHolder
2014/09/05 15:17:51.954 MC1 schedule queueRequest timeout
2014/09/05 15:17:51.954 asynManager::portThread port=MC1 callback
2014/09/05 15:17:51.954 MC1 get Eos 0
2014/09/05 15:17:51.954 MC1 set Eos 2
\r\n
0d 0a
2014/09/05 15:17:51.954
192.168.42.240:23 read.
2014/09/05 15:17:51.954712 MC1 MC1:A1_DONE: No reply from device within 1000 ms
2014/09/05 15:17:51.955 MC1 set Eos 0