zoukankan      html  css  js  c++  java
  • nfs:server is not responding,still trying 原因与解决方案

    1. 开发环境:

    1. VMware 装 Redhat 6.0

    2. 开发板:UP-Magic 2410

    2. 问题:

    通过NFS挂载目录,加载驱动程序到开发板的时候,出现 “nfs: server 172.23.33.43 not responding, still trying
    2.1当时挂载命令:
    “up-tech:/#mount -t nfs -o nolock 172.23.33.43:/home/magic /mnt”

    3. 查阅信息,得出原因:

    NFS 的默认传输协议是 UDP,而PC机与嵌入式系统通过UPD交互时就会出现严重的网卡丢包现象。在目标板上通过NFS复制PC机上较大文件到目标板上的时候会遇到这种问题。

    4. 解决方法:

    1. nfs mount时候出现的NFS崩溃,按照以下的方式mount即可
    “up-tech:/ #mount -t nfs -o nolock,rsize=4096,wsize=4096 172.23.33.43:/home/magic  /mnt”
    2.  在客户端改用TCP协议,使用下面的命令(本人未测试)
    “#mount -o tcp 10.10.19.25:/home/export /mnt/local”

    5.本人当时加载驱动完整代码(4*4矩阵键盘):       

    up-tech:/ #mount -t nfs -o nolock,rsize=4096,wsize=4096 172.23.33.43:/home/magic /mnt
    up-tech:/ #cd /mnt
    up-tech:/mnt #cd push_buttons//driver/
    up-tech:/mnt/push_buttons/driver #insmod magicKeys.ko
    KEYSkeys initialized
    up-tech:/mnt/push_buttons/driver #cd ..
    up-tech:/mnt/push_buttons #cd test/
    up-tech:/mnt/push_buttons/test #ls
    Makefile          magicKeys_test    magicKeys_test.c
    up-tech:/mnt/push_buttons/test #./magicKeys_test
    S1 pressed!

  • 文章声明
  • 作者:Owen
  • 出处: http://www.cnblogs.com/owenyang
  • 本文版权归作者,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。该博客同步发在 HEXO-博客
查看全文
  • 相关阅读:
    使用jMeter测试通过SAP ID Service认证的SAP Cloud API
    在SAP C4C里使用Restful服务消费SAP S/4HANA的标准功能
    SAP S/4HANA Cross Selling机制介绍
    如何用代码读取SAP CRM的Categorization Schema
    SAP Enterprise Commerce调试环境搭建
    使用jconsole监测SAP commerce运行时
    SAP Commerce开发之如何找到某个页面对应的JSP实现页面
    KubeEdge在国家工业互联网大数据中心的架构设计与应用
    从云数据迁移服务看MySQL大表抽取模式
    CSS开发过程中的20个快速提升技巧
  • 原文地址:https://www.cnblogs.com/owenyang/p/3579080.html
  • Copyright © 2011-2022 走看看