打印
[ZLG-ARM]

关于magicARM2410的一个问题

[复制链接]
1209|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
sunyuanzhi|  楼主 | 2008-8-28 09:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我在使用magicARM2410构建LINUX 开发环境上遇到一个问题:

基本设置:WINDOWS IP:192.168.15.40
          LINUX   IP:192.168.15.41
NFS服务器配置为:目录:/zylinux/**   主机:192.168.*.*   权限:读/写

这是本人在linux下启动nfs的过程:

[root@localhost cat1025]# service portmap start
启动 portmapper:                                          [  确定  ]
[root@localhost cat1025]# service nfs start
启动 NFS 服务:                                            [  确定  ]
Starting NFS quotas:                                       [  确定  ]
启动 NFS 守护进程:                                        [  确定  ]
启动 NFS mountd:                                          [  确定  ]
[root@localhost cat1025]#

在linux上执行# mount -t nfs 192.168.15.41:/zylinux/**/i2c /mnt 可以发现mnt下面是i2c的内容,nfs应该是成功的。

连接开发板,启动linux进入终端,
linux与windows主机能够互相ping的通。
开发板ping linux可以通,但是开始ping windows不通,但在更改开发板IP为192.168.15.15后可以PING通WINDOWS。
LINUX,WINDOWS都可以PING通开发板。也就是说所有的都可以PING通。

以下是在开发板终端输入的命令和结果:

[root@zylinux /usr]# ifconfig eth0 192.168.15.15    //更改开发板的IP为192.168.15.15
[root@zylinux /usr]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:97:0F:00:00
          inet addr:192.168.15.15  Bcast:192.168.15.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  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 iB)  TX bytes:0 (0.0 iB)
                                                                                       
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:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4872 (4.7 kiB)  TX bytes:4872 (4.7 kiB)

[root@zylinux /usr]# mount -t nfs 192.168.15.41:/zylinux/** /mnt - o nolock
lockd_up: no pid, 3 users??
portmap: server localhost not responding, timed out
portmap: server localhost not responding, timed out
portmap: server localhost not responding, timed out
[root@zylinux /usr]#

更改目录,再试一次:
[root@zylinux /]# mount -t nfs 192.168.15.41:/zylinux/** /mnt - o nolock
lockd_up: no pid, 4 users??
portmap: server localhost not responding, timed out
portmap: server localhost not responding, timed out
portmap: server localhost not responding, timed out
[root@zylinux /]#
           
不知是什么情况,上次都是好好的,这次的NFS就不行了。。。。。

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

1

帖子

0

粉丝