使用从NFS文件系统启动时,目标板无法从主机连接启动

zmslf 2011-01-25 02:28:25
大家好!
我在建立NFS平台是,目标板出现了如下问题,请各位大虾帮忙!

Looking up port of RPC 100003/2 on 192.168.0.211
rpcbind: server 192.168.0.211 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default


主机是在VMware上装的fedora core 3
/etc/exports 文件内容为
/home/target/root 192.168.0.211(rw,no_root_squash)

在host Linux
#service portmap status
#service nfs status
均在运行中

在host测试
#mount -t nfs 192.168.0.211:/home/target/root /mnt
#ls /mnt
可以看到..../root目录下的文件

小弟请各位大虾帮忙,急!
...全文
1289 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
Kyph 2011-03-03
  • 打赏
  • 举报
回复
你的内核信息已经告诉你了,eth0失败
mamamiya 2011-03-03
  • 打赏
  • 举报
回复
先试试能不能在bootloader中ping通主机
jihen 2011-03-01
  • 打赏
  • 举报
回复
你的vmware要设置成桥接模式才行
zmslf 2011-01-27
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 louyong0571 的回复:]
能ping通不?
[/Quote]

开发板内核启动中报错如下:
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
IP-Config: Failed to open eth0
IP-Config: Device `eth0' not found.
Looking up port of RPC 100003/2 on 192.168.0.211
rpcbind: server 192.168.0.211 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.0.211
rpcbind: server 192.168.0.211 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 192.168.0.211 not responding, timed out

我判断是内核没有启动网络设备,但网络设备是正常的,又怀疑是内核配置原因,但不知是什么地方,请各位大虾帮忙!

具体配置如下:
Linux内核:linux2.6.24
补丁:2.6.24-at91.patch.gz
2.6.24-at91-exp.patch.gz
补丁来自atmel官方网站:http://www.at91.com/linux4sam/bin/view/Linux4SAM/LinuxKernel

一、使用cramfs文件系统,系统正常启动,网络正常,可以ping通host

内核配置: make at91sam9260ek_defconfig

二、使用nfs文件系统,无法从nfs服务器启动,经网络抓包工具查探,开发板无任何数据从网络口发出

内核配置:在at91sam9260ek_defconfig的基础上再加上以下配置
1. 选中 Networking --->
Networking options --->
  • IP: kernel level autoconfiguration
  • IP: DHCP support
  • IP: BOOTP support
  • IP: RARP support
    2. Device Drivers --->
    Block devices --->
    <*> Network block device support
    3. 选中 Device Drivers --->
    Ethernet
  • (10 or 100Mbit) --->
    <*> Atmel MACB support
    4. 选中 File systems --->
    Network File Systems --->
    <*> NFS file system support
  • Provide NFSv3 client support
  • Provide client support for the NFSv3 ACL protocol extension
  • Provide NFSv4 client support
  • (EXPERIMENTAL)
  • Root file system on NFS
zmslf 2011-01-27
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 leeyiqun 的回复:]
目标板的linux内核需要支持 nfs 启动的配置,可以看看百度上的一篇转帖:
http://apps.hi.baidu.com/share/detail/5656004
[/Quote]

开发板内核启动中报错如下:
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
IP-Config: Failed to open eth0
IP-Config: Device `eth0' not found.
Looking up port of RPC 100003/2 on 192.168.0.211
rpcbind: server 192.168.0.211 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.0.211
rpcbind: server 192.168.0.211 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 192.168.0.211 not responding, timed out

我判断是内核没有启动网络设备,但网络设备是正常的,又怀疑是内核配置原因,但不知是什么地方,请各位大虾帮忙!

具体配置如下:
Linux内核:linux2.6.24
补丁:2.6.24-at91.patch.gz
2.6.24-at91-exp.patch.gz
补丁来自atmel官方网站:http://www.at91.com/linux4sam/bin/view/Linux4SAM/LinuxKernel

一、使用cramfs文件系统,系统正常启动,网络正常,可以ping通host

内核配置: make at91sam9260ek_defconfig

二、使用nfs文件系统,无法从nfs服务器启动,经网络抓包工具查探,开发板无任何数据从网络口发出

内核配置:在at91sam9260ek_defconfig的基础上再加上以下配置
1. 选中 Networking --->
Networking options --->
  • IP: kernel level autoconfiguration
  • IP: DHCP support
  • IP: BOOTP support
  • IP: RARP support
    2. Device Drivers --->
    Block devices --->
    <*> Network block device support
    3. 选中 Device Drivers --->
    Ethernet
  • (10 or 100Mbit) --->
    <*> Atmel MACB support
    4. 选中 File systems --->
    Network File Systems --->
    <*> NFS file system support
  • Provide NFSv3 client support
  • Provide client support for the NFSv3 ACL protocol extension
  • Provide NFSv4 client support
  • (EXPERIMENTAL)
  • Root file system on NFS
louyong0571 2011-01-26
  • 打赏
  • 举报
回复
能ping通不?
leeyiqun 2011-01-25
  • 打赏
  • 举报
回复
目标板的linux内核需要支持 nfs 启动的配置,可以看看百度上的一篇转帖:
http://apps.hi.baidu.com/share/detail/5656004

4,465

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