用nfs挂载内核时出错 ERROR: Cannot umount的解决办法

SMDK2440 # nfs 30000000 192.168.1.106:/work/nfs_root/uImage                        
ERROR: resetting DM9000 -> not responding
dm9000 i/o: 0x20000000, id: 0x90000a46 
DM9000: running in 16 bit mode
MAC: 08:00:3e:26:0a:5b
could not establish link
Using dm9000 device
File transfer via NFS from server 192.168.1.106; our IP address is 192.168.1.17
Filename '/work/nfs_root/uImage'.
Load address: 0x30000000
Loading: T T T T ############################################################transmission timeout
#####
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################

         ##################T T *** ERROR: Cannot umount


解决办法:
在主机的/etc/hosts文件中增加一行名称解析內容:
目标板IP 根文件系统文件名
比如:我的/etc/hosts增加后变为:

127.0.0.1	localhost
127.0.1.1	ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


#增加下面这句:目标板IP, nfs共享文件夹
192.168.1.17 /work/nfs_root/


原文地址:https://www.cnblogs.com/alan666/p/8311956.html