[196] in linux-net channel archive
Re: nfs server suite stopped to work for me
daemon@ATHENA.MIT.EDU (Anthony Graphics)
Wed Apr 12 12:19:20 1995
Date: Wed, 12 Apr 1995 18:14:37 +0400 (GMT+0400)
From: Anthony Graphics <agl@mac.glas.apc.org>
To: Olaf Kirch <okir@monad.swb.de>
cc: linux-net@vger.rutgers.edu
In-Reply-To: <m0rwwBD-000KjHC@monad.swb.de>
On Thu, 6 Apr 1995, Olaf Kirch wrote:
> Date: Thu, 6 Apr 95 20:21 MET DST
> From: Olaf Kirch <okir@monad.swb.de>
> To: linux-net@vger.rutgers.edu
> Cc: Anthony Graphics <agl@redline.ru>
> Subject: Re: nfs server suite stopped to work for me
>
> Anthony Graphics wrote:
> > The question is: how can I track down the following problem:
> > mount hangs on attempt to mount the volume from the linux box
> > running (either 2.0, 2.2alpha1 and 2.1 can't decode arguments
> > according to rpcinfo -t myhost 100003 on tcp port).
>
> That is because of some unintended macro confusion, xdr_char is used as
> the NULL RPC argument instead of xdr_char. The svcudp_getargs function
> does not notice, but svc_tcpargs does, and so the NULL function call
> fails. To work around this, replace
>
> #define nil char
>
> with
>
> #define nil void
>
> on line 50 of dispatch.c.
>
> > I've heard linux uses tcp instead of udp for
> > rpc services so it might be the cause (OSF/1 machine can't mount
> > dirs from the linux host either :-(
>
> No, UDP works perfectly well. If you mail me, I may be able to help you.
>
>
> Olaf
>
Hmm, maybe you have clue for the following problem: first attempt
to mount a directory from a linux machine running either nfsd 2.1 or
2.2alpha1 fails while the second one succeeds...
Thanx!
AGL