Subject: NetBSD<->OSF/1 NFS interoperability poblem
To: None <tech-net@NetBSD.ORG>
From: Tim W. Janes <janes@signal.dra.hmg.gb>
List: tech-net
Date: 08/02/1996 11:27:20
Hi,

I have an obscure NetBSD <-> OSF/1 NFS mounting problem. Is there any
NFS expert who could look at my tcpdump traces to try and determine
where the problem lies.

Our main fileserver is a Dec Alphaserver 1000 running OSF/1 V3.2C with
an FDDI connection to our client Alphas. We wish to set up 10
PentiumPro machines running NetBSD as a batch processor farm so I have
added a 100BaseT card to the Alphaserver in order keep the network traffic
way from our main network. I am currently testing the setup with one
P133 with SMC PCI 10/100 network card running NetBSD 1.2Beta.


   --------              --------
  | NetBSD | ---------- | Alpha  |-----------------> To other Alphas, etc...
   --------  100BaseT    --------     FDDI 


On the NetBSD I find that I can sucessfully mount one filesystem from
the alpha but when I try to mount a second filesystem ( 99% of the
time) it fails to complete the command and i have to reset the NetBSD machine.

There is no problem mounting filesystems from other Alphas using the
Alpha server as a routing node.

I have tried the following situations

Turned 100BaseT speed down to 10Mbit 
Used Etherlink III at 10Mbit in NetBSD machine
Used a Linux 2.0.7 machine instead of NetBSD
---- In all cases Unable to mount any filesystem from Alpha  
     all hang in a similar way 

Using NFS2 makes no difference.

Using an Ultrix 4.3 machine or another Alphas in place of the NetBSD machine
The problems go away.

Turning off IP forwarding on alpha server cause the problems go away.

I have a call open with DEC who are being helpful but are now wanting
an order no to charge against in case it is a problem with NetBSD.

DEC are saying the packet from titan that replies "udp port 1038
unreachable" is garbage and why should it be unreachable?

I do not have the necessary data ( nor experience) to decode the
network packets - is anyone able to assist?
 
Thanks for any assistance.

Tim Janes

Tim Janes                   | e-mail : janes@signal.dra.hmg.gb
Defence Research Agency     |    tel : +44 1684 894100
Malvern  Worcs              |    fax : +44 1684 895103
Gt Britain                  |   #include <std/disclaim.h>



output of tcpdump run on joyce (alpha Server)
tcpdump -l -s 1500 -x host titan

booted titan
On titan (NetBSD) machine issued command
mount joyce:/server/joyce/data1 /server/joyce/data1
Worked OK



17:23:46.693475 titan.dra.hmg.gb.1035 > byron.dra.hmg.gb.domain: 1+ A? joyce.dra.hmg.gb. (34)
			 4500 003e 00d1 0000 4011 697c c0a8 c702
			 c13d c779 040b 0035 002a c6ae 0001 0100
			 0001 0000 0000 0000 056a 6f79 6365 0364
			 7261 0368 6d67 0267 6200 0001 0001
17:23:46.694451 byron.dra.hmg.gb.domain > titan.dra.hmg.gb.1035: 1* 2/1/1 A joyce.dra.hmg.gb (112)
			 4500 008c c03b 0000 1d11 ccc3 c13d c779
			 c0a8 c702 0035 040b 0078 9c69 0001 8580
			 0001 0002 0001 0001 056a 6f79 6365 0364
			 7261 0368 6d67 0267 6200 0001 0001 c00c
			 0001 0001 0003 f480 0004 c0a8 c701 c00c
			 0001 0001 0003 f480 0004 c13d c763 0364
			 7261 0368 6d67 0267 6200 0002 0001 0003
			 f480 0008 0562 7972 6f6e c042 c058 0001
			 0001 0003 f480 0004 c13d c779
17:23:46.696403 titan.dra.hmg.gb.702 > joyce.dra.hmg.gb.sunrpc: udp 56
			 4500 0054 00d2 0000 4011 6a72 c0a8 c702
			 c0a8 c701 02be 006f 0040 354d 32f6 7747
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a3 0000 0003 0000 0011
			 0000 0000
