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  2011  <20122013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RTEMS RPCIO errors
From: Bruce Hill <bhill@slac.stanford.edu>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 16 Mar 2012 17:14:36 -0700
I've been updating some of our VME RTEMS systems from RTEMS 4.7.1 to 4.9.4
and I'm seeing RPCIO errors on most of my 4.9.4 crates.
We're using:
RTEMS_PATCHLVL=rtems_p0
SSRLAPPS_PATCHLVL=ssrlApps_p3


An example error msg from one system is:
Cexp@ioc-thz-vme01>RPCIO - statistics: already 51000 retries to server 172.21.32.20

Another is spewing like this:
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x0013c2cf  -- got 0x1f3795cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): got xid 0x1f239c40 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f239c40 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f239c40 but its slot is empty
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x0013c2cf  -- got 0x1f3797cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x0013c2cf  -- got 0x1f3797cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x0013c2cf  -- got 0x1f3797cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): got xid 0x1f239e40 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f239e40 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f239e40 but its slot is empty
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x0013e2cf  -- got 0x1f3799cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801


Any help would be appreciated.

Thanks,
- Bruce

Full boot output shown below:
(505) 04:58 PM las-console:~
% console ioc-las-dig1
Connecting to the LDAP directory ... done.
Looking for ioc-las-dig1 serial port ... done.
Connecting to serial port using telnet ...
To close connection use ^], then 'quit' or ^D
Telnet escape character is '^]'.
Trying 172.21.35.87...
Connected to digi-las-r50-36.pcdsn (172.21.35.87).
Escape character is '^]'.

Cexp@ioc-las-dig1>RPCIO WARNING sockRcv(): got xid 0x1f283840 but its slot is empty
reboot()RPCIO WARNING sockRcv(): got xid 0x1f283840 but its slot is empty

Printing a stack trace for your convenience :-)

0x000DEC04--> 0x000DF6F4--> 0x00009344--> 0x00010474--> 0x00010B1C
0x0000836C--> 0x000052C0--> 0x00152814--> 0x00152794



Copyright Motorola Inc. 1999-2005, All Rights Reserved
MOTLoad RTOS Version 2.0,  PAL Version 1.1 RM04
Wed Jul 20 15:07:15 MST 2005

MPU-Type             =MPC74x7
MPU-Int Clock Speed  =1266MHz
MPU-Ext Clock Speed  =133MHz
MPU-Int Cache(L2) Enabled, 512KB, L2CR =C0000000
MPU-Ext Cache(L3) Enabled, 2MB, 211MHz, L3CR =DC026000

PCI bus instance 0   =64 bit, 133 Mhz, PCI-X
PCI bus instance 1   =64 bit, PCI

Reset/Boot Vector    =Flash1

Local Memory Found   =20000000 (&536870912)
User Download Buffer =006B7000:008B6FFF

MVME6100> netShut
/dev/enet0                 Disabled
/dev/enet1                 Disabled
MVME6100> bmw -af4000000 -bf40fffff ------------------------------------------
config addr is 0xF1000CF8
config data is 0xF1000CFC
Welcome to rtems-4.7.1(PowerPC/PowerPC 7455/beatnik) ($Name: rtems-4-7-1-beatnik-p2 $)
Build Date: Mon Oct 15 16:37:37 PDT 2007
Board Type: MVME6100-0163 (S/N 7701233)
CPU: MPC7457
Bus Clock Freq:   133333333 Hz
CPU Clock Freq:  1266666654 Hz
Memory:           536870912 bytes
-----------------------------------------
Now BSP_mem_size = 0x1FE00000
BSP_Configuration.work_space_size = 38400
Page table setup finished; will activate it NOW...
Going to start PCI buses scanning and initialization
Number of PCI buses found is : 3
MSR 3032
Exit from bspstart
Registering /dev/console as minor 0 (==/dev/ttyS0)


RTEMS bootloader by Till Straumann <strauman@slac.stanford.edu>
$Id: netboot.c,v 1.30 2007/04/12 21:44:40 strauman Exp $
CVS tag $Name: rtems-4-7-1 $


