我的dom0是Gentoo 3.3.2,内核是用Xen支持编译的。我计划使用相同的内核来引导我的domU。
这是我的domU配置文件:
1 vif = [ 'bridge=xenbr0' ]
2 vcpus = 1
3 uuid = "c1d751ba-e228-45e6-b7a8-01895e88a815"
4 root = "/dev/xvda ro"
5 name = "Gentoo"
6 memory = 512
7 kernel = "/boot/kernel-3.3.2-gentoo"
8 extra = "4 console=hvc0"
9 disk = [ 'phy:/dev/vg/gentoo,xvda,w' ]/dev/vg/gentoo是个LV。在运行xl create -c gentoo.cfg之后,来宾开始并停止使用以下错误(仅最后几行):
[ 0.122019] netconsole: network logging started
[ 0.122180] Root-NFS: no NFS server address
[ 0.122186] VFS: Unable to mount root fs via NFS, trying floppy.
[ 0.122280] VFS: Cannot open root device "xvda" or unknown-block(2,0)
[ 0.123056] Please append a correct "root=" boot option; here are the available partitions:
[ 0.123056] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)发布于 2012-04-30 05:07:07
我已经有一段时间没有使用Xen了,但是当您说您已经用xen支持编译了内核时,您有xenblk驱动程序/模块吗?我认为这有点像CONFIG_XEN_BLKDEV_FRONTEND在你的.config。您是否尝试过其他xen配置来查看它们是否有效?例如,使用tap:aio接口?
https://unix.stackexchange.com/questions/37528
复制相似问题