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!