Type any character to abort netboot: 1
Link detected; attaching mve1
bootpc_init: using network interface 'mve1'
Bootpc testing starting
bootpc hw address is 0:1:af:19:d1:70
My ip address is 172 .21 .35 .73
Domain Name Server is 172 .21 .32 .31
Domain Name Server is 172 .21 .32 .32
Hostname is ioc-las-dig1
Time Server is 172 .21 .32 .20
Domain name is pcdsn slac.stanford.edu
Boot file is rtems-4.9.4/rtems.ralf
Subnet mask is 255 .255 .255 .0
Server ip address is 172 .21 .32 .20
Gateway ip address is 172 .21 .35 .1
Log server ip address is 172 .21 .32 .20
Using TFTP for transfer
Hello, this is the RTEMS remote loader; trying to load 'rtems-4.9.4/rtems.ralf'
Appending Commandline:
'BP_FILE=rtems-4.9.4/rtems.ralf BP_PARM='' BP_SRVR=172.21.32.20 BP_ENBL=P'
Cache line size seems to be 32 bytes
0x229e68 (2268776) bytes read
mve1 successfully shut down
lo0 successfully shut down
Starting loaded image @0x6c2ee0 NOW...


Cmdline @0x6c2a58: 'BP_FILE=rtems-4.9.4/rtems.ralf BP_PARM='' BP_SRVR=172.21.32.20 BP_ENBL=P'
-----------------------------------------
config addr is 0xF1000CF8
config data is 0xF1000CFC
Welcome to rtems-4.9.4-slac_p1(PowerPC/Generic (classic FPU)/beatnik) ($Name: rtems-4-9-4-slac_p0 $)
CPU: MPC7457
Build Date: Wed Apr 20 10:32:17 PDT 2011
Board Type: MVME6100-0163 (S/N 7701233)
Bus Clock Freq:   133333333 Hz
CPU Clock Freq:  1266666654 Hz
Memory:           536870912 bytes
-----------------------------------------
Now BSP_mem_size = 0x1FE00000
Configuration.work_space_size = F00000
Page table setup finished; will activate it NOW...
Going to start PCI buses scanning and initialization
Number of PCI buses found is : 3
MSR 3032
Exit from bspstart
unable to find the universe in pci config space
Tundra Tsi148 PCI-VME bridge detected at 0x81100000, IRQ 84
Tsi148 Outbound Ports:
Port  VME-Addr   Size       PCI-Adrs   Mode:
0:    0x20000000 0x0E000000 0x90000000 A32, SUP, D32, SCT
1:    0x00000000 0x00FF0000 0x9F000000 A24, SUP, D32, SCT
2:    0x00000000 0x00010000 0x9FFF0000 A16, SUP, D32, SCT
7:    0x00000000 0x01000000 0x9E000000 CSR, SUP, D32, SCT
Tsi148 Inbound Ports:
Port  VME-Addr   Size       PCI-Adrs   Mode:
0:    0x90000000 0x1FE00000 0x00000000 A32, PGM, DAT, SUP, USR, MBLT, BLT
vmeTsi148 IRQ manager: looking for registers on VME...
Trying to find CSR on VME...
vmeTsi148 - IRQ manager using VME CSR to flush FIFO
Registering /dev/console as minor 0 (==/dev/ttyS0)
libbspExt - Warning: it seems that MCP support is not available on your CPU
                     or not implemented by your board. Address probing must
                     be performed in polling mode with interrupts disabled
