I can't help with the debugging but I have made RTEMS5 and 6 connect to NFSv2 using a user space NFSv2 driver running on RHEL8.
At DLS we are still running RHEL 7 to serve NFSv2 to our VxWorks and RTEMS IOCs. However we have been looking to retire those servers.
Copying Alex: as you were planning to test switching on NFSv2 on RHEL8 I thought you might be interested to hear that there may be issues.
Hi,
I have some legacy rtems IOCs. I can't get the NFS mount to work after our IT upgraded to RHEL9. So, they setup an RHEL8 VM with nfs v2 activated. They say it is working:
[root@dplab ~]# mount -o vers=2 rtems-dserv:/xorApps /mnt
[root@dplab ~]# mount | grep mnt
rtems-dserv:/xorApps on /mnt type nfs (rw,vers=2,addr=10.54.100.9)
But not of the IOC below....
Any advices on debugging this?
B$ printenv
FACTORY=Arcturus Networks Inc.
REVISION=uC5282-16E16C64
SERIAL=X4CB88918-01660
CONSOLE=ttyS0
KERNEL=0:linux.bin
KERNEL_ARGS=root=/dev/mtdblock0 quiet
HWADDR0=00:06:3b:01:36:60
FW_VERSION=010809000
RAMIMAGE=yes
CACHE=on
_0=10000000:400000:RW
BOOTFILE=/xorApps/epics/synApps_5_3/ioc/dth/bin/RTEMS-uC5282/dthApp.boot
CMDLINE=/xorApps/epics/synApps_5_3/ioc/dth/iocBoot/iocdth3/st.rtems.cmd
NETMASK=255.255.255.0
AUTOBOOT=20
HOSTNAME=iocdth3
IPADDR0=10.54.112.70
GATEWAY=10.54.112.1
NAMESERVER=10.54.100.9
SERVER=10.54.100.9
NTPSERVER=10.54.100.9
NFSMOUNT=10.54.100.9:/xorApps:/xorApps
B$ go!
go!: command not found
B$ go
Copy...done
go! 0x40000
***** Initializing network *****
Startup after Software reset.
fs1: Ethernet address: 00:06:3b:01:36:60
***** Initializing NFS *****
This is RTEMS-RPCIOD Release $Name: rtems-addon-packages-4-7-1 $
($Id: rpcio.c,v 1.4 2006/08/30 13:52:10 joel Exp $)
Till Straumann, Stanford/SLAC/SSRL 2002
See LICENSE file for licensing info
This is RTEMS-NFS Release $Name: rtems-addon-packages-4-7-1 $
($Id: nfs.c,v 1.3 2006/06/20 00:36:25 ericn Exp $)
Till Straumann, Stanford/SLAC/SSRL 2002
See LICENSE file for licensing info
Trying to mount 10.54.100.9:/xorApps on /xorApps
RPCIO: server '10.54.100.9' not responding - still trying
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
***** Initializing NTP *****
*************** WARNING ***************
***** NO RESPONSE FROM NTP SERVER *****
***** TIME SET TO DEFAULT VALUE *****
***************************************
***** Starting EPICS application *****
#------------------------------------------------------------------------------
# RTEMS startup file for the uCDIMM
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# NFS mount external file systems
< ../nfsCommands
#nfsMount s100dserv.xray.aps.anl.gov /APSshare /APSshare
nfsMount rtems-dserv.xray.aps.anl.gov /APSshare /APSshare
nfsMount: host 'rtems-dserv.xray.aps.anl.gov' not found
#------------------------------------------------------------------------------
Thanks,
Nino
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt
by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.