最近在博创的开发板上挂载nfs系统时,老是挂不上:请大家帮帮忙。查了资料,可是仍然没有解决。弄了很长时间了,请大家帮帮忙。
开发板: 博创s3c2410-s arm9
电脑系统: fedora
设置了电脑上的ip: 192.168.0.121 ,关闭了防火墙!开启了nfs服务,共享目录为:/ykenfs
开发板上的ip: 192.168.0.115,
用ping命令能互相ping开发板和pc机。但是就是挂载不上,
当在未连接开发板时,系统也mount不上自己:
用了:mount 192.168.0.121:/ykenfs /mnt
昨天能够在pc上自己mount上自己,可是在连接上开发板之后,pc也不能mount上自己了,从开发板里边的linux系统也不能挂载上这个nfs,下面是从开发板上出的错误信息,请大家帮帮忙!呵呵,非常感谢!
[/mnt/yaffs/irda]mount -t nfs -o nolock 192.168.0.121:/arm2410s /host
mount: RPC: Timed out
mount: nfnmount failed: Bfd file descriptor
s warning: mount version newer than kernel
NFS: mount program didn't pass remote address!
mount: Mounting 192.168.0.121:/arm2410s on /host failed: Invalid argument
[/mnt/yaffs/irda]ping -c 3 192.168.0.121
PING 192.168.0.121 (192.168.0.121): 56 data bytes
64 bytes from 192.168.0.121: icmp_seq=0 ttl=64 time=0.6 ms
64 bytes from 192.168.0.121: icmp_seq=1 ttl=64 time=0.4 ms
64 bytes from 192.168.0.121: icmp_seq=2 ttl=64 time=0.4 ms
--- 192.168.0.121 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.4/0.4/0.6 ms
开发板上的系统运行:ifconfig后的显示结果为:
[/mnt/yaffs]ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:CF:00:00:02
inet addr:192.168.0.115 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:2 Base address:0x200
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
阅读(1964) | 评论(0) | 转发(0) |