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

来源:互联网 发布:java nio网络编程 编辑:程序博客网 时间:2024/05/01 03:12
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.1localhost127.0.1.1ubuntu# The following lines are desirable for IPv6 capable hosts::1     ip6-localhost ip6-loopbackfe00::0 ip6-localnetff00::0 ip6-mcastprefixff02::1 ip6-allnodesff02::2 ip6-allrouters#增加下面这句:目标板IP, nfs共享文件夹192.168.1.17 /work/nfs_root/


0 0
原创粉丝点击