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: Re: motorOMS module startupscript on target(MVME6100) running vxWorks6.9
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, whitetiger1123 <holyeongbaeg at gmail.com>
Date: Tue, 22 Nov 2022 13:34:55 +0000

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/ioc/omsIOC/iocBoot/iocOms”

 

<cdCommands

C interp: unable to open ‘cdCommands’.

Status symbol table not included (errno = 0x880226).


vxWorks has found your startup script in the host:/home/test/epics.synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC/iocBoot/iocOms directory, but it cannot find the cdCommands file.

Does cdCommands exist?  cd to that directory on your Linux machine and send the output of "ls -l".

You should add these 2 commands at the beginning of your st.cmd file:

pwd
ll

That will tell you if it is in the correct directory, and what it sees as the files in that directory.

Mark




From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of whitetiger1123 via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, November 21, 2022 8:32 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: motorOMS module startupscript on target(MVME6100) running vxWorks6.9
 

Hi,

 

We are trying to put EPICS motor-R7-1(motorOMS module) on target(MVME6100) running vxWorks 6.9.

 

We could build EPICS Base 3-15-6 for CROSS_COMPILER_TARGET_ARCHS =vxWorks-ppc32

and TFTP to load the vxWorks image at MVME6100

 

When I am trying to load startup script at MVME6100 but it throwing an error.

Following is the log of error on startup script:

[VxWorks Boot]: @

Boot device : geisc

Unit number : 0

Processor number :0

Host name : host

File name : /home/test/work/vx/default/vxworks

Inet on ehternet : 10.4.49.69:ffffff00

Host inet : 10.4.49.170

Gateway inet : 10.4.49.99

User : test

ftp password : test

flags : 0x0

startup script : 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.

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/ioc/omsIOC/iocBoot/iocOms”

 

<cdCommands

C interp: unable to open ‘cdCommands’.

Status symbol table not included (errno = 0x880226).

 

cd topbin

C interp: unknown symbol name ‘topbin’.

 

## You may have to change oms to something else

## everywhere it appears in this file

ld 0,0, “oms.munch”

ld () : unalbe to open “oms.munch”

value = 0 = 0x0

 

## Register all support components

cd top

C interp: unknown symbol name ‘top’.

 

dbLoadDatabase “dbd/oms.dbd”

C interp: unknown symbol name ‘dbLoadDatabase’.

oms_registerRecordDeviceDriver pdbbase

Cinterp: unknown symbol name ‘pdbase’.

 

cd startup

C interp: unknown symbol name ‘startup’.

 

## motorUtil (allstop & alldone)

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

C interp: unknown symbol name ‘dbLoadRecords’.

 

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

#<MAXv.cmd

#<MAXv.iocsh

 

##Support for the OMS VME85

#<VME58.cmd

 

##Support for the OMS VME44

#<VME8.cmd

 

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

#<PC68.cmd

 

iocInit

C interp: unknown symbol name ‘iocInit’.

 

##motorUtil (allstop & alldone)

motorUtilInit(“oms:”)

C interp: unknown symbol name ‘motorUtilInit’.

 

#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’.

->

 

 

 

 

Do I have to modify st.cmd file? I really want to know how to fix this error . please help me.

 

 

Thanks for reply and help me always.

 

 


References:
motorOMS module startupscript on target(MVME6100) running vxWorks6.9 whitetiger1123 via Tech-talk

Navigate by Date:
Prev: Re: Allied Vision Alvium Camera streaming issue Wang Xiaoqiang via Tech-talk
Next: Re: Allied Vision Alvium Camera streaming issue Mark Rivers 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: motorOMS module startupscript on target(MVME6100) running vxWorks6.9 whitetiger1123 via Tech-talk
Next: Multiple pointers to /usr/lib/epics Daykin, Evan 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, 22 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·