17:23:46.712995 joyce.dra.hmg.gb.sunrpc > titan.dra.hmg.gb.702: udp 28
			 4500 0038 7662 0000 1e11 16fe c0a8 c701
			 c0a8 c702 006f 02be 0024 3ae4 32f6 7747
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0801
17:23:46.713971 titan.dra.hmg.gb.703 > joyce.dra.hmg.gb.sunrpc: udp 56
			 4500 0054 00d3 0000 4011 6a71 c0a8 c702
			 c0a8 c701 02bf 006f 0040 7a54 32f6 323d
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a5 0000 0003 0000 0011
			 0000 0000
17:23:46.713971 joyce.dra.hmg.gb.sunrpc > titan.dra.hmg.gb.703: udp 28
			 4500 0038 7663 0000 1e11 16fd c0a8 c701
			 c0a8 c702 006f 02bf 0024 83ea 32f6 323d
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0404
17:23:46.714947 titan.dra.hmg.gb.elcsd > joyce.dra.hmg.gb.1028: udp 128
			 4500 009c 00d4 0000 4011 6a28 c0a8 c702
			 c0a8 c701 02c0 0404 0088 6140 32f6 324d
			 0000 0000 0000 0002 0001 86a5 0000 0003
			 0000 0001 0000 0001 0000 0040 31fe 4512
			 0000 0010 7469 7461 6e2e 6472 612e 686d
			 672e 6762 0000 0000 0000 0000 0000 0007
			 0000 0000 0000 0002 0000 0003 0000 0004
			 0000 0005 0000 0014 0000 001f 0000 0000
			 0000 0000 0000 0013 2f73 6572 7665 722f
			 6a6f 7963 652f 6461 7461 3100
17:23:46.769603 joyce.dra.hmg.gb.1028 > titan.dra.hmg.gb.elcsd: udp 68
			 4500 0060 7670 0000 1e11 16c8 c0a8 c701
			 c0a8 c702 0404 02c0 004c ed94 32f6 324d
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0020 8000 b000
			 0100 0000 0c00 0000 0200 0000 8871 9c2f
			 0c00 0000 0200 0000 8871 9c2f 0000 0000
17:23:46.769603 titan.dra.hmg.gb.e4512001 > joyce.dra.hmg.gb.nfs: 124 getattr fh 536870912.11534464.1.12
			 4500 0098 00d5 0000 4011 6a2b c0a8 c702
			 c0a8 c701 040c 0801 0084 c1a9 e451 2001
			 0000 0000 0000 0002 0001 86a3 0000 0003
			 0000 0001 0000 0001 0000 0030 0000 0000
			 0000 0000 0000 0000 0000 0000 0000 0007
			 0000 0000 0000 0002 0000 0003 0000 0004
			 0000 0005 0000 0014 0000 001f 0000 0000
			 0000 0000 0000 0020 8000 b000 0100 0000
			 0c00 0000 0200 0000 8871 9c2f 0c00 0000
			 0200 0000 8871 9c2f
17:23:46.771555 joyce.dra.hmg.gb.nfs > titan.dra.hmg.gb.e4512001: 112 reply ok getattr DIR 755 ids 0/0 sz 0 
			 4500 008c 7671 0000 1e11 169b c0a8 c701
			 c0a8 c702 0801 040c 0078 6652 e451 2001
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0002 0000 01ed
			 0000 000a 0000 0000 0000 0000 0000 0000
			 0000 0200 0000 0000 0000 0400 0000 0000
			 0000 03e8 0000 0000 00b0 0080 0000 0000
			 0000 0002 31fd cad8 1950 a2f8 31fd 416b
			 3009 35f0 31fd 416b 3009 35f0
17:23:46.772531 titan.dra.hmg.gb.e4512002 > joyce.dra.hmg.gb.nfs: 96 proc-19
			 4500 007c 00d6 0000 4011 6a46 c0a8 c702
			 c0a8 c701 040c 0801 0068 c232 e451 2002
			 0000 0000 0000 0002 0001 86a3 0000 0003
			 0000 0013 0000 0001 0000 0014 0000 0000
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0020 8000 b000
			 0100 0000 0c00 0000 0200 0000 8871 9c2f
			 0c00 0000 0200 0000 8871 9c2f
