Booting with nfs failed, unable to mount server

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Booting with nfs failed, unable to mount server

1,928 Views
rolande
Contributor I

Hello,

I try to boot my imx6-target with the barebox-bootloader from network via tftp and nfs.

But I cannot load the root filesystem, see excerpt from bootlog:

NFS: MNTPATH: '/home/roland/CID_SW/fsroot'
[ 124.739227] NFS: sending MNT request for 192.168.3.10:/home/roland/CID_SW/fsroot
[ 159.810912] NFS: failed to create MNT RPC client, status=-110
[ 159.816692] NFS: unable to mount server 192.168.3.10, error -110

I have of course attached the whole bootlog-file.

On the host-side, etc/exports displays:

 /home/roland/CID_SW/fsroot 192.168.0.0/255.255.255.0(rw, nohide, insecure, no_root_squash, async, no_subtree_check)

and etc/hosts.allow shows:

ALL:ALL

On the targetboard before booting I enter the command:

mount -t nfs 192.168.3.10:/home/roland/CID_SW/fsroot     /mnt/nfs

nfs-kernl-server and tftpd-hpa are installed and their services running.

Any suggestion how to solve this issue?

Thanks in advance!

0 Kudos
2 Replies

1,327 Views
b36401
NXP Employee
NXP Employee

Here error -110 means the connection was timed out.
Please make sure that the connection is OK. For example you can use "ping" u-boot command.

0 Kudos

1,327 Views
rolande
Contributor I

Oh and I should add that rpcbind (former portmap-service) is also running on the nfs server host.

And I have also succesfully checked that the nfs is mounted on the target (nfs client) at the directory nfs/mnt.

I have set the kernel configuration of the target-kernel to enable everything related to nfs like CONFIG_ROOT_NFS=y etc.

The firewall of the nfs server is inactive.

Do I maybe have to configure the kernel of the nfs-server ?

Right now the server-kernel is configured to CONFIG_SUNRPC=m CONFIG_NFS_FS=m  CONFIG_NFS_V2,3,4 =m etc.

0 Kudos