Welcome to RTEMS 4.9.4-slac_p1 GeSys
This system $Name: R_20100615_p3 $ was built on 20110420PDT11:26:12
$Id: init.c,v 1.55 2010/02/01 01:50:43 strauman Exp $
Installing TIOCGWINSZ line discipline: ok.
To skip initialization, press a key now...
Link detected; attaching mve1
bootpc_init: using network interface 'mve1'
bootpc hw address is 0:1:af:19:d1:70
My ip address is 172 .21 .35 .73
Domain Name Server is 172 .21 .32 .31
Domain Name Server is 172 .21 .32 .32
Hostname is ioc-las-dig1
Time Server is 172 .21 .32 .20
Domain name is pcdsn slac.stanford.edu
Boot file is rtems-4.9.4/rtems.ralf
Subnet mask is 255 .255 .255 .0
Server ip address is 172 .21 .32 .20
Gateway ip address is 172 .21 .35 .1
Log server ip address is 172 .21 .32 .20
RTEMS-RPCIOD $Release$, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info.
RTEMS-NFS $Release$, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info.
Trying to synchronize NTP...OK
Change Dir to 'rtems-4.9.4/'
Trying symfile 'BUILTIN', system script 'st.sys'
Type 'cexpsh.help()' for help (no quotes)
'st.sys':
  # useful abbreviations
  ld    = cexpModuleLoad
0x0000b8b0 (47280)
  unld  = cexpModuleUnload
0x0000c2a8 (49832)
  lsmod = cexpModuleInfo
0x0000cb34 (52020)
  reboot = bsp_reset
0x000df6d4 (915156)
  rtemsReboot = bsp_reset
0x000df6d4 (915156)

  # start the portmapper with a priority argument
  rtems_rpc_start_portmapper(gesysNetworkTaskPriority)
0x00000000 (0)

RPCIO WARNING sockRcv(): got xid 0x  # set telnet password to 'rtems'
1f3c35cf  #setenv("TELNETD_PASSWD","tduDcyLX12owo")
 but its slot is empty
  #ld("telnetd.obj")

  # RTEMS monitor (type rtemsMonitor() to enter its own shell)
  ld("monitor.obj")
0x01973608 (26686984)

  # misc utilities, e.g., md(), mm() memory inspection/modification
  ld("miscUtils.obj")
0x01974250 (26690128)

  # NTP clock this is NOT the system clock. Read using ntp_gettime()
  ld("ntpclock.obj") && rtemsNtpInitialize(0,0)
Trying to contact NTP server; (timeout ~1min.)... OK
NTP synchro code initialized; this is EXPERIMENTAL
0x00000000 (0)

  # gdb stub
  ld("rtems-gdb-stub.obj")
0x019c2ad0 (27011792)

  # set timezone (2007++ rule)
  setenv("TZ","PST8PDT,M3.2.0,M11.1.0",1)
0x00000000 (0)
  tzset()
0x00000000 (0)
RPCIO WARNING sockRcv(): got xid 0x
1f3c35cf but its slot is empty
  # set default PATH
  addpathcwd(":",0)
0xffffffff (-1)

  # Ethernet Interface Media Ioctl Commands (for convenience)
  SIOCSIFMEDIA=0xc0206937
0xc0206937 (-1071617737)
  SIOCGIFMEDIA=0xc0286938
0xc0286938 (-1071093448)
  # Media word:
  #  (phy_inst<<28) | (options) | (type<<4) | (subtype)
  # type: 2: ETHER, 4: TOKEN, 6: FDDI
  # ether_subtype: 3: 10BaseT
  #                4: 10Base2
  #                5: 10Base5
  #                6: 100BaseTX
  #                7: 100BaseFX
  #                8: 100BaseT4
  #               10: 100BaseT2
  # options:   1<<20: Force Full Duplex
  #            1<<21: Force Half Duplex
  #            1<<27: HW Loopback

  nfsMount("172.21.32.20", "/nfsexport/iocCommon/hioc", "/home")
Trying to mount 172.21.32.20:/nfsexport/iocCommon/hioc on /home
0x00000000 (0)
  iocdir=pathSubstitute("/home/%H")
0x019f3a00 (27212288)
  chdir(iocdir)
0x00000000 (0)
< startup.cmd
WARNING: '<' operator to 'source' scripts is deprecated -- use '.' (followed by blank) instead!
<'startup.cmd':
< /home/All/pre_rtems_las.cmd
WARNING: '<' operator to 'source' scripts is deprecated -- use '.' (followed by blank) instead!
<<'/home/All/pre_rtems_las.cmd':
      # Set the NFS user and group id