17:23:46.774483 joyce.dra.hmg.gb.nfs > titan.dra.hmg.gb.e4512002: 164 reply ok proc-19
			 4500 00c0 7672 0000 1e11 1666 c0a8 c701
			 c0a8 c702 0801 040c 00ac bce5 e451 2002
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0001 0000 0002
			 0000 01ed 0000 000a 0000 0000 0000 0000
			 0000 0000 0000 0200 0000 0000 0000 0400
			 0000 0000 0000 03e8 0000 0000 00b0 0080
			 0000 0000 0000 0002 31fd cad8 1950 a2f8
			 31fd 416b 3009 35f0 31fd 416b 3009 35f0
			 0000 2000 0000 2000 0000 0200 0000 2000
			 0000 2000 0000 0200 0000 2000 0000 00ff
			 ffff ffff 0000 0000 0000 03e8 0000 001b
17:23:46.774483 titan.dra.hmg.gb.e4512003 > joyce.dra.hmg.gb.nfs: 96 proc-18
			 4500 007c 00d7 0000 4011 6a45 c0a8 c702
			 c0a8 c701 040c 0801 0068 c232 e451 2003
			 0000 0000 0000 0002 0001 86a3 0000 0003
			 0000 0012 0000 0001 0000 0014 0000 0000
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0020 8000 b000
			 0100 0000 0c00 0000 0200 0000 8871 9c2f
			 0c00 0000 0200 0000 8871 9c2f
17:23:46.775459 joyce.dra.hmg.gb.nfs > titan.dra.hmg.gb.e4512003: 168 reply ok proc-18
			 4500 00c4 7673 0000 1e11 1661 c0a8 c701
			 c0a8 c702 0801 040c 00b0 cfd1 e451 2003
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0001 0000 0002
			 0000 01ed 0000 000a 0000 0000 0000 0000
			 0000 0000 0000 0200 0000 0000 0000 0400
			 0000 0000 0000 03e8 0000 0000 00b0 0080
			 0000 0000 0000 0002 31fd cad8 1950 a2f8
			 31fd 416b 3009 35f0 31fd 416b 3009 35f0
			 0000 0000 765d 7c00 0000 0000 25d8 d000
			 0000 0000 1a02 a800 0000 0000 0007 25fe
			 0000 0000 0006 62e1 0000 0000 0006 62e1
			 0000 0000


On titan machine issued command
mount joyce:/server/joyce/data2 /server/joyce/data2
This Failed


17:23:58.756782 titan.dra.hmg.gb.1034 > joyce.dra.hmg.gb.875: udp 92
			 4500 0078 00d8 0000 4011 6a48 c0a8 c702
			 c0a8 c701 040a 036b 0064 4b79 0000 0000
			 0000 0000 0000 0002 0001 86a4 0000 0002
			 0000 0002 0000 0001 0000 0028 31fe 451e
			 0000 0010 7469 7461 6e2e 6472 612e 686d
			 672e 6762 0000 0000 0000 0000 0000 0001
			 0000 0000 0000 0000 0000 0000 0000 0006
			 6765 6e69 7573 0000
17:23:58.766542 joyce.dra.hmg.gb.875 > titan.dra.hmg.gb.1034: udp 28
			 4500 0038 7b07 0000 1e11 1259 c0a8 c701
			 c0a8 c702 036b 040a 0024 e8d9 0000 0000
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0001
17:24:46.827497 titan.dra.hmg.gb.1037 > byron.dra.hmg.gb.domain: 1+ A? joyce.dra.hmg.gb. (34)
			 4500 003e 00d9 0000 4011 6974 c0a8 c702
			 c13d c779 040d 0035 002a c6ac 0001 0100
			 0001 0000 0000 0000 056a 6f79 6365 0364
			 7261 0368 6d67 0267 6200 0001 0001
17:24:46.829449 byron.dra.hmg.gb.domain > titan.dra.hmg.gb.1037: 1* 2/1/1 A joyce.dra.hmg.gb (112)
			 4500 008c f167 0000 1d11 9b97 c13d c779
			 c0a8 c702 0035 040d 0078 9c67 0001 8580
			 0001 0002 0001 0001 056a 6f79 6365 0364
			 7261 0368 6d67 0267 6200 0001 0001 c00c
			 0001 0001 0003 f480 0004 c13d c763 c00c
			 0001 0001 0003 f480 0004 c0a8 c701 0364
			 7261 0368 6d67 0267 6200 0002 0001 0003
			 f480 0008 0562 7972 6f6e c042 c058 0001
			 0001 0003 f480 0004 c13d c779
