This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NFS mount failure only during boot

Other Parts Discussed in Thread: DM3730

Running PSP 4.02.00.07 on DM3730, I'm attempting to boot from an NFS mount using the following bootargs:

setenv nfsargs 'setenv bootargs mem=80M@0x80000000 mem=128M@0x88000000 console=ttyO0,115200n8 noinitrd rw ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:on root=/dev/nfs nfsroot=${serverip}:/home/glennw/workdir/filesys_new,nolock,rsize=1024,wsize=1024 psplash=false mpurate=800 vram=10M omapfb.vram=1:10M omapfb.debug=y proto=tcp nfsrootdebug'

Boot debug output shows:

[    5.504180] IP-Config: Complete:                                           
[    5.507354]      device=eth0, addr=192.168.0.5, mask=255.255.255.0, gw=255.
255.255.255,                                                                  
[    5.515655]      host=192.168.0.5, domain=, nis-domain=(none),             
[    5.521789]      bootserver=192.168.0.50, rootserver=192.168.0.50, rootpath
=                                                                             
[    5.530883] Root-NFS: nfsroot=/home/glennw/workdir/filesys_new,nolock,rsize
=1024,wsize=1024                                                              
[    5.539825] NFS: nfs mount opts='nolock,rsize=1024,wsize=1024,nolock,addr=1
92.168.0.50'                                                                  
[    5.548278] NFS:   parsing nfs mount option 'nolock'                       
[    5.553497] NFS:   parsing nfs mount option 'rsize=1024'                   
[    5.559112] NFS:   parsing nfs mount option 'wsize=1024'                   
[    5.564666] NFS:   parsing nfs mount option 'nolock'                       
[    5.569915] NFS:   parsing nfs mount option 'addr=192.168.0.50'            
[    5.576141] NFS: MNTPATH: '/home/glennw/workdir/filesys_new'               
[    5.582122] NFS: sending MNT request for 192.168.0.50:/home/glennw/workdir/
filesys_new                                                                   
[    8.599273] NFS: failed to create MNT RPC client, status=-113              
[    8.605285] NFS: unable to mount server 192.168.0.50, error -113

This indicates that the NFS mount process is throwing an EHOSTUNREACH error.

However, the host is most certainly reachable from this board.  I can tftp to it from U-Boot, and if I boot the kernel into a Ramdisk or Flash filesystem, I can not only ping the host server, I can also do this:
busybox mount -o rw,tcp,rsize=1024,wsize=1024,nolock -t nfs 192.168.0.50:/home/glennw/workdir/filesys_new /mnt
...which works perfectly fine.

Any thoughts on why the NFS root mount fails when everything else seems to be working?
Thanks,
Glenn Wainwright
Senior Software Engineer
Verathon Inc.