RPCPROG_MNT: RPC: Timed out / receiving NFS error when trying to mount NFS file system after make world

Arnar Mar Sig antab at valka.is
Tue Jun 2 21:03:52 UTC 2009


On Jun 2, 2009, at 9:36 PM, Rick Macklem wrote:

>
>
> On Tue, 2 Jun 2009, Arnar Mar Sig wrote:
>
>>
>>
>> I'm having troubles with nfsroot on avr32 after updating my dev box  
>> to HEAD on May 31.
>>
>> I can see MNT RPC packet coming from the avr32 board and running  
>> mountd -d shows "mountd: mount successful" when the packet is  
>> received but no answer is transmitted, rpc is sent with udp.
>> I can mount the same export from my osx workstation when using tcp.
>>
> Ok, I've poked at it a little more and the case that seems to be  
> broken
> is the "-h nfs-server.cis.uoguelph.ca" option on nfsd. Without "-h" or
> with "-h 131.104.49.243" it seems to work. (This affects udp but not  
> tcp.)
>
> I haven't yet figured out why that case is broken, but I'll keep  
> fiddling
> with it. (For me the getaddrinfo() fails for this case.)
>
> If you are not using the "-h" option on nfsd and udp isn't working, I
> haven't got an explanation, because it seems to work for me?
>
> rick
>
I'm using the default "-u -t -n 4". I rebuilt everything with checkout  
from today and tested with osx and linux clients. both show the same  
results, viewing traffic with wireshark shows no response packet sent  
when using udp.

osx:
dumb:~ antab$ mount_nfs -o udp 192.168.1.254:/home/antab/avr32-root  
test/
mount_nfs: bad MNT RPC: RPC: Timed out\n
mount_nfs: bad MNT RPC: RPC: Timed out\n
mount_nfs: can't access /home/antab/avr32-root: Permission denied
dumb:~ antab$ mount_nfs -o tcp 192.168.1.254:/home/antab/avr32-root  
test/
dumb:~ antab$ umount test/
Bad MNT RPC: RPC: Timed out
(osx seems to always send the UMNT rpc with udp)

linux:
antab at thordis:~$ sudo mount -t nfs -o udp 192.168.1.254:/home/antab/ 
avr32-root test/
mount.nfs: mount system call failed
antab at thordis:~$ sudo mount -t nfs -o tcp 192.168.1.254:/home/antab/ 
avr32-root test/
antab at thordis:~$ umount test/

Arnar Mar Sig


More information about the freebsd-current mailing list