17:24:46.830425 titan.dra.hmg.gb.elcsd > joyce.dra.hmg.gb.sunrpc: udp 56
			 4500 0054 00da 0000 4011 6973 c0a8 c702
			 c13d c763 02c0 006f 0040 2c7e 32f4 7f1f
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a3 0000 0003 0000 0011
			 0000 0000
17:24:46.835305 joyce.dra.hmg.gb.sunrpc > titan.dra.hmg.gb.elcsd: udp 28
			 4500 0038 8de5 0000 1e11 ff7a c0a8 c701
			 c0a8 c702 006f 02c0 0024 330c 32f4 7f1f
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0801
17:24:46.836281 titan.dra.hmg.gb.705 > joyce.dra.hmg.gb.sunrpc: udp 56
			 4500 0054 00db 0000 4011 6972 c0a8 c702
			 c13d c763 02c1 006f 0040 9782 32f4 1418
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a5 0000 0003 0000 0011
			 0000 0000
17:24:46.836281 joyce.dra.hmg.gb.sunrpc > titan.dra.hmg.gb.705: udp 28
			 4500 0038 8de6 0000 1e11 ff79 c0a8 c701
			 c0a8 c702 006f 02c1 0024 a20f 32f4 1418
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0404
17:24:46.837257 titan.dra.hmg.gb.binlogd > joyce.dra.hmg.gb.1028: udp 128
			 4500 009c 00dc 0000 4011 6929 c0a8 c702
			 c13d c763 02c2 0404 0088 7d4f 32f4 140b
			 0000 0000 0000 0002 0001 86a5 0000 0003
			 0000 0001 0000 0001 0000 0040 31fe 454e
			 0000 0010 7469 7461 6e2e 6472 612e 686d
			 672e 6762 0000 0000 0000 0000 0000 0007
			 0000 0000 0000 0002 0000 0003 0000 0004
			 0000 0005 0000 0014 0000 001f 0000 0000
			 0000 0000 0000 0013 2f73 6572 7665 722f
			 6a6f 7963 652f 6461 7461 3200
17:24:46.843113 joyce.dra.hmg.gb.1028 > titan.dra.hmg.gb.binlogd: udp 68
			 4500 0060 8de9 0000 1e11 ff4e c0a8 c701
			 c0a8 c702 0404 02c2 004c 08d7 32f4 140b
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0020 8100 b000
			 0100 0000 0c00 0000 0200 0000 8971 9c2f
			 0c00 0000 0200 0000 8971 9c2f 0000 0000
17:24:46.844089 titan.dra.hmg.gb.e4512004 > joyce.dra.hmg.gb.nfs: 124 getattr fh 536870912.11534465.1.12
			 4500 0098 00dd 0000 4011 692c c0a8 c702
			 c13d c763 040e 0801 0084 bdad e451 2004
			 0000 0000 0000 0002 0001 86a3 0000 0003
			 0000 0001 0000 0001 0000 0030 0000 0000
			 0000 0000 0000 0000 0000 0000 0000 0007
			 0000 0000 0000 0002 0000 0003 0000 0004
			 0000 0005 0000 0014 0000 001f 0000 0000
			 0000 0000 0000 0020 8100 b000 0100 0000
			 0c00 0000 0200 0000 8971 9c2f 0c00 0000
			 0200 0000 8971 9c2f
17:24:46.844089 joyce.dra.hmg.gb.nfs > titan.dra.hmg.gb.e4512004: 112 reply ok
			 4500 008c 8dea 0000 1e11 ff21 c0a8 c701
			 c0a8 c702 0801 040e 0078 6ee5 e451 2004
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0002 0000 01ed
			 0000 0008 0000 0000 0000 0000 0000 0000
			 0000 0200 0000 0000 0000 0400 0000 0000
			 0000 03e8 0000 0000 00b0 0081 0000 0000
			 0000 0002 31fc bde3 1871 7628 31fd 41ef
			 253c 5940 31fd 41ef 253c 5940
17:24:46.844089 titan.dra.hmg.gb > joyce.dra.hmg.gb: icmp: titan.dra.hmg.gb udp port 1038 unreachable
			 4500 0038 00de 0000 ff01 ab91 c0a8 c702
			 c0a8 c701 0303 92e0 0000 0000 4500 00a0
			 ea8d 0000 1e11 0000 c0a8 c701 c0a8 c702
			 0801 040e 0078 0000
