当前位置: 技术问答>linux和unix
NFS rootfs 启动失败, 求救!
来源: 互联网 发布时间:2016-10-30
本文导语: input: AT Raw Set 2 keyboard as /class/input/input0 input: ImExPS/2 Generic Explorer Mouse as /class/input/input1 eth0: link up IP-Config: Complete: device=eth0, addr=10.0.0.2, mask=255.255.255.0, gw=10.0.0.1, host=www, domain=, nis-domain=cske...
input: AT Raw Set 2 keyboard as /class/input/input0
input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
eth0: link up
IP-Config: Complete:
device=eth0, addr=10.0.0.2, mask=255.255.255.0, gw=10.0.0.1,
host=www, domain=, nis-domain=cskemeng.com,
bootserver=10.0.0.1, rootserver=10.0.0.1, rootpath=
Looking up port of RPC 100003/2 on 10.0.0.1
rpcbind: server 10.0.0.1 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 10.0.0.1
rpcbind: server 10.0.0.1 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /opt/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
这里是出错信息, 网卡已经启动起来了。 在panic 以后 HOST主机 还是能PING通目标板。
HOST: Linux 2.6.34 fc13
在本机 我可以正常 mount -t nfs 10.0.0.1:/opt/rootfs /mnt
kenrel panic 我尝试了 也是可以正常mount
在eth0 up 以后 我可以PING 通 10.0.0.2 的目标板 !
请问大家 这是什么问题啊!
input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
eth0: link up
IP-Config: Complete:
device=eth0, addr=10.0.0.2, mask=255.255.255.0, gw=10.0.0.1,
host=www, domain=, nis-domain=cskemeng.com,
bootserver=10.0.0.1, rootserver=10.0.0.1, rootpath=
Looking up port of RPC 100003/2 on 10.0.0.1
rpcbind: server 10.0.0.1 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 10.0.0.1
rpcbind: server 10.0.0.1 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /opt/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
这里是出错信息, 网卡已经启动起来了。 在panic 以后 HOST主机 还是能PING通目标板。
HOST: Linux 2.6.34 fc13
在本机 我可以正常 mount -t nfs 10.0.0.1:/opt/rootfs /mnt
kenrel panic 我尝试了 也是可以正常mount
在eth0 up 以后 我可以PING 通 10.0.0.2 的目标板 !
请问大家 这是什么问题啊!
|
Root-NFS: Unable to get nfsd port number from server, using default
是不是有端口号被占用?因为是服务器端连接不上。网络没有问题的话 就看你的nfs配置是否正确了
是不是有端口号被占用?因为是服务器端连接不上。网络没有问题的话 就看你的nfs配置是否正确了
|
我建议,先从Flash上启动,然后在单板命令行里mount nfs,先看是否成功