这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 基础知识 » uclinux,NFS,mount,MagicARM2000,060070507

共3条 1/1 1 跳转至

uclinux,NFS,mount,MagicARM2000,060070507150487 uclinux NFS问题:mount不能成功 MagicARM2

院士
2006-09-17 18:14:16     打赏
uclinux,NFS,mount,MagicARM2000,060070507150487 uclinux NFS问题:mount不能成功 MagicARM2000 060070507150487



关键词: uclinux     mount     MagicARM200    

院士
2006-12-22 22:43:00     打赏
2楼

    我们买了贵公司的ARM开发试验箱,现正在学习。关于linux的试验,出现了问题,希望给予答复!


pc上装的redhat9.0
关于NFS的设置是这样的:
1) PC网卡的地址是172.18.154.111
2)防火墙是关闭的
3)去掉了iptables  ip6tables ipchains
4)NFS服务设置为
/home/ARMwork            172.18.154.222(rw,sync)
/home/ARMwork            172.18.154.111(rw,sync)

5)MagicARM开发板的ip为172.18.154.222

一:
在PC上可以实现mount如下命令
[root@localhost root]# mount 172.18.154.111:/home/ARMwork /home/ARM/t
[root@localhost root]# mount
/dev/hda10 on / type ext3 (rw)
none on /proc type proc (rw)
USBdevfs on /proc/bus/USB type USBdevfs (rw)
/dev/hda8 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
/dev/hda6 on /mnt/winE type vfat (rw,noexec,nosuid,nodev,iocharset=cp936)
/dev/hda7 on /mnt/winF type vfat (rw,noexec,nosuid,nodev,iocharset=cp936)
/dev/hda5 on /mnt/winD type vfat (rw,noexec,nosuid,nodev,iocharset=cp936)
/dev/hda1 on /mnt/winC type vfat (rw,noexec,nosuid,nodev,iocharset=cp936)
172.18.154.111:/home/ARMwork on /home/ARM/t type nfs (rw,addr=172.18.154.111)
二:
在pc上用交叉线可以ping到开发板
[root@localhost root]# ping 172.18.154.222
PING 172.18.154.222 (172.18.154.222) 56(84) bytes of data.
64 bytes from 172.18.154.222: icmp_seq=1 ttl=255 time=0.492 ms
64 bytes from 172.18.154.222: icmp_seq=2 ttl=255 time=0.458 ms
64 bytes from 172.18.154.222: icmp_seq=3 ttl=255 time=0.405 ms
64 bytes from 172.18.154.222: icmp_seq=4 ttl=255 time=0.444 ms
64 bytes from 172.18.154.222: icmp_seq=5 ttl=255 time=0.427 ms

--- 172.18.154.222 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3996ms
rtt min/avg/max/mdev = 0.405/0.445/0.492/0.032 ms
You have new mail in /var/spool/mail/root
[root@localhost root]#
在开发板上可以平到PC机
[root@localhost root]# ping 172.18.154.111
PING 172.18.154.111 (172.18.154.111) 56(84) bytes of data.
64 bytes from 172.18.154.111: icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from 172.18.154.111: icmp_seq=2 ttl=64 time=0.024 ms
64 bytes from 172.18.154.111: icmp_seq=3 ttl=64 time=0.026 ms
64 bytes from 172.18.154.111: icmp_seq=4 ttl=64 time=0.026 ms
64 bytes from 172.18.154.111: icmp_seq=5 ttl=64 time=0.028 ms

--- 172.18.154.111 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4016ms
rtt min/avg/max/mdev = 0.024/0.027/0.034/0.006 ms

三 : 在开发板上mount pc机上的文件一直不成功,请问是什么原因??????(用交叉线直连)
/usr> portmap&
[27]
/usr> mount -t nfs 172.18.154.111:/home/ARMwork /mnt -o nolock
mount: RPC: Timed out
mount: nfsmount failed: Bad file descriptor
NFS: mount program didn't pass remote address!
mount: Mounting 172.18.154.111:/home/ARMwork on /mnt failed: Invalid argument
pid 28: failed 256

请问这是什原因,????
希望能给于解决!!

                                                                                       1: MaigcARM问题,请到隔壁的Philips ARM论坛提问.

高工
2022-08-03 22:20:37     打赏
3楼

感谢分享


共3条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]