see the picture for what I see, this is fresh rpi2 install of alpha4. network is set to dhcp with ip reservation for the nfs share.
my nfs exports settings:
/var/hda/files/nfs-shares/osmc x.x.x.x(rw,async,no_root_squash,no_all_squash,insecure,no_subtree_check)
ìdentical to what I use on my RPI-B which works fine on NFS install…
tried making the changes you suggested, but it still kernel panics…
nfs server is Fedora 19
log on server says:
Feb 19 01:04:02 amahi rpc.mountd[1504]: authenticated mount request from 192.168.1.20:702 for /var/hda/files/nfs-shares/osmc (/var/hda/files/nfs-shares/osmc)
Feb 19 01:04:07 amahi rpc.mountd[1504]: authenticated mount request from 192.168.1.20:952 for /var/hda/files/nfs-shares/osmc (/var/hda/files/nfs-shares/osmc)
Feb 19 01:04:17 amahi rpc.mountd[1504]: authenticated mount request from 192.168.1.20:821 for /var/hda/files/nfs-shares/osmc (/var/hda/files/nfs-shares/osmc)
and my regular Pi works fine, it’s just when I try to use osmc on my regular Pi or Pi2 it fails…
I have also tries numerous sd cards, kernal panic every time with my pi2.
It always occours efter reboot, not at the same time. Sometimes I have been able to update it all through and the kernal panic came after entering licence reboot.
Have you restarted your NFS server since changing exports ?
Do you have correct permissions on the nfs exported directory ? You should chmod a+rwx the directory which the export is sharing. Do you disable certain NFS versions on your NFS server ?
Almost certainly this problem is going to be file permissions, export settings or other configuration options of the NFS server.
weird thing is, raspbmc works perfectly on nfs share with exact same settings, never disabled anything on nfs-server, file permissions are the same on both shares, they’re in the same subfolder with same owner/group.
of course I restarted nfs server before testing and I also tried the permission change you suggested…
this is driving me nuts, will try a clean install.
You have to realise that OSMC uses a completely different kernel than raspbmc - 3.18 vs 3.12 and there are a lot of differences between these kernels. Default nfs root mount options may be different and thus incompatible with your current NFS server configuration, but rest assured NFS is working for all the devs who have tested NFS installs.
It may take a little bit of investigation to figure out what the issue is at the server side - I would start by verifying which NFS versions your server is configured to support because it’s possible osmc is trying to use a different nfs protocol version.
Resolv.conf will be rewritten on each boot so your fix will be short lived however if you run an OSMC update the name server bug is already fixed in the most recent updates.