Hi,

Check the NFS server log file (/var/log/messages) to find out what is going on. This should have an entry each time the mount request is seen by the server - it should say something like 'Authenticated mount request for.....'. If it fails to authenticate it should give a reason..

Failing that can you try swapping network cables just in case you have a faulty one. The error (-5) is EIO which you could take to indicate a problem in the data transfer - although you may get the same error if the NFS server denies the mount request (from the NFS client's point of view).

Can you also check that the NFS server has no firewall. A quick 'iptables -L'

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

The above is the output on my machine - there are no rules.

Also make sure that the NFS server itself is not shifting IP addresses via DHCP. It is 'tradition' to make servers have static IP addresses, either by setting them as a static on the server itself or getting the DHCP server to issue a static address (based on the server MAC address).

Finally check permissions on /home/**** (the target root file system should all be owned by root except for files under rootfs/home). Also confirm that /etc/exports has 'no_root_squash' for the export. This will allow any files written by the target as root to maintain the permissions on the NFS server (rather than being written as 'nobody' or whatever).

Regards

Phil Q

peng zhu wrote:

Hi. I am a user of DM6467 EVM.
When booting the board, I make the board mount the nfs system in one Linux host PC. Sometimes it succeeds, but sometimes it fails. The error msg is like this: mount: server ******** not responding, timed out
Root-NFS: Server returned error -5 while mounting /home/*******
*********************
Could you tell me what's the problem and how to solve it? Thank you very much. Best regards,
Peng


------------------------------------------------------------------------
好玩贺卡等你发,邮箱贺卡全新上线! <http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/>

------------------------------------------------------------------------

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to