共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网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
vscode+cmake搭建雅特力AT32L021开发环境被打赏30分 | |
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 |