共3条
1/1 1 跳转至页
uclinux,NFS,mount,MagicARM2000,060070507150487 uclinux NFS问题:mount不能成功 MagicARM2

问
我们买了贵公司的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论坛提问.
我们买了贵公司的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论坛提问.
共3条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【EEPW电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【我踩过的那些坑】STM32的硬件通讯调试过程的“坑”被打赏50分 | |
【我踩过的那些坑】晶振使用的问题被打赏100分 | |
【我踩过的那些坑】电感选型错误导致的处理器连接不上被打赏50分 | |
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏10分 | |
【我踩过的那些坑】DRC使用位置错误导致的问题被打赏100分 | |
我踩过的那些坑之混合OTL功放与落地音箱被打赏50分 | |
汽车电子中巡航控制系统的使用被打赏10分 | |
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏100分 | |
分享汽车电子中巡航控制系统知识被打赏10分 | |
分享安全气囊系统的检修注意事项被打赏10分 |