您的位置:首页 > 其它

tiny210 出现 nfs:server is not responding,still trying 原因与解决方案

2015-05-24 16:44 555 查看
#This line cannot be removed. by FriendlyARM(www.arm9.net)

CheckOneButton=No
Action = Install
OS =Linux

LCD-Mode = No
LCD-Type = S70

LowFormat = No
VerifyNandWrite = No
CheckCRC32=No

StatusType = Beeper | LED

################### Linux ####################
Linux-BootLoader = Superboot210.bin
Linux-Kernel = Linux/zImage
Linux-CommandLine = console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.100:/home/ZP1015/Desktop/tiny210/rootfs ip=192.168.1.125:192.168.1.100:192.168.1.100:255.255.255.0:linux.arm9.net:eth0:off skipcali=yes ctp=2
上面是tiny210 SD卡设置的启动参数
但是会出现nfs:server is not responding,still trying 错误1、原因NFS 的默认传输协议是 UDP,而PC机与嵌入式系统通过UPD交互时就会出现严重的网卡丢包现象。在目标板上通过NFS复制PC机上较大文件到目标板上的时候会遇到这种问题。 本来还以为是nfs出了故障,但是google了一下发现原来不是nfs的原因,而是由于传送的数据太大,出现数据包丢失现象。2、方案一
mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 192.168.1.100:/主机nfs目录 /挂载路径
<pre name="code" class="cpp">Linux-CommandLine = console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.100:/home/ZP1015/Desktop/tiny210/rootfs flags=intr,rsize=1024,wsize=1024,ip=192.168.1.125:192.168.1.100:192.168.1.100:255.255.255.0:linux.arm9.net:eth0:off skipcali=yes ctp=2
3、方案二
<span style="font-family: Arial; font-size: 14px; line-height: 26px;">修改etc/eth0-setting 下的IP ,将其改成自己板子的IP即可</span>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: