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

Subject: EPICS startup script st.cmd on vxWorks warning message
From: whitetiger1123 via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 23 Nov 2022 17:40:17 +0900

 

Hello all,

While running EPICS startup script st.cmd on vxWorks for an app that was made successfully, I am getting following error:

 

[VxWorks Boot]: @

boot device          : geisc

unit number          : 0

processor number     : 0

host name            : host

file name            : /home/test/work2/vxconf/default/vxWorks

inet on ethernet (e) : 10.4.49.69:ffffff00

host inet (h)        : 10.4.49.170

gateway inet (g)     : 10.4.49.99

user (u)             : test

ftp password (pw)    : test

flags (f)            : 0x0

startup script (s)   : host:/home/test/epics/synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC/iocBoot/iocOms/st.cmd

 

Loading... 2457184

Starting at 0x100000...

 

Target Name: vxTarget

 

Adding 7851 symbols for standalone.

 

 

 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

      ]]]]]]]]]]]  ]]]]     ]]]]]]]]]]       ]]              ]]]]         (R)

 ]     ]]]]]]]]]  ]]]]]]     ]]]]]]]]       ]]               ]]]]

 ]]     ]]]]]]]  ]]]]]]]]     ]]]]]] ]     ]]                ]]]]

 ]]]     ]]]]] ]    ]]]  ]     ]]]] ]]]   ]]]]]]]]]  ]]]] ]] ]]]]  ]]   ]]]]]

 ]]]]     ]]]  ]]    ]  ]]]     ]] ]]]]] ]]]]]]   ]] ]]]]]]] ]]]] ]]   ]]]]

 ]]]]]     ]  ]]]]     ]]]]]      ]]]]]]]] ]]]]   ]] ]]]]    ]]]]]]]    ]]]]

 ]]]]]]      ]]]]]     ]]]]]]    ]  ]]]]]  ]]]]   ]] ]]]]    ]]]]]]]]    ]]]]

 ]]]]]]]    ]]]]]  ]    ]]]]]]  ]    ]]]   ]]]]   ]] ]]]]    ]]]] ]]]]    ]]]]

 ]]]]]]]]  ]]]]]  ]]]    ]]]]]]]      ]     ]]]]]]]  ]]]]    ]]]]  ]]]] ]]]]]

 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]       Development System

 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]

 ]]]]]]]]]]]]]]]]]]]]]]]]]]]       VxWorks 6.9

 ]]]]]]]]]]]]]]]]]]]]]]]]]]       KERNEL: WIND version 2.13

 ]]]]]]]]]]]]]]]]]]]]]]]]]       Copyright Wind River Systems, Inc., 1984-2011

 

 CPU: Motorola MVME6100-0173 - MPC 7457.  Processor #0.

 Memory Size: 0x40000000 (1024Mb).  BSP version 6.9/0.

 Created: Nov 11 2022, 13:44:33

 ED&R Policy Mode: Deployed

 WDB Comm Type: WDB_COMM_END

 WDB: Agent Disabled.

Executing startup script 'host:/home/test/epics/synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC/iocBoot/iocOms/st.cmd'...

 

## Example vxWorks startup file

 

## The following is needed if your board support package doesn't at boot time

## automatically cd to the directory containing its startup script

#cd "/home/USERNAME/epics/iocs/omsIOC/iocBoot/iocOms"

 

cd "/home/test/epics/synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC/iocBoot/iocOms"

value = 0 = 0x0

 

< cdCommands

startup = "/home/test/epics/synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC/iocBoot/iocOms"

New symbol "startup" added to kernel symbol table.

startup = 0x44f7f50: value = 72359072 = 0x4501ca0

putenv("IOC=iocOms")

value = 0 = 0x0

top = "/home/test/epics/synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC"

New symbol "top" added to kernel symbol table.

top = 0x4501c20: value = 72359296 = 0x4501d80 = top + 0x160

putenv("TOP=/home/test/epics/synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC")

value = 0 = 0x0

topbin = "/home/test/epics/synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC/bin/vxWorks-ppc32"

New symbol "topbin" added to kernel symbol table.

topbin = 0x4501ec0: value = 72359696 = 0x4501f10 = topbin + 0x50

motor = "/home/test/epics/synApps_6_1/support/motor-R7-1"

New symbol "motor" added to kernel symbol table.

motor = 0x4501e90: value = 72359856 = 0x4501fb0 = topbin + 0xf0

putenv("MOTOR=/home/test/epics/synApps_6_1/support/motor-R7-1")

value = 0 = 0x0

motorbin = "/home/test/epics/synApps_6_1/support/motor-R7-1/bin/vxWorks-ppc32"

New symbol "motorbin" added to kernel symbol table.

motorbin = 0x44cf4f0: value = 72327040 = 0x44f9f80

asyn = "/home/test/epics/synApps_6_1/support/asyn-R4-36"

New symbol "asyn" added to kernel symbol table.

asyn = 0x44f9fe0: value = 72367504 = 0x4503d90

putenv("ASYN=/home/test/epics/synApps_6_1/support/asyn-R4-36")

value = 0 = 0x0

asynbin = "/home/test/epics/synApps_6_1/support/asyn-R4-36/bin/vxWorks-ppc32"

New symbol "asynbin" added to kernel symbol table.

asynbin = 0x4503e80: value = 72367824 = 0x4503ed0 = asynbin + 0x50

sncseq = "/home/test/epics/synApps_6_1/support/seq-2-2-6"

New symbol "sncseq" added to kernel symbol table.

sncseq = 0x4503f30: value = 72368000 = 0x4503f80 = sncseq + 0x50

putenv("SNCSEQ=/home/test/epics/synApps_6_1/support/seq-2-2-6")

value = 0 = 0x0

sncseqbin = "/home/test/epics/synApps_6_1/support/seq-2-2-6/bin/vxWorks-ppc32"

New symbol "sncseqbin" added to kernel symbol table.

sncseqbin = 0x4503fc0: value = 72364144 = 0x4503070 = 'p'

busy = "/home/test/epics/synApps_6_1/support/busy-R1-7-2"

New symbol "busy" added to kernel symbol table.

busy = 0x44cb710: value = 72364560 = 0x4503210

putenv("BUSY=/home/test/epics/synApps_6_1/support/busy-R1-7-2")

value = 0 = 0x0

busybin = "/home/test/epics/synApps_6_1/support/busy-R1-7-2/bin/vxWorks-ppc32"

New symbol "busybin" added to kernel symbol table.

busybin = 0x4503fe0: value = 72364848 = 0x4503330 = '0'

ipac = "/home/test/epics/synApps_6_1/support/ipac-2-15"

New symbol "ipac" added to kernel symbol table.

ipac = 0x4503390: value = 72365024 = 0x45033e0 = ipac + 0x50

putenv("IPAC=/home/test/epics/synApps_6_1/support/ipac-2-15")

value = 0 = 0x0

epics_base = "/home/test/epics/base-3.15.6"

New symbol "epics_base" added to kernel symbol table.

epics_base = 0x45034b0: value = 72365312 = 0x4503500 = epics_base + 0x50

putenv("EPICS_BASE=/home/test/epics/base-3.15.6")

value = 0 = 0x0

epics_basebin = "/home/test/epics/base-3.15.6/bin/vxWorks-ppc32"

New symbol "epics_basebin" added to kernel symbol table.

epics_basebin = 0x45035d0: value = 72365616 = 0x4503630 = '0' = epics_basebin + 0x60

< ../nfsCommands

#Instructions for creating and using a real nfsCommands file

#

# in order to use nfs do the following:

# 1) Create hostAdd and nfsMount commands for each nfs server

# 2) In each st.cmd file add the following two commands BEFORE any load commands

#    ../nfs.cmd

#    cd "<iocname>

#

# The hostAdd command has the form:

# hostAdd("<host>","xxx.xxx.xxx.xxx")

#

# The vxWorks nfsMount command has the form:

# nfsMount("<host>")

#

# You can also mount subdirectories as follows:

# nfsMount("<host>", "/xxx/xxx/xxx", "/xxx")

#

# For example assume

#

# host is mercury with inet address 155.77.2.56

# You want to mount the directory (which is a file system of mercury)

# /home/mercury5/iocinfo

#    as

# /iocinfo

#

# The commands would be

#

# hostAdd("mercury","155.77.2.56")

# nfsMount("mercury","/home/mercury5/iocinfo","/iocinfo")

 

cd topbin

value = 0 = 0x0

 

## You may have to change oms to something else

## everywhere it appears in this file

ld 0,0, "oms.munch"

BSP routine sysAtReboot() not found, epicsExit() will not be

called by reboot.  For reduced functionality, call

    rebootHookAdd(epicsExitCallAtExits)

value = 72413200 = 0x450f010

 

 

## Register all support components

cd top

value = 0 = 0x0

dbLoadDatabase "dbd/oms.dbd"

value = 0 = 0x0

oms_registerRecordDeviceDriver pdbbase

value = 0 = 0x0

 

cd startup

value = 0 = 0x0

 

## motorUtil (allstop & alldone)

dbLoadRecords("$(MOTOR)/db/motorUtil.db", "P=oms:")

value = 0 = 0x0

 

## Support for the OMS MAXv (VxWorks shell or iocsh)

#< MAXv.cmd

#< MAXv.iocsh

 

## Support for the OMS VME85

#< VME58.cmd

 

## Support for the OMS VME8 and VME44

#< VME8.cmd

 

## Support for the OMS PC68 and PC78 (requires asyn)

#< PC68.cmd

 

iocInit

Starting iocInit

############################################################################

## EPICS R3.15.6

## EPICS Base built Oct  7 2022

############################################################################

WARNING: OS Clock time was read before being set.

Using 1990-01-02 00:00:00.000000 UTC

iocInit: Time provider has not yet synchronized.

iocRun: All initialization complete

value = 0 = 0x0

 

## motorUtil (allstop & alldone)

motorUtilInit("oms:")

value = 0 = 0x0

 

# Boot complete

Done executing startup script 'host:/home/test/epics/synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC/iocBoot/iocOms/st.cmd'.

 

I hope you understand Iam new to the world of EPICS. Casual I’ve been trying to understand them for 3 days. From there to before he knew nothing of them.

I hope you can help.

Thanks and regards.


Replies:
Re: EPICS startup script st.cmd on vxWorks warning message Andrew Johnson via Tech-talk

Navigate by Date:
Prev: Multiple pointers to /usr/lib/epics Daykin, Evan via Tech-talk
Next: Re: Multiple pointers to /usr/lib/epics Ralph Lange via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: Multiple pointers to /usr/lib/epics Michael Davidsaver via Tech-talk
Next: Re: EPICS startup script st.cmd on vxWorks warning message Andrew Johnson via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 23 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·