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

来源:互联网 发布:php json decode 编辑:程序博客网 时间:2024/04/28 01:30

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

15年7月23日10:27:32


u-boot挂载内核的时候,出现:

*************************我是分割线@_@*****************************


SMDK2410 # nfs 32000000 192.168.1.131:/work/nfs_root/uImage_new

ERROR: resetting DM9000 -> not responding

dm9000 i/o: 0x20000000, id: 0x90000a46

DM9000: running in 16 bit mode

MAC: 00:0c:29:4d:e4:f4

could not establish link

Using dm9000 device

File transfer via NFS from server 192.168.1.131; our IP address is 192.168.1.17

Filename '/work/nfs_root/uImage_new'.

Load address: 0x32000000

Loading: #################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

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

*************************我是分割线@_@*****************************


解决办法是:修改主机的/etc/hosts文件:

在里面添加开发板ipnfs要挂载的目录,比如我的开发板ip192.168.1.17nfs目录为/work/nfs_root/,就在里面添加这一行如下所示:

1 127.0.0.1 localhost

2 127.0.1.1 ybx-Inspiron

192.168.1.17 /work/nfs_root/

4 # The following lines are desirable for IPv6 capable hosts

5 ::1 ip6-localhost ip6-loopback

6 fe00::0 ip6-localnet

7 ff00::0 ip6-mcastprefix

8 ff02::1 ip6-allnodes

9 ff02::2 ip6-allrouters


添加这一行即可解决这个问题。

0 0
原创粉丝点击