RPCIO WARNING sockRcv(): got xid 0x1f283c40      # set uid and gid to "lasioc" (10664) and "ps-ioc" (2341)
 but its slot is empty
      # using 172.21.32.20
      setenv ("NFS_FILE_SYSTEM","10664.2341@172.21.32.20")
0x00000000 (0)

      # For /nfsexport/home:
      setenv( "NFS_HOME","10664.2341@172.21.47.20" )
0x00000000 (0)

< /home/All/pre_rtems.cmd
WARNING: '<' operator to 'source' scripts is deprecated -- use '.' (followed by blank) instead!
<<<'/home/All/pre_rtems.cmd':
        #==============================================================
        #
        #  Abs:  IOC pre-startup initialization (Production)
        #
        #  Name: pre_rtems.cmd
        #
        #  Facility: PCDS Controls
        #
        #  Auth: 27-Jul-2009, Bruce Hill (bhill)
        #  Rev:  dd-mmm-yyyy, Reviewer's Name (USERNAME)
        #                       Based on pre_st.cmd from LCLS
        #--------------------------------------------------------------
        #  Mod:
        #       dd-mmm-yyyy, Firstname Lastname (USERNAME):
        #         comment
        #
        #==============================================================
        #

        # NTP server...
        setenv ("EPICS_TS_NTP_INET","172.21.32.31")
0x00000000 (0)
        setenv ("EPICS_TS_MIN_WEST","480")
0x00000000 (0)

        # iocLogClient...
        setenv ("EPICS_IOC_LOG_PORT", "7004")
RPCIO WARNING sockRcv(): got xid 0x0x00000000 (0)
1f283c40        setenv ("EPICS_IOC_LOG_INET", "172.21.32.20")
 but its slot is empty
0x00000000 (0)
        setenv ("EPICS_IOC_LOG_FILE_LIMIT","1000000")
0x00000000 (0)
        setenv ("EPICS_IOC_LOG_FILE_COMMAND","")
0x00000000 (0)

        # Channel access...
        setenv ("EPICS_CA_AUTO_ADDR_LIST","YES")
0x00000000 (0)
        setenv ("EPICS_CA_ADDR_LIST","")
0x00000000 (0)
        setenv ("EPICS_CA_REPEATER_PORT","5065")
0x00000000 (0)
        setenv ("EPICS_CA_SERVER_PORT","5064")
0x00000000 (0)
        setenv ("EPICS_CA_CONN_TMO","10.0")
0x00000000 (0)
        setenv ("EPICS_CA_BEACON_PERIOD","5.0")
0x00000000 (0)
        setenv ("EPICS_CA_MAX_SEARCH_PERIOD","60.0")
0x00000000 (0)
        setenv ("EPICS_CAS_INTF_ADDR_LIST","")
RPCIO WARNING sockRcv(): got xid 0x0x00000000 (0)
1f283c40        setenv ("EPICS_CAS_BEACON_ADDR_LIST","")
 but its slot is empty
0x00000000 (0)
        setenv ("EPICS_CAS_AUTO_BEACON_ADDR_LIST","")
0x00000000 (0)
        setenv ("EPICS_CAS_SERVER_PORT","")
0x00000000 (0)
        setenv ("EPICS_CAS_BEACON_PORT","")
0x00000000 (0)
        setenv ("EPICS_CAS_BEACON_PERIOD","5.0")
0x00000000 (0)
        setenv ("EPICS_CA_MAX_ARRAY_BYTES","400000")
0x00000000 (0)

        # set path for any streamdevice protocols
        setenv ("STREAM_PROTOCOL_PATH", "db")
0x00000000 (0)

        # Mount iocData
        nfsMount( getenv("NFS_FILE_SYSTEM"), "/nfsexport/iocData", "/iocData" )
Trying to mount 10664.2341@172.21.32.20:/nfsexport/iocData on /iocData
0x00000000 (0)

RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x        # Make sure the iocData directories are ready for use
0000        tmp_path_h  = pathSubstitute( "/iocData/%H" )
1acf  -- got 0x0x019fae40 (27242048)
1f3c37cf        mkdir( tmp_path_h,          0775 )

xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
0x00000000 (0)
        tmp_path_export_iocData = pathSubstitute("/nfsexport/iocData/%H")
0x019fb398 (27243416)

        # Do additional NFS mounts...
        nfsMount( getenv("NFS_FILE_SYSTEM"), tmp_path_export_iocData, "/thisIocData" )
Trying to mount 10664.2341@172.21.32.20:/nfsexport/iocData/ioc-las-dig1 on /thisIocData
0x00000000 (0)
        nfsMount( getenv("NFS_FILE_SYSTEM"), "/nfsexport/pcds/package/epics/3.14/ioc", "/iocs" )
Trying to mount 10664.2341@172.21.32.20:/nfsexport/pcds/package/epics/3.14/ioc on /iocs
0x00000000 (0)

        # Create needed sub-directories
        mkdir( "/thisIocData/iocInfo",  0775 )
0x00000000 (0)
        mkdir( "/thisIocData/archive",  0775 )
0x00000000 (0)
        mkdir( "/thisIocData/autosave",  0775 )
0x00000000 (0)
RPCIO WARNING sockRcv(): transaction mismatch
        mkdir( "/thisIocData/logs",  0775 )
xact: xid  0x00002acf  -- got 0x1f3c37cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
0x00000000 (0)
        #tmp_path_h_iocInfo     = pathSubstitute( "/iocData/%H/iocInfo"  )
        #mkdir( tmp_path_h_iocInfo,  0775 )
        #tmp_path_h_archive     = pathSubstitute( "/iocData/%H/archive" )
        #mkdir( tmp_path_h_archive,  0775 )
        #tmp_path_h_autosave    = pathSubstitute( "/iocData/%H/autosave" )
        #mkdir( tmp_path_h_autosave, 0775 )
        #tmp_path_h_logs        = pathSubstitute( "/iocData/%H/logs" )
        #mkdir( tmp_path_h_logs, 0775 )
        #unmount( "/iocData" )
        #free( tmp_path_h_iocInfo )
        #free( tmp_path_h_archive )
        #free( tmp_path_h_autosave )
        #free( tmp_path_h_logs )

        free( tmp_path_h )
0x00000001 (1)
        free( tmp_path_export_iocData )
0x00000001 (1)

        # Enable ioc error logging
        iocLogDisable=0
0x00000000 (0)

        #End of script

    # release directory
    #chdir("/iocs/las/timingComp/R0.1.0/iocBoot/ioc-las-dig1")

    # For development
    nfsMount(getenv("NFS_HOME"),"/nfsexport/home/bhill/wa2/epics/ioc", "/devel" )
RPCIO WARNING sockRcv(): transaction mismatch
Trying to mount 10664.2341@172.21.47.20:/nfsexport/home/bhill/wa2/epics/ioc on /devel
xact: xid  0x000030cf  -- got 0x1f3c37cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
0x00000000 (0)
    chdir( "/devel/las/timingComp/current/iocBoot/ioc-las-dig1")
0x00000000 (0)

< st.cmd
WARNING: '<' operator to 'source' scripts is deprecated -- use '.' (followed by blank) instead!
<<'st.cmd':
      ## Example RTEMS startup script

      ## ToDo: The following substitutions can be done via makeBaseApp.pl
      ## If they weren't, do them before releasing your IOC
      ##
      ## Replace _ APPNAME _ with the name of the application
      ##
      ## Replace _ IOC _ with the network name of the IOC
      ##
      ## Replace _ IOCPVROOT _ with the PV prefix used for
      ## iocAdmin PV's on this IOC
      ## ex. AMO:R15:IOC:23
      ##
      ## Then you can delete this comment
      ##

      # Load your application
      ld( "../../bin/RTEMS-beatnik/timingComp.obj" )
0x019f6d00 (27225344)

      # Start the gdb stub so it's ready when needed
      rtems_gdb_start()
GDB daemon (Release $Name: R_20100615_p3 $): starting up

