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 nfs mount issues
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: Fri, 25 Nov 2022 13:35:36 +0900

 

 

We are mostly running VxWorks 6.9 now, and with that we have no problem NFS mounting file systems on Ubuntu.

 

I set nfs on ubuntu it works well on there.

But if I try to run EPICS IOC on vxWorks, my st.cmd file makes this error:

 

<../nfsCommands

hostAdd(test, 10.4.49.170)

value=0=0x0

nfsMount(test, /home/test/epics/synApps_6_1/motor-R7-1/modules/motorOms/iocs/omsIOC)

value = -1 = 0xffffffff

 

I set hostAdd(epics server(ubuntu) username, epics server(ubuntu) IP and

nfsMount(epics server(ubuntu) username, epics server(ubuntu) motorOMS folder)

 

this is my nfsmount file script:

#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")

 

hostAdd("test","10.4.49.170")

nfsMount("test","/home/test/epics/synApps_6_1/motor-R7-1/modules/motorOms/iocs/omsIOC")

 

Is nfsMount(“test”,”/home/test/epics/…/omsIOC”) path wrong? I really don’t know how to set this path.. If you have any example, please tell me about this.

 

And I’d like to ask one more thing. The IOC appears to have started normally so it should work. But I have this problem:

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.

Illegal field value PV: oms:m1 motor_init_record_com(): card does not exist!

Illegal field value PV: oms:m2 motor_init_record_com(): card does not exist!

Illegal field value PV: oms:m3 motor_init_record_com(): card does not exist!

Illegal field value PV: oms:m4 motor_init_record_com(): card does not exist!

Illegal field value PV: oms:m5 motor_init_record_com(): card does not exist!

Illegal field value PV: oms:m6 motor_init_record_com(): card does not exist!

Illegal field value PV: oms:m7 motor_init_record_com(): card does not exist!

Illegal field value PV: oms:m8 motor_init_record_com(): card does not exist!

What I want to ask is do I have to connect MAXv controller if I want to fix this error?

Currently, my connect HW layout is like this:

I guess this error is not connect MAXv controller(I don’t know well).. Is it right?

 

 

Thanks!

 


Replies:
Re: EPICS nfs mount issues Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Illegal field value PV: oms:m1 motor_init_record_com(): card does not exist! motorOMS st.cmd error Mark Rivers via Tech-talk
Next: Re: EPICS nfs mount issues 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: Re: Changed source archive of StreamDevice release 2.8.22 Michael Davidsaver via Tech-talk
Next: Re: EPICS nfs mount issues 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 
ANJ, 30 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·