[179] in linux-net channel archive
Re: nfs server suite stopped to work for me
daemon@ATHENA.MIT.EDU (Olaf Kirch)
Thu Apr 6 22:59:26 1995
Date: Thu, 6 Apr 95 20:21 MET DST
From: okir@monad.swb.de (Olaf Kirch)
To: linux-net@vger.rutgers.edu
Cc: agl@redline.ru (Anthony Graphics)
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