, <port-alpha@netbsd.org>
From: Nino Margetic <nino@cng.fr>
List: port-alpha
Date: 12/04/2000 00:53:12
Hi,
Has NFS (or AMD) changed substantially between 1.4.2 and 1.4.3? Namely, I
am having problems with NFS clients hanging whilst manual mounts work...
Configuration is following:
NFS server: DEC3000/700 (alpha) running stock 1.4.3. The system has a
primary IP of 192.168.100.5 (kupa) and an alias 192.168.100.210 (nfs).
/etc/exports:
/export -alldirs -maproot=root:wheel -network 192.168.100 -mask 255.255.255.0
NFS clients: DEC 5000/133 (pmax) running stock 1.4.2. IP address
192.168.100.7 and a number (7-8) of IP aliases. The AMD is running with
the following maps:
---------------------------------------------------------------------
/etc/amd/master
/home /etc/amd/home
/common /etc/amd/common
/etc/amd/home
nino rhost:=nfs;type:=nfs;rfs:=/export/home/nino
/etc/amd/common
sunsite rhost:=sunsite.doc.ic.ac.uk;type:=nfs;rfs:=/public
---------------------------------------------------------------------
Mounting sunsite (Sun NFS server) by:
cd /common/sunsite
works fine, but mounting /home/nino by loging in or by
cd /home/nino
hangs the AMD and the associated shell.
At the same time, I can happily mount the same directory using a manual
mount from the pmax NFS client.
A Linux client mounts things OK from the NetBSD/alpha server (using
automounter rather than AMD and/or manual mounts).
On the other hand, an OpenBSD/i386 2.8 NFS client is hanging when
attempting to mount (manually) from the NetBSD 1.4.3 NFS server. The same
NFS client works as expected with NetBSD/pmax 1.4.2 NFS server.
In all cases above I am using the logical name of "nfs" (and the
associated IP address) for the NFS server rather than the "primary"
hostname and the primary IP address...
Any ideas what is going on???
Thanks,
--Nino
PS I have attached the relevant part of the /var/log/messages with AMD
running in the debug mode when trying the above mentioned two mounts
(/common/sunsite and /home/nino)...
Dec 3 22:15:14 una amd[915]: AM-UTILS VERSION INFORMATION:
Dec 3 22:15:14 una amd[915]: AM-UTILS VERSION INFORMATION:
Dec 3 22:15:14 una amd[915]: Copyright (c) 1997-1999 Erez Zadok
Dec 3 22:15:14 una amd[915]: Copyright (c) 1997-1999 Erez Zadok
Dec 3 22:15:14 una amd[915]: Copyright (c) 1990 Jan-Simon Pendry
Dec 3 22:15:14 una amd[915]: Copyright (c) 1990 Jan-Simon Pendry
Dec 3 22:15:14 una amd[915]: Copyright (c) 1990 Imperial College of Science, Technology & Medicine
Dec 3 22:15:14 una amd[915]: Copyright (c) 1990 Imperial College of Science, Technology & Medicine
Dec 3 22:15:14 una amd[915]: Copyright (c) 1990 The Regents of the University of California.
Dec 3 22:15:14 una amd[915]: Copyright (c) 1990 The Regents of the University of California.
Dec 3 22:15:14 una amd[915]: am-utils version 6.0.1s11 (build 1).
Dec 3 22:15:14 una amd[915]: am-utils version 6.0.1s11 (build 1).
Dec 3 22:15:14 una amd[915]: Built by root@vlad on date Sat Mar 4 02:53:53 EST 2000.
Dec 3 22:15:14 una amd[915]: Built by root@vlad on date Sat Mar 4 02:53:53 EST 2000.
Dec 3 22:15:14 una amd[915]: cpu=pmax (little-endian), arch=mipsel, karch=pmax.
Dec 3 22:15:14 una amd[915]: cpu=pmax (little-endian), arch=mipsel, karch=pmax.
Dec 3 22:15:14 una amd[915]: full_os=netbsd1.4.2_ALPHA, os=netbsd1, osver=1.4.2_ALPHA, vendor=unknown.
Dec 3 22:15:14 una amd[915]: full_os=netbsd1.4.2_ALPHA, os=netbsd1, osver=1.4.2_ALPHA, vendor=unknown.
Dec 3 22:15:14 una amd[915]: Map support for: root, passwd, hesiod, union, nis, ndbm, file, error.
Dec 3 22:15:14 una amd[915]: Map support for: root, passwd, hesiod, union, nis, ndbm, file, error.
Dec 3 22:15:14 una amd[915]: AMFS: nfs, link, nfsx, nfsl, host, linkx, program, union, inherit, ufs,
Dec 3 22:15:14 una amd[915]: AMFS: nfs, link, nfsx, nfsl, host, linkx, program, union, inherit, ufs,
Dec 3 22:15:14 una amd[915]: cdfs, pcfs, auto, direct, toplvl, error.
Dec 3 22:15:14 una amd[915]: cdfs, pcfs, auto, direct, toplvl, error.
Dec 3 22:15:14 una amd[915]: FS: cdfs, mfs, nfs, nfs3, nullfs, pcfs, ufs, umapfs, unionfs.
Dec 3 22:15:14 una amd[915]: FS: cdfs, mfs, nfs, nfs3, nullfs, pcfs, ufs, umapfs, unionfs.
Dec 3 22:15:14 una amd[915]: Network 1: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 1: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 2: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 2: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 3: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 3: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 4: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 4: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 5: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 5: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 6: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 6: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 7: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 7: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 8: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 8: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 9: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: Network 9: wire="192.168.100.0" (netnumber=192.168.100).
Dec 3 22:15:14 una amd[915]: My ip addr is 127.0.0.1
Dec 3 22:15:14 una amd[915]: My ip addr is 127.0.0.1
Dec 3 22:15:14 una amd[916]: released controlling tty using setsid()
Dec 3 22:15:14 una amd[916]: released controlling tty using setsid()
Dec 3 22:15:14 una amd[916]: file server localhost type local starts up
Dec 3 22:15:14 una amd[916]: file server localhost type local starts up
Dec 3 22:15:16 una amd[917]: /common: disabling nfs congestion window
Dec 3 22:15:16 una amd[917]: /common: disabling nfs congestion window
Dec 3 22:15:17 una amd[918]: /home: disabling nfs congestion window
Dec 3 22:15:17 una amd[918]: /home: disabling nfs congestion window
Dec 3 22:15:17 una amd[916]: NIS domain name is not set. NIS ignored.
Dec 3 22:15:17 una amd[916]: NIS domain name is not set. NIS ignored.
Dec 3 22:15:17 una amd[916]: /etc/amd/common mounted fstype toplvl on /common
Dec 3 22:15:17 una amd[916]: /etc/amd/common mounted fstype toplvl on /common
Dec 3 22:15:17 una amd[916]: /etc/amd/home mounted fstype toplvl on /home
Dec 3 22:15:17 una amd[916]: /etc/amd/home mounted fstype toplvl on /home
Dec 3 22:16:30 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:30 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:30 una amd[916]: get_nfs_version NFS(3,tcp) failed for swallow.doc.ic.ac.uk :: RPC: Program not registered
Dec 3 22:16:30 una amd[916]: get_nfs_version NFS(3,tcp) failed for swallow.doc.ic.ac.uk :: RPC: Program not registered
Dec 3 22:16:30 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:30 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:30 una amd[916]: Using NFS version 3, protocol udp on host swallow.doc.ic.ac.uk
Dec 3 22:16:30 una amd[916]: Using NFS version 3, protocol udp on host swallow.doc.ic.ac.uk
Dec 3 22:16:30 una amd[916]: start_ping: nfs_version: 3
Dec 3 22:16:30 una amd[916]: start_ping: nfs_version: 3
Dec 3 22:16:30 una amd[916]: file server swallow.doc.ic.ac.uk type nfs starts up
Dec 3 22:16:30 una amd[916]: file server swallow.doc.ic.ac.uk type nfs starts up
Dec 3 22:16:30 una amd[916]: Flushed /common/sunsite; dependent on swallow.doc.ic.ac.uk
Dec 3 22:16:30 una amd[916]: Flushed /common/sunsite; dependent on swallow.doc.ic.ac.uk
Dec 3 22:16:30 una amd[916]: recompute_portmap: NFS version 3
Dec 3 22:16:30 una amd[916]: recompute_portmap: NFS version 3
Dec 3 22:16:31 una amd[916]: Using MOUNT version: 3
Dec 3 22:16:31 una amd[916]: Using MOUNT version: 3
Dec 3 22:16:31 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:31 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:31 una amd[916]: get_nfs_version NFS(3,tcp) failed for swallow.doc.ic.ac.uk :: RPC: Program not registered
Dec 3 22:16:31 una amd[916]: get_nfs_version NFS(3,tcp) failed for swallow.doc.ic.ac.uk :: RPC: Program not registered
Dec 3 22:16:31 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:31 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:31 una amd[916]: Using NFS version 3, protocol udp on host swallow.doc.ic.ac.uk
Dec 3 22:16:31 una amd[916]: Using NFS version 3, protocol udp on host swallow.doc.ic.ac.uk
Dec 3 22:16:31 una amd[916]: call_mountd: NFS version 3, mount version 3
Dec 3 22:16:31 una amd[916]: call_mountd: NFS version 3, mount version 3
Dec 3 22:16:32 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:32 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:32 una amd[916]: get_nfs_version NFS(3,tcp) failed for swallow.doc.ic.ac.uk :: RPC: Program not registered
Dec 3 22:16:32 una amd[916]: get_nfs_version NFS(3,tcp) failed for swallow.doc.ic.ac.uk :: RPC: Program not registered
Dec 3 22:16:33 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:33 una amd[916]: get_nfs_version: returning (3,udp) on host swallow.doc.ic.ac.uk
Dec 3 22:16:33 una amd[916]: Using NFS version 3, protocol udp on host swallow.doc.ic.ac.uk
Dec 3 22:16:33 una amd[916]: Using NFS version 3, protocol udp on host swallow.doc.ic.ac.uk
Dec 3 22:16:33 una amd[916]: prime_nfs_fhandle_cache: NFS version 3
Dec 3 22:16:33 una amd[916]: prime_nfs_fhandle_cache: NFS version 3
Dec 3 22:16:33 una amd[930]: 193.63.255.4 is on a remote network
Dec 3 22:16:33 una amd[930]: 193.63.255.4 is on a remote network
Dec 3 22:16:33 una amd[930]: Using remopts="rw"
Dec 3 22:16:33 una amd[930]: Using remopts="rw"
Dec 3 22:16:33 una amd[930]: mount_nfs_fh: NFS version 3
Dec 3 22:16:33 una amd[930]: mount_nfs_fh: NFS version 3
Dec 3 22:16:33 una amd[930]: mount_nfs_fh: using NFS transport udp
Dec 3 22:16:33 una amd[930]: mount_nfs_fh: using NFS transport udp
Dec 3 22:16:37 una amd[916]: sunsite.doc.ic.ac.uk:/public mounted fstype nfs on /a/sunsite.doc.ic.ac.uk/public
Dec 3 22:16:37 una amd[916]: sunsite.doc.ic.ac.uk:/public mounted fstype nfs on /a/sunsite.doc.ic.ac.uk/public
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,tcp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,tcp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: Using NFS version 3, protocol udp on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: Using NFS version 3, protocol udp on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: file server nfs.internal.net type nfs starts up
Dec 3 22:16:55 una amd[916]: file server nfs.internal.net type nfs starts up
Dec 3 22:16:55 una amd[916]: Flushed /home/nino; dependent on nfs.internal.net
Dec 3 22:16:55 una amd[916]: Flushed /home/nino; dependent on nfs.internal.net
Dec 3 22:16:55 una amd[916]: recompute_portmap: NFS version 3
Dec 3 22:16:55 una amd[916]: recompute_portmap: NFS version 3
Dec 3 22:16:55 una amd[916]: Using MOUNT version: 3
Dec 3 22:16:55 una amd[916]: Using MOUNT version: 3
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,tcp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,tcp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: Using NFS version 3, protocol udp on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: Using NFS version 3, protocol udp on host nfs.internal.net
Dec 3 22:16:55 una amd[916]: call_mountd: NFS version 3, mount version 3
Dec 3 22:16:55 una amd[916]: call_mountd: NFS version 3, mount version 3
Dec 3 22:16:56 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:56 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:56 una amd[916]: get_nfs_version: returning (3,tcp) on host nfs.internal.net
Dec 3 22:16:56 una amd[916]: get_nfs_version: returning (3,tcp) on host nfs.internal.net
Dec 3 22:16:56 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:56 una amd[916]: get_nfs_version: returning (3,udp) on host nfs.internal.net
Dec 3 22:16:56 una amd[916]: Using NFS version 3, protocol udp on host nfs.internal.net
Dec 3 22:16:56 una amd[916]: Using NFS version 3, protocol udp on host nfs.internal.net
Dec 3 22:16:56 una amd[916]: prime_nfs_fhandle_cache: NFS version 3
Dec 3 22:16:56 una amd[916]: prime_nfs_fhandle_cache: NFS version 3
Dec 3 22:16:57 una amd[933]: mount_nfs_fh: NFS version 3
Dec 3 22:16:57 una amd[933]: mount_nfs_fh: NFS version 3
Dec 3 22:16:57 una amd[933]: mount_nfs_fh: using NFS transport udp
Dec 3 22:16:57 una amd[933]: mount_nfs_fh: using NFS transport udp
Dec 3 22:17:00 una amd[916]: recompute_portmap: NFS version 3
Dec 3 22:17:00 una amd[916]: recompute_portmap: NFS version 3
Dec 3 22:17:00 una amd[916]: Using MOUNT version: 3
Dec 3 22:17:00 una amd[916]: Using MOUNT version: 3
Dec 3 22:17:25 una amd[916]: recompute_portmap: NFS version 3
Dec 3 22:17:25 una amd[916]: recompute_portmap: NFS version 3
Dec 3 22:17:25 una amd[916]: Using MOUNT version: 3
Dec 3 22:17:25 una amd[916]: Using MOUNT version: 3
----> una is hung!