I'm currently trying to boot an Atmel Sama5d2 Xplained evaluation board from NFS server. I'm running a Debian 9 with 4.9.0 kernel version and the nfs server is nfs-kernel-server.
Here is the NFS server configuration
My NFS server succesfully exports my folders because I'm able to mount them through network on another linux.
I'm also able to retrieve both kernel image and dtb file from my tftp server.
However when the kernel starts, it's unable to boot from the exported rootfs and returns the following error
VFS: Unable to mount root fs via NFS, trying floppy. List of all partitions: 0100 8192 ram0 (driver?) 0101 8192 ram1 (driver?) 0102 8192 ram2 (driver?) 0103 8192 ram3 (driver?) b300 3833856 mmcblk0 driver: mmcblk b301 112172 mmcblk0p1 00000000-01 b302 3721550 mmcblk0p2 00000000-02 b318 128 mmcblk0rpmb (driver?) b310 1024 mmcblk0boot1 (driver?) b308 1024 mmcblk0boot0 (driver?) No filesystem could mount root, tried: nfs Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Here are my kernel arguments
ip=dhcp console=ttyS0,115200 earlyprintk root=/dev/nfs rootfstype=nfs rw nfsroot=<server_ip>:/srv/tftp/xplained/rootfs
And dmesg about nfs-moutd service
oct. 09 18:10:13 PC325 rpc.mountd: authenticated mount request from 192.168.128.158:788 for /srv/tftp/xplained/rootfs (/srv/tftp/xplained/rootfs) oct. 09 18:10:18 PC325 rpc.mountd: authenticated mount request from 192.168.128.158:704 for /srv/tftp/xplained/rootfs (/srv/tftp/xplained/rootfs) oct. 09 18:10:28 PC325 rpc.mountd: authenticated mount request from 192.168.128.158:796 for /srv/tftp/xplained/rootfs (/srv/tftp/xplained/rootfs) oct. 09 18:10:48 PC325 rpc.mountd: authenticated mount request from 192.168.128.158:762 for /srv/tftp/xplained/rootfs (/srv/tftp/xplained/rootfs)
I tried many things I found on the internet like checking firewall rules, locked ports etc... and it still don't works. The strangest thing is that I tried from a Ubuntu machine with the same packets and it worked.
I also tried from a fresh Debian install and it also worked.
I would like to understand why it's not working on my development computer. A possibly how to fix it