17:24:47.847017 titan.dra.hmg.gb.e4512004 > joyce.dra.hmg.gb.nfs: 124 getattr fh 536870912.11534465.1.12
			 4500 0098 00df 0000 4011 692a c0a8 c702
			 c13d c763 040e 0801 0084 bdad e451 2004
			 0000 0000 0000 0002 0001 86a3 0000 0003
			 0000 0001 0000 0001 0000 0030 0000 0000
			 0000 0000 0000 0000 0000 0000 0000 0007
			 0000 0000 0000 0002 0000 0003 0000 0004
			 0000 0005 0000 0014 0000 001f 0000 0000
			 0000 0000 0000 0020 8100 b000 0100 0000
			 0c00 0000 0200 0000 8971 9c2f 0c00 0000
			 0200 0000 8971 9c2f
17:24:47.847993 joyce.dra.hmg.gb.nfs > titan.dra.hmg.gb.e4512004: 112 reply ok
			 4500 008c 8dfe 0000 1e11 ff0d c0a8 c701
			 c0a8 c702 0801 040e 0078 6ee5 e451 2004
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0002 0000 01ed
			 0000 0008 0000 0000 0000 0000 0000 0000
			 0000 0200 0000 0000 0000 0400 0000 0000
			 0000 03e8 0000 0000 00b0 0081 0000 0000
			 0000 0002 31fc bde3 1871 7628 31fd 41ef
			 253c 5940 31fd 41ef 253c 5940
17:24:47.847993 titan.dra.hmg.gb > joyce.dra.hmg.gb: icmp: titan.dra.hmg.gb udp port 1038 unreachable
			 4500 0038 00e0 0000 ff01 ab8f c0a8 c702
			 c0a8 c701 0303 7ee0 0000 0000 4500 00a0
			 fe8d 0000 1e11 0000 c0a8 c701 c0a8 c702
			 0801 040e 0078 0000
17:24:49.856732 titan.dra.hmg.gb.e4512004 > joyce.dra.hmg.gb.nfs: 124 getattr fh 536870912.11534465.1.12
			 4500 0098 00e1 0000 4011 6928 c0a8 c702
			 c13d c763 040e 0801 0084 bdad e451 2004
			 0000 0000 0000 0002 0001 86a3 0000 0003
			 0000 0001 0000 0001 0000 0030 0000 0000
			 0000 0000 0000 0000 0000 0000 0000 0007
			 0000 0000 0000 0002 0000 0003 0000 0004
			 0000 0005 0000 0014 0000 001f 0000 0000
			 0000 0000 0000 0020 8100 b000 0100 0000
			 0c00 0000 0200 0000 8971 9c2f 0c00 0000
			 0200 0000 8971 9c2f
17:24:49.857708 joyce.dra.hmg.gb.nfs > titan.dra.hmg.gb.e4512004: 112 reply ok
			 4500 008c 8e26 0000 1e11 fee5 c0a8 c701
			 c0a8 c702 0801 040e 0078 6ee5 e451 2004
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0002 0000 01ed
			 0000 0008 0000 0000 0000 0000 0000 0000
			 0000 0200 0000 0000 0000 0400 0000 0000
			 0000 03e8 0000 0000 00b0 0081 0000 0000
			 0000 0002 31fc bde3 1871 7628 31fd 41ef
			 253c 5940 31fd 41ef 253c 5940
17:24:49.858684 titan.dra.hmg.gb > joyce.dra.hmg.gb: icmp: titan.dra.hmg.gb udp port 1038 unreachable
			 4500 0038 00e2 0000 ff01 ab8d c0a8 c702
			 c0a8 c701 0303 56e0 0000 0000 4500 00a0
			 268e 0000 1e11 0000 c0a8 c701 c0a8 c702
			 0801 040e 0078 0000
17:24:53.866448 titan.dra.hmg.gb.e4512004 > joyce.dra.hmg.gb.nfs: 124 getattr fh 536870912.11534465.1.12
			 4500 0098 00e3 0000 4011 6926 c0a8 c702
			 c13d c763 040e 0801 0084 bdad e451 2004