0x00000000 (0)
RPCIO WARNING sockRcv(): got xid 0x
1f283e40 but its slot is empty
      epicsEnvSet( "ENGINEER", "Bruce Hill (bhill)" )
0x00000000 (0)
      epicsEnvSet( "LOCATION", "LAS:R52:IOC:18" )
0x00000000 (0)
      epicsEnvSet( "IOCSH_PS1", "ioc-las-dig1> " )
0x00000000 (0)
< envPaths
WARNING: '<' operator to 'source' scripts is deprecated -- use '.' (followed by blank) instead!
<<<'envPaths':
        epicsEnvSet("ARCH","RTEMS-beatnik")
0x00000000 (0)
        epicsEnvSet("IOC","ioc-las-dig1")
0x00000000 (0)
        epicsEnvSet("TOP","/reg/neh/home/bhill/wa2/epics/ioc/las/timingComp/current")
0x00000000 (0)
        epicsEnvSet("EPICS_SITE_TOP","/reg/g/pcds/package/epics/3.14")
0x00000000 (0)
        epicsEnvSet("EPICS_MODULES","/reg/g/pcds/package/epics/3.14/modules")
0x00000000 (0)
        epicsEnvSet("EPICS_BASE","/reg/g/pcds/package/epics/3.14/base/R3.14.12-0.4.0")
0x00000000 (0)
        epicsEnvSet("AUTOSAVE","/reg/g/pcds/package/epics/3.14/modules/autosave/R4.2.1.2-2.7.0")
RPCIO WARNING sockRcv(): got xid 0x0x00000000 (0)
1f283e40        epicsEnvSet("IOCADMIN","/reg/g/pcds/package/epics/3.14/modules/iocAdmin/R3.0.0-1.6.0")
 but its slot is empty
0x00000000 (0)
        epicsEnvSet("EVENT","/reg/g/pcds/package/epics/3.14/modules/event/R3.2.2-0.3.0")
0x00000000 (0)
      chdir( "../.." )
0x00000000 (0)

      ## Register all support components
      dbLoadDatabase("dbd/timingComp.dbd")
0x00000000 (0)
      timingComp_registerRecordDeviceDriver(pdbbase)
0x00000000 (0)

      # Set EVR module debug level
      ErDebugLevel( 0 )
0x00000000 (0)

      # Configure EVR driver
      #ErConfigure( 0, 0, 0, 0, 1 )

      ## Load record instances
      dbLoadRecords( "db/iocAdmin.db",                  "IOC=LAS:R52:IOC:18" )
RPCIO WARNING sockRcv(): got xid 0x1f283e40 but its slot is empty
0x00000000 (0)
      dbLoadRecords( "db/save_restoreStatus.db",        "IOC=LAS:R52:IOC:18" )
0x00000000 (0)
      #dbLoadRecords( "db/evrPmc230.db",                        "IOC=LAS:R52:IOC:18,EVR=LAS:R52:EVR:18" )

      # Setup autosave
      set_savefile_path( "/thisIocData/autosave" )
0x00000000 (0)
      set_requestfile_path( "autosave" )
0x00000000 (0)
      save_restoreSet_status_prefix( "LAS:R52:IOC:18:" )
0x01ac90ec (28086508)
      save_restoreSet_IncompleteSetsOk( 1 )
0x00000001 (1)
      save_restoreSet_DatedBackupFiles( 1 )
0x00000001 (1)
      set_pass0_restoreFile( "autosave_timingComp.sav" )
0x00000000 (0)
      set_pass1_restoreFile( "autosave_timingComp.sav" )
0x00000000 (0)

      # Remove prior archive file
      rm( "/thisIocData/archive/ioc-las-dig1.archive" )
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x0011bbcf  -- got 0x1f3c39cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
0x00000000 (0)

      # Update archive file
      cp( "archive/ioc-las-dig1.archive", "/thisIocData/archive/ioc-las-dig1.archive" )
0x00000000 (0)

      # Convenience aliases
      reboot=rtemsReboot
