Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 17:33:15 +0200
From:      Martin <nakal@web.de>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-current@FreeBSD.org, Dmitry Marakasov <amdmi3@amdmi3.ru>, "O. Hartmann" <ohartman@zedat.fu-berlin.de>, Arnar Mar Sig <antab@valka.is>
Subject:   Re: RPCPROG_MNT: RPC: Timed out / receiving NFS error when trying to mount NFS file system after make world
Message-ID:  <20090615173315.1cdb39e1@zelda.local>
In-Reply-To: <Pine.GSO.4.63.0906051107540.24102@muncher.cs.uoguelph.ca>
References:  <4A2504AA.1020406@zedat.fu-berlin.de> <20090603235227.GB15659@hades.panopticon> <Pine.GSO.4.63.0906051107540.24102@muncher.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Fri, 5 Jun 2009 11:17:10 -0400 (EDT)
schrieb Rick Macklem <rmacklem@uoguelph.ca>:

> It seems that the problem is specific to "udp" and some arches. (I
> can't reproduce it on i386 and at least one person sees it on amd64.)
> 
> Maybe people who see the problem can post to the -current list, noting
> what arch they are using and network config (running virtualized, what
> net hardware, multiple net interfaces, etc).
> 
> Hopefully there is some commonality among them?
> 
> Thanks in advance for any help tracking this down, rick

Hi Rick.

I've got also a problem mounting nfs over tcp on my amd64 (kernel of
yesterday).

I tried to find out what is happening and noticed that I don't get a
response back from rpcbind. This is being caused by my unusual
configuration. I've got a public IP and an internal one (2 NICs).
Packets sometimes arrive at one NIC and are being sent back over the
other.

The real problem is that rpcbind throws away the second "-h" parameter
so it does not listen and use the second NIC. I verified it by rpcinfo.
It does not use any ports on my second NIC that I specified in rc.conf.

As a result, I removed all "-h" options, so rpcbind listens on "*.*".
Using this configuration, it works.

Please also be careful with the code. I've seen rpcbind adds 127.0.0.1
automatically. Please make it a warning when someone adds localhost
addresses instead of showing bind errors on the interface address. It's
confusing, because one may think that some other tool blocks the port
or stuff like that. And... yeah... I RTFM. Still, it's confusing when
you forget it.

I hope, I could help you a bit.
 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090615173315.1cdb39e1>