想问为何无法用NFS mount rootfs?
eth0: link up
IP-Config: Complete:
device=eth0, addr=192.168.0.104, mask=255.255.255.0, gw=192.168.0.102,
host=maxwit, domain=, nis-domain=googlecode.com,
bootserver=192.168.0.102, rootserver=192.168.0.102, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.102
rpcbind: server 192.168.0.102 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.102
rpcbind: server 192.168.0.102 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
主要错误讯息如上
想问为何无法用NFS mount rootfs
我主机是eth1 ,ip=192.168.0.102
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
把cmdline发来看看,你有没有把rootfs目录设置为nfs共享目录?
我无言了!本来以为是ubuntu NFS有问题 特别换了两台电脑 还是不行,错误都一样
主要错误讯息
...
input: AT Raw Set 2 keyboard as /devices/fpga:06/serio0/input/input0
input: ImExPS/2 Generic Explorer Mouse as /devices/fpga:07/serio1/input/input1
eth0: link up
IP-Config: Complete:
device=eth0, addr=192.168.0.104, mask=255.255.255.0, gw=192.168.0.102,
host=maxwit, domain=, nis-domain=googlecode.com,
bootserver=192.168.0.102, rootserver=192.168.0.102, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.102
rpcbind: server 192.168.0.102 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.102
....
1)
/etc/exports
/home/mit/maxwit/rootfs 192.168.0.*(rw,async,no_root_squash,no_subtree_check)
2)
~/maxwit-read-only/application/build
RunQemu()
{
QEMU_CONSOLE=0
QEMU_MACH="realview"
QEMU_HOST_IP="192.168.0.102"
QEMU_MACH_IP="192.168.0.104"
echo '#!/bin/sh' > /etc/qemu-ifup
echo "/sbin/ifconfig eth0 ${QEMU_HOST_IP}" >> /etc/qemu-ifup
chmod a+x /etc/qemu-ifup
echo '#!/bin/sh' > /etc/qemu-ifdown
echo "/sbin/ifconfig eth0 down" >> /etc/qemu-ifdown
chmod a+x /etc/qemu-ifdown
if [ x"${QEMU_CONSOLE}" != x"1" ]; then
EXTRA_QEMU_OPT="-serial stdio"
EXTRA_COMMAND_LINE="console=ttyAMA0" # fixme
fi
qemu-system-${TARGET_ARCH} -M ${QEMU_MACH} -kernel ${IMAGES_PATH}/zImage.${QEMU_MACH} -
}
3)rootfs 位置
/home/mit/maxwit/rootfs
编译过程中都没问题,kernel,g-bios,rootfs都有做出来
然后直接选第13个选项Testing on QEMU
搞了好机天 失败
有人说kenel选项没开 不可能阿 我是用maxwit编的 config没改过
难道是编g-bios时的Build Bootloader (g-bios)没选对吗??我是选2440
错误跟这几篇很像
http://www.gossamer-threads.com/lists/linux/kernel/1134090
这篇好像有点感觉,要修改nfs code
http://blog.chinaunix.net/u1/34474/showart.php?id=2067860
http://cluster.aleph1.co.uk/~martin/qemu.html
http://kldp.org/files/kernel_log.txt
帮我看看吧 感谢!!
[ 本帖最后由 wayling 于 2010-1-15 21:08 编辑 ]
成功了 !!污帮土 8.04,8.10都没问题
之前原来是设定有问题 我确定 污帮土 没BUG
[ 本帖最后由 wayling 于 2010-1-24 20:25 编辑 ]
我也遇到同样的问题, 楼主是怎样解决的?