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  <20202021  2022  2023  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: autosave 5-10-1 on RTEMS-4.10.2, mount failed
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: "Sintschuk, Michael" <michael.sintschuk at bam.de>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Mon, 21 Sep 2020 17:53:45 +0000
Hi Michael,

On Sep 21, 2020, at 4:31 AM, Sintschuk, Michael via Tech-talk <tech-talk at aps.anl.gov> wrote:

I’m setting up an IOC, BASE-3.15.7 and autosave 5-10-1, on an Motorola board MVME-2100 using RTEMS-4.10.2.
The comand save_restoreSet_NFSHost fails on it with mount failed: Invalid argument . But my IOC is using nfs to mount it’s “st.cmd” file, so I don’t know why it is not seeing the autosave folder, that is also exported via NFS.

I remember seeing something like this problem when we switched from RTEMS 4.9.2 to 4.10.2. You are successfully mounting the /soft partition:

***** RTEMS Version: rtems-4.10.2(PowerPC/Generic (classic FPU)/mvme2100) *****
Startup.
...
***** Initializing NFS *****
Mount 192.168.99.1:/soft on /soft
RTEMS-RPCIOD $Release$, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info.
RTEMS-NFS $Release$, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info.
Warning: No timezone information, times will be displayed in UTC.

I think our fix might have been that we needed to build an appropriate rtems_config.c file into the IOC (copy the version from base/src/libCom/RTEMS and edit it as necessary), but I don’t really know what the settings are in that file or if/how they might affect your application.

The base-3.15/src/libCom/RTEMS/rtems_init.c file registers the nfsMount command with iocsh, and that expects 3 arguments:

rtems_init.c:static const iocshArg nfsMountArg0 = { "[uid.gid@]host",iocshArgString};
rtems_init.c:static const iocshArg nfsMountArg1 = { "server path",iocshArgString};
rtems_init.c:static const iocshArg nfsMountArg2 = { "mount point",iocshArgString};

As Mark asked, can you use that command by hand to mount the /autosave partition?

- Andrew


-- 
Complexity comes for free, simplicity you have to work for.


Replies:
AW: autosave 5-10-1 on RTEMS-4.10.2, mount failed Sintschuk, Michael via Tech-talk
References:
autosave 5-10-1 on RTEMS-4.10.2, mount failed Sintschuk, Michael via Tech-talk

Navigate by Date:
Prev: AW: autosave 5-10-1 on RTEMS-4.10.2, mount failed Sintschuk, Michael via Tech-talk
Next: Re: autosave 5-10-1 on RTEMS-4.10.2, mount failed Hu, Yong 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: AW: autosave 5-10-1 on RTEMS-4.10.2, mount failed Sintschuk, Michael via Tech-talk
Next: AW: autosave 5-10-1 on RTEMS-4.10.2, mount failed Sintschuk, Michael 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  <20202021  2022  2023  2024 
ANJ, 22 Sep 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·