0x000df6d4 (915156)
      mon=rtemsMonitor
0x0022a9e0 (2271712)

      # Initialize the IOC and start processing records
      iocInit()
Starting iocInit
############################################################################
## EPICS R3.14.12.2-0.1.0 $Date: Mon 2011-12-12 14:09:32 -0600$
## EPICS Base built Jan 31 2012
############################################################################
evrInitialize: cannot find an EVR module
reboot_restore: entry for file 'autosave_timingComp.sav'
reboot_restore (v4.9): entry for file 'autosave_timingComp.sav'
reboot_restore: Found filename 'autosave_timingComp.sav' in restoreFileList.
*** restoring from '/thisIocData/autosave/autosave_timingComp.sav' at initHookState 6 ***
reboot_restore: done with file 'autosave_timingComp.sav'

reboot_restore: entry for file 'autosave_timingComp.sav'
reboot_restore (v4.9): entry for file 'autosave_timingComp.sav'
reboot_restore: Found filename 'autosave_timingComp.sav' in restoreFileList.
*** restoring from '/thisIocData/autosave/autosave_timingComp.sav' at initHookState 7 ***
reboot_restore: done with file 'autosave_timingComp.sav'

RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001218cf  -- got 0x1f3c39cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
iocRun: All initialization complete
0x00000000 (0)

      # Start autosave backups
      create_monitor_set( "autosave_timingComp.req", 5, "IOC=LAS:R52:IOC:18,EVR=LAS:R52:EVR:18" )
0x00000000 (0)


< /home/All/post_rtems.cmd
WARNING: '<' operator to 'source' scripts is deprecated -- use '.' (followed by blank) instead!
<<'/home/All/post_rtems.cmd':
      #==============================================================
      #
      #  Abs:  IOC post-startup initialization (Production)
      #
      #  Name: post_rtems.cmd
      #
      #  Facility: PCDS Controls
      #
      #  Auth: 27-Jul-2009, Bruce Hill (bhill)
      #  Rev:  dd-mmm-yyyy, Reviewer's Name (USERNAME)
      #                 Based on post_st.cmd from LCLS
      #--------------------------------------------------------------
      #  Mod:
      #       dd-mmm-yyyy, Firstname Lastname (USERNAME):
      #         comment
      #
      #=================================================================================================================
      #
      # Let's do some post startup things:
      #

      # First we will lower the shell priority to protect high priority tasks
      # against all of this data dump that will be used by programs like IRMIS
      # rtems_task_set_priority(rtems_id task_id, rtems_task_priority new_priority, rtems_task_priority *p_old_priority);
      # Initialize a variable:
      # =================================================================================================================
      lcls_old_pri = 444
0x000001bc (444)
      rtems_task_set_priority(0, 150, &lcls_old_pri)
0x00000000 (0)
      # =================================================================================================================
RPCIO WARNING sockRcv(): transaction mismatch

xact: xid  0x00133ccf  -- got 0x1f3c39cf

xact: addr 0xac152014  -- got 0xac152014      # Let's Get EPICS version:

      iocshCmd("coreRelease > /thisIocData/iocInfo/IOC.epicsVersion")
xact: port 0x00000801  -- got 0x00000801
0x00000000 (0)

      #
      # Let's Get OS version:
      #version() > /iocInfo/IOC.rtemsVersion

      #
      # Let's Get vxWorks BSP version:
      #printf("%s\n",sysBspRev()) >/thisIocData/iocInfo/IOC.bspVersion

      #
      # Let's Get loaded module information:
      Xfp= fopen("/thisIocData/iocInfo/IOC.modules","w")
0x01970370 (26674032)
      cexpModuleInfo(0,0,Xfp)
0x00000000 (0)
      fclose(Xfp)
0x00000000 (0)

      # Dump a list of all PVs to a file on the Boot Server:
      # The pvs name will be written to a file along with its record type.
      # The location on the boot server follows:
      # /usr/local/lcls/epics/iocCommon/IOC_NET_NAME/iocInfo
      iocshCmd("dbl '' RTYP > /thisIocData/iocInfo/IOC.pvlist")
