+ -
当前位置:首页 → 问答吧 → xen的安装过程中遇到的一些问题

xen的安装过程中遇到的一些问题

时间:2010-11-10

来源:互联网

在网上了解到,xen是有两种安装方式,一种是通过二进制包来安装,另外一种是通过编译源码包来安装。
我用xen-3.4.3进行安装,按照README提供的方式
1. Install the binary distribution onto your filesystem:
    # sh ./install.sh

2. Configure your bootloader to boot Xen and an initial Linux virtual
   machine. Note that Xen currently only works with GRUB and pxelinux
   derived boot loaders: less common alternatives such as LILO are
   *not* supported. You can most likely find your GRUB menu file at
   /boot/grub/menu.lst: edit this file to include an entry like the
   following:

    title Xen 3.4 / XenLinux 2.6
       kernel /boot/xen-3.4.gz console=vga
       module /boot/vmlinuz-2.6-xen root=<root-dev> ro console=tty0
       module /boot/initrd-2.6-xen.img
/boot中也出现了一些文件,但是却没有initrd-2.6-xen.img    vmlinuz-2.6-xen 这两个文件
是不是我的内核版本太高导致的?
好像用第一种方式必须要用跟版本匹配的内核才能安装,比如说xen-3.0.2只能使用2.6.16的内核。我的内核版本是2.6.34。

作者: wtz_wh   发布时间: 2010-11-10

File "/usr/sbin/xend", line 33, in ?
    from xen.xend.server import SrvDaemon
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 17, in ?
    import xen.lowlevel.xc
ImportError: /usr/lib/python2.4/site-packages/xen/lowlevel/xc.so: undefined symbol: xc_sched_credit_domain_set
这些错误是什么缘故?是不是python的路径没有设置好?

作者: wtz_wh   发布时间: 2010-11-11