[U-Boot-Users] nfs root issue

Wolfgang Denk wd at denx.de
Wed Aug 11 18:20:22 CEST 2004


Dear François-Xavier,

in message <DA5CB450F843D611823E0002A5D4DB3C02524AF6 at renexch1.rennes.thmulti.com> you wrote:
> 
> now that u-boot works perfeclty alright on my EP405 board, I am testing
> some Linux features and am having problem with booting with a nfs root
> file system. I've googled around for hours now (and read the DULG manual
> too ;) and although this is not u-boot related, I guess some of you

Indeed, this _is_ off topic here.

> embedded guys may have encountered the same problem. If I use a ramdisk,
> I can mount the nfs partition (with -o nolock,nfsvers=2); so I'm
> running out of clues for now. The bootargs variable is set to:
> root=/dev/nfs IP=192.168.1.15:::::255.255.255.0::eth0
> nfsroot=192.168.1.10:/opt/embedded/tools/ppc_4xx,v2 rw
> Any hint would be greatly appreciated. (and forgive me for sending this

Well, I think that the DULG shows this a bit differently, doesn't it?

Why are you writing "IP=" when all available documentation has "ip=" ?
Why are there so many colons in your argument? 

Documentation/nfsroot.txt says:

ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>

Will you please compare this with your string?


> message on the u-boot list Wolfgang, but other mailing lists did not
> point me to working clues)
> 
> During the boot process, I get:
> 
> Looking up port of RPC 100003/2 on 192.168.1.10
> RPC:      rpc_getport_external(192.168.1.10, 100003, 2, 17)
> RPC:      xprt_sendmsg(0) = -101
> RPC: sendmsg returned error 101
> portmap: RPC call returned error 101
> Root-NFS: Unable to get nfsd port number from server, using default
> Looking up port of RPC 100005/1 on 192.168.1.10
> RPC:      rpc_getport_external(192.168.1.10, 100005, 1, 17)
> RPC:      xprt_sendmsg(0) = -101
> RPC: sendmsg returned error 101
> portmap: RPC call returned error 101
> Root-NFS: Unable to get mountd port number from server, using default
> RPC:      xprt_sendmsg(0) = -101
> RPC: sendmsg returned error 101
> mount: RPC call returned error 101

-> grep 101 /usr/include/*/errno.h
/usr/include/asm/errno.h:#define        ENETUNREACH     101     /* Network is unreachable */

Read: Network is unreachable

Blame it on yourself for being unable to  copy  and  paste  from  the
available documentation.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
It is dangerous to be right on a subject  on  which  the  established
authorities are wrong.                                    -- Voltaire




More information about the U-Boot mailing list