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-博客
查看全文
  • 相关阅读:
    What Solutions Does the Resource Manager Provide for Workload Management?
    Oracle Managed Files,OMF
    Client Result Cache
    Performing a Quick Tune
    [转]Oracle DB 通过SQL 优化管理性能
    [转]闪回数据归档
    Building SQL Test Cases
    性能测试
    python--递归函数、匿名函数、嵌套函数、高阶函数、装饰器、生成器、迭代器
    python--可变长参数(*args、**kwargs)、返回值(return)
  • 原文地址:https://www.cnblogs.com/owenyang/p/3579080.html
  • Copyright © 2011-2022 走看看