Hi Dirk,
I add the "perror" and "hostShow" in the
nfsCommands file, and got some results as follows:
boot device : fei
unit number : 0
processor number : 3
host name : CSNS-Server3
file name : /home/vxWorks/bootdir/vxWorks_5.5_5100
inet on ethernet (e) : 192.168.201.59:ffffff00
host inet (h) : 192.168.206.153
gateway inet (g) : 192.168.201.1
user (u) : sunjl
ftp password (pw) : 123456
flags (f) : 0x0
target name (tn) : bi-mvme5100-2
->
</development/beamimp/sunjl/synApps53/iocDAQ/DAQ1/iocBoot/iocDAQ1/st1.cmd
# vxWorks startup script
cd "/development/beamimp/sunjl/synApps53/iocDAQ/DAQ1/iocBoot/iocDAQ1"
value = 0 = 0x0
< ../nfsCommands
# Set the default gateway (the address to which IP datagrams will be
sent
# when there is no specific specific routing table entry available for
the
# actual destination address.)
routeAdd "0","192.168.201.1"
value = 0 = 0x0
hostAdd("CSNS-Server3","192.168.206.153")
value = -1 = 0xffffffff
perror
S_hostLib_HOST_ALREADY_ENTERED
value = 31 = 0x1f
hostShow
hostname inet address aliases
-------- ------------ -------
localhost 127.0.0.1
bi-mvme5100-2 192.168.201.59
CSNS-Server3 192.168.206.153
value = 0 = 0x0
nfsMount("CSNS-Server3","/develeopment/beamimp/sunjl/synApp53/iocDAQ/DAQ1","/dev
eleopment/beamimp/sunjl/synApp53/iocDAQ/DAQ1")
value = -1 = 0xffffffff
perror
S_rpcLib_RPC_TIMEDOUT
value = 22 = 0x16
Does this mean the nfsCommands file is not
necessary for my IOC ?
Thanks a lot.
sunjl wrote:
> Hi all,
>
> I built the synApps-5.3 on an EPICS server with base 3.14.8.2, when download the IOC to the MVME5100 through vxWorks 5.5, some wrong return value occured (as follows shown). And these wrong return value cause the "SAVE DATA" of the "scan.adl" in "Mount err Invalid file system!!!" state, right?
>
> Need some help, thanks!
>
> -> </development/beamimp/sunjl/synApps53/iocDAQ/DAQ1/iocBoot/iocDAQ1/st1.cmd
> # vxWorks startup script
>
> cd "/development/beamimp/sunjl/synApps53/iocDAQ/DAQ1/iocBoot/iocDAQ1"
> value = 0 = 0x0
> < ../nfsCommands
>
> routeAdd "0","192.168.201.1"
> value = 0 = 0x0
>
> #routeDelete "164.54.0.0", "164.54.53.226"
>
> #routeShow
>
> hostAdd("CSNS-Server3","192.168.206.153")
> value = -1 = 0xffffffff
After this failure, type: perror
> perror
S_hostLib_HOST_ALREADY_ENTERED
This would mean the host "CSNS-Server3" is already known. (Probably with
a different address. Also try hostShow.)
> nfsMount("CSNS-Server3","/develeopment/beamimp/sunjl/synApp53/iocDAQ/DAQ1","/dev
> eleopment/beamimp/sunjl/synApp53/iocDAQ/DAQ1")
> value = -1 = 0xffffffff
This looks like the host is not known or it does not export the file
system properly. Again try perror.
Dirk
> 孙纪磊 敬启
> 中国科学院高能物理研究所1号厅201室
> 北京市918信箱 100049
> Sun Jilei
> Institute of High Energy Physics, Chinese Academy of Sciences,
> Accelerator Center, Room 201, Hall 1,
> 19B Yuquan Lu, Shijingshan District,
> Beijing 100049,
> People's Republic of China
> Tel.: (+86)-(0)10-88236287