From owner-freebsd-current Wed Nov 13 17:33:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD40D37B401; Wed, 13 Nov 2002 17:33:25 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DEE143E42; Wed, 13 Nov 2002 17:33:25 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 332D6AE216; Wed, 13 Nov 2002 17:33:20 -0800 (PST) Date: Wed, 13 Nov 2002 17:33:20 -0800 From: Alfred Perlstein To: Kris Kennaway Cc: current@FreeBSD.org Subject: Re: rpc.lockd problems Message-ID: <20021114013320.GA50692@elvis.mu.org> References: <20021113164143.C4476@citusc.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021113164143.C4476@citusc.usc.edu> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Kris Kennaway [021113 16:41] wrote: > A few months ago I posted about rpc.lockd interop problems I am having > between my 5.0 NFS client and a Redhat 7.1 server. Both are running > rpc.lockd, but when I send a lock request to the server it hangs > forever blocked on the /var/run/lock socket. > > tcpdump shows that the lock RPC request is being sent, and answered by > the server. I have the complete tcpdump trace if anyone is > interested. Ah finally! Some useful debug info! It looks like the remote server is not running lockd, or posibly just dropping the lock requests on the floor. Can you get some information about the remote lockd? > 16:27:28.285259 citusc17.usc.edu.641493202 > citusc.usc.edu.nfs: 104 lookup fh Unknown/1 "incoming" > 16:27:28.286179 citusc.usc.edu.nfs > citusc17.usc.edu.641493202: reply ok 232 lookup fh Unknown/1 (DF) > 16:27:28.287395 citusc17.usc.edu.55771 > citusc.usc.edu.sunrpc: udp 56 > 16:27:28.288491 citusc.usc.edu.sunrpc > citusc17.usc.edu.55771: udp 28 (DF) > 16:27:28.289631 citusc17.usc.edu.55772 > citusc.usc.edu.49437: udp 200 > 16:27:28.290549 citusc.usc.edu.49437 > citusc17.usc.edu.55772: udp 28 (DF) Ok, here's where the lock request is done... > Here is what rpc.lockd -d 10 shows: > > Nov 13 16:39:51 citusc17 rpc.lockd: process ID: 10865 > Nov 13 16:39:51 citusc17 rpc.lockd: fh_len 24, fh \01\00\00\02\00\08\00\07\02\00\00\00\40\a0\0e\00\73\09\c6\11\2a\a0\0e\00 > Nov 13 16:39:51 citusc17 rpc.lockd: start 0; len 0; pid 1; type 1; whence 0 > Nov 13 16:39:51 citusc17 rpc.lockd: wait was not set > Nov 13 16:39:51 citusc17 rpc.lockd: lock request: V4: read to 128.125.38.123 > Nov 13 16:39:51 citusc17 rpc.lockd: Found CLIENT* in cache > Nov 13 16:40:11 citusc17 rpc.lockd: process ID: 10865 > Nov 13 16:40:11 citusc17 rpc.lockd: fh_len 24, fh \01\00\00\02\00\08\00\07\02\00\00\00\40\a0\0e\00\73\09\c6\11\2a\a0\0e\00 > Nov 13 16:40:11 citusc17 rpc.lockd: start 0; len 0; pid 1; type 1; whence 0 > Nov 13 16:40:11 citusc17 rpc.lockd: wait was not set > Nov 13 16:40:11 citusc17 rpc.lockd: lock request: V4: read to 128.125.38.123 > Nov 13 16:40:11 citusc17 rpc.lockd: Found CLIENT* in cache > Nov 13 16:40:31 citusc17 rpc.lockd: process ID: 10865 > Nov 13 16:40:31 citusc17 rpc.lockd: fh_len 24, fh \01\00\00\02\00\08\00\07\02\00\00\00\40\a0\0e\00\73\09\c6\11\2a\a0\0e\00 > Nov 13 16:40:31 citusc17 rpc.lockd: start 0; len 0; pid 1; type 1; whence 0 > Nov 13 16:40:31 citusc17 rpc.lockd: wait was not set > Nov 13 16:40:31 citusc17 rpc.lockd: lock request: V4: read to 128.125.38.123 > Nov 13 16:40:31 citusc17 rpc.lockd: Found CLIENT* in cache > > (this repeats every 20 seconds) Neither the tcpdump nor the lockd debug output show any response from the server... can you look into this? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message