RPCIO WARNING sockRcv(): got xid 0x1f284040 but its slot is empty
0x00000000 (0)
      iocshCmd("dbl '' DTYP > /thisIocData/iocInfo/IOC.DTYP")
0x00000000 (0)

      # Let's get the hardware info from the IOC to the boot server
      iocshCmd("dbhcr > /thisIocData/iocInfo/IOC.dbhcr")
0x00000000 (0)
      iocshCmd("dbior > /thisIocData/iocInfo/IOC.dbior")

-------------------- MRF Series 200 Event Receiver Card Hardware Report --------------------
  No Event Receiver cards were configured
0x00000000 (0)

      # Let's get alarm ready Data
      iocshCmd("dbl '' 'RTYP DTYP SCAN HHSV HSV LSV LLSV OSV ZSV HYST HIHI LOLO HIGH LOW' >/thisIocData/iocInfo/IOC.pvAlarm")
0x00000000 (0)

      # Let's get input/output data
      iocshCmd("dbl '' 'RTYP DTYP SCAN INP OUT OMSL DOL TSE' >/thisIocData/iocInfo/IOC.pvIO")
0x00000000 (0)

      # Let's get scaling info
      iocshCmd("dbl '' 'RTYP DTYP SCAN HOPR LOPR DRVH DRVL EGUF EGUL LINR AOFF ASLO ESLO' >/thisIocData/iocInfo/IOC.pvScale")
0x00000000 (0)
RPCIO WARNING sockRcv(): got xid 0x
1f284040 but its slot is empty
      #Let's get the remaining interesting PV fields:
      iocshCmd("dbl '' 'RTYP DTYP SCAN ASG IOVA IVOV ADEL MDEL SMOO' >/thisIocData/iocInfo/IOC.pvMisc")
0x00000000 (0)

      # CA report
      iocshCmd("casr(2) > /thisIocData/iocInfo/IOC.casr")
Bucket entries in use = 0 bytes in use = 16404
Bucket entries/hash id - mean = 0.000000 std dev = 0.000000 max = 0
Channel Access Address List
172.21.35.255:5065
0x00000000 (0)

      # Db CA Connections
      iocshCmd("dbcar(0,1) > /thisIocData/iocInfo/IOC.dbcar")
0x00000000 (0)

      # Post Startup Complete, the IRMIS crawler appreciates your cooperation.

      # ======================================================================================================
      # Set the Shell priority back:

      rtems_task_set_priority(0, lcls_old_pri, &lcls_old_pri)
0x00000000 (0)
      # ======================================================================================================

RPCIO WARNING sockRcv(): got xid 0x1f284040
 but its slot is empty



Type 'cexpsh.help()' for help (no quotes)
Cexp@ioc-las-dig1>RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c3bcf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c3bcf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c3bcf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): got xid 0x1f284240 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f284240 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f284240 but its slot is empty
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c3dcf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c3dcf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c3dcf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): got xid 0x1f284440 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f284440 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f284440 but its slot is empty
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c3fcf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c3fcf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c3fcf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): got xid 0x1f284640 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f284640 but its slot is empty
RPCIO WARNING sockRcv(): got xid 0x1f284640 but its slot is empty
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c41cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c41cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO WARNING sockRcv(): transaction mismatch
xact: xid  0x001394cf  -- got 0x1f3c41cf
xact: addr 0xac152014  -- got 0xac152014
xact: port 0x00000801  -- got 0x00000801
RPCIO: server '172.21.32.20' not responding - still trying
NFS (proc 1) - RPC: Timed out
RPCIO: server '172.21.32.20' not responding - still trying

telnet> quit
Connection closed.
Connection to serial port terminated.


Navigate by Date:
Prev: Re: ARM - EPICS performance evaluation Emmanuel Mayssat
Next: Re: ARM - EPICS performance evaluation John William Sinclair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: waveform ENUM FTVL or BOOL FTVL Hinko Kocevar
Next: Re: ARM - EPICS performance evaluation Peter Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
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 ·