Subject: hangs with NFS
To: None <current-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 03/28/2001 19:49:47
Hi,
with recent -current kernels I experience strange hangs when NFS is used.
NFS server is a NetBSD 1.5, client -current as of today. My home dir is on
the server.

A good way for me to create this is to start a 'make build' in a local
source tree after su to root. The first shell started by make hangs, as
does any other accesses to the NFS server. The process in unkilable.

Here's a tcpdump trace when the hang occurs:
19:47:14.935983 armandeche.lip6.fr.573784365 > disco.nfs: 148 access fh 16,20/3328 0002
19:47:14.936463 disco.nfs > armandeche.lip6.fr.573784365: reply ok 124 access c 0002
19:47:14.936634 armandeche.lip6.fr.573784366 > disco.nfs: 144 getattr fh 16,20/6656
19:47:14.937061 disco.nfs > armandeche.lip6.fr.573784366: reply ok 116 getattr DIR 755 ids 373/20 sz 4096 
19:47:14.937205 armandeche.lip6.fr.573784367 > disco.nfs: 148 access fh 16,20/6656 0002
19:47:14.937629 disco.nfs > armandeche.lip6.fr.573784367: reply ok 124 access c 0002
19:47:14.937772 armandeche.lip6.fr.573784368 > disco.nfs: 148 access fh 16,20/3830920 0002
19:47:14.938198 disco.nfs > armandeche.lip6.fr.573784368: reply ok 124 access c 0000
19:47:15.100089 armandeche.lip6.fr.1023 > disco.nfs: . ack 4141408692 win 65535 <nop,nop,timestamp 191 524024>

At this point the process is hung, unkillable. The only NFS traffic I see
after this is:

19:47:39.940122 armandeche.lip6.fr.1375731712 > disco.nfs: 40 null
19:47:39.940438 disco.nfs > armandeche.lip6.fr.1375731712: reply ok 24 null


Anyone else seen this ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--