Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2009 23:03:50 +0200
From:      Arnar Mar Sig <antab@valka.is>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-current@FreeBSD.org, "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Subject:   Re: RPCPROG_MNT: RPC: Timed out / receiving NFS error when trying to mount NFS file system after make world
Message-ID:  <63C3AB3D-5500-4693-BAD6-AE760F623B96@valka.is>
In-Reply-To: <Pine.GSO.4.63.0906021532510.23709@muncher.cs.uoguelph.ca>
References:  <4A2504AA.1020406@zedat.fu-berlin.de> <Pine.GSO.4.63.0906021030500.6192@muncher.cs.uoguelph.ca> <4A254194.7080807@zedat.fu-berlin.de> <Pine.GSO.4.63.0906021146470.19159@muncher.cs.uoguelph.ca> <E497D22D-1913-4C57-A359-C310E43B9F4F@valka.is> <Pine.GSO.4.63.0906021532510.23709@muncher.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

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@thordis:~$ sudo mount -t nfs -o udp 192.168.1.254:/home/antab/ 
avr32-root test/
mount.nfs: mount system call failed
antab@thordis:~$ sudo mount -t nfs -o tcp 192.168.1.254:/home/antab/ 
avr32-root test/
antab@thordis:~$ umount test/

Arnar Mar Sig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63C3AB3D-5500-4693-BAD6-AE760F623B96>