用nfs掛載核心時出錯 ERROR: Cannot umount的解決辦法
阿新 • • 發佈:2019-01-05
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
#####
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
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/