zoukankan      html  css  js  c++  java
  • nfs挂在内核出错 T T *** ERROR: Cannot umount

    今天在U-boot挂载nfs内核是出现如下错误,网上查了解决方案。

    SOCFPGA_CYCLONE5 # nfs 20000 192.168.0.75:/work/nfs_root/uImage
    Waiting for PHY auto negotiation to complete. done
    ENET Speed is 100 Mbps - FULL duplex connection
    Using mii0 device
    File transfer via NFS from server 192.168.0.75; our IP address is 192.168.0.17
    Filename '/work/nfs_root/uImage'.
    Load address: 0x20000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #########################################T T *** ERROR: Cannot umount
    SOCFPGA_CYCLONE5 #

    解决办法:

    在用UBOOT的NFS命令下载文件的时候出现
    ** ERROR: Cannot umount ”

    则要在主机的/etc/hosts文件中加入

    你的开发板ip     nfs目录(我的nfs目录是/work/nfs_root)。
    比如:
    192.168.0.17  /work/nfs_root/

     添加后如下:

    127.0.0.1 localhost
    127.0.1.1 book

    192.168.0.17 /work/nfs_root/
    # 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

  • 相关阅读:
    Cache Miss
    EmmyLua 注解标记总结
    关于浮点数计算时的精度问题 0.1+0.2不等于0.3
    Git-原理相关归纳-非入门
    读《非暴力沟通》
    Unity-图片压缩格式
    Git-大小写的坑
    将当前系统中的进程信息打印到文件中
    g++用法
    C++文本文件读写操作
  • 原文地址:https://www.cnblogs.com/mouou/p/3824003.html
Copyright © 2011-2022 走看看