XEN 4.1.0 pvops Setup and startup problems encountered

Source: Internet
Author: User

Some time ago due to some special requirements, you need to install Xen using the 2.6.39 version of the Linux kernel, and have some problems to summarize.


The first step to download the kernel, www.kernel.org, I was using the rc-3 version of the kernel. Unzip, OK.


Second step configuration kernel, enter the extracted kernel directory, make menuconfig into the configuration interface, specific configuration reference


Http://wiki.xensource.com/xenwiki/XenParavirtOps


The third step is to compile the kernel, modify grub, and restart.


Okay, now we're starting with the 2.6.39 kernel.


But at this time can not start xend, very confusing. So check log.


/var/log/xen/xend-debug.log:


Cat:/sys/bus/scsi/devices/host0/vendor:no such file or directory

Cat:/sys/bus/scsi/devices/host0/model:no such file or directory

Cat:/sys/bus/scsi/devices/host0/type:no such file or directory

Cat:/sys/bus/scsi/devices/host0/rev:no such file or directory

Cat:/sys/bus/scsi/devices/host0/scsi_level:no such file or directory

Cat:/sys/bus/scsi/devices/host1/vendor:no such file or directory

Cat:/sys/bus/scsi/devices/host1/model:no such file or directory

Cat:/sys/bus/scsi/devices/host1/type:no such file or directory

Cat:/sys/bus/scsi/devices/host1/rev:no such file or directory

Cat:/sys/bus/scsi/devices/host1/scsi_level:no such file or directory

Cat:/sys/bus/scsi/devices/host2/vendor:no such file or directory

Cat:/sys/bus/scsi/devices/host2/model:no such file or directory

Cat:/sys/bus/scsi/devices/host2/type:no such file or directory

Cat:/sys/bus/scsi/devices/host2/rev:no such file or directory

Cat:/sys/bus/scsi/devices/host2/scsi_level:no such file or directory

Cat:/sys/bus/scsi/devices/host3/vendor:no such file or directory

Cat:/sys/bus/scsi/devices/host3/model:no such file or directory

Cat:/sys/bus/scsi/devices/host3/type:no such file or directory

Cat:/sys/bus/scsi/devices/host3/rev:no such file or directory

Cat:/sys/bus/scsi/devices/host3/scsi_level:no such file or directory

Cat:/sys/bus/scsi/devices/host4/vendor:no such file or directory

Cat:/sys/bus/scsi/devices/host4/model:no such file or directory

Cat:/sys/bus/scsi/devices/host4/type:no such file or directory

Cat:/sys/bus/scsi/devices/host4/rev:no such file or directory

Cat:/sys/bus/scsi/devices/host4/scsi_level:no such file or directory

Cat:/sys/bus/scsi/devices/host5/vendor:no such file or directory

Cat:/sys/bus/scsi/devices/host5/model:no such file or directory

Cat:/sys/bus/scsi/devices/host5/type:no such file or directory

Cat:/sys/bus/scsi/devices/host5/rev:no such file or directory

Cat:/sys/bus/scsi/devices/host5/scsi_level:no such file or directory

Cat:/sys/bus/scsi/devices/target2:0:0/vendor:no such file or directory

Cat:/sys/bus/scsi/devices/target2:0:0/model:no such file or directory

Cat:/sys/bus/scsi/devices/target2:0:0/type:no such file or directory

Cat:/sys/bus/scsi/devices/target2:0:0/rev:no such file or directory

Cat:/sys/bus/scsi/devices/target2:0:0/scsi_level:no such file or directory

Cat:/sys/bus/scsi/devices/target3:0:0/vendor:no such file or directory

Cat:/sys/bus/scsi/devices/target3:0:0/model:no such file or directory

Cat:/sys/bus/scsi/devices/target3:0:0/type:no such file or directory

Cat:/sys/bus/scsi/devices/target3:0:0/rev:no such file or directory

Cat:/sys/bus/scsi/devices/target3:0:0/scsi_level:no such file or directory

Search, you need to initialize the xend before starting the xencommons.


/etc/init.d/xencommons start

And then there was a mistake:


Starting xenstored ... fatal:failed to open Evtchn device:no such file or directory

...........

Could not start xenstored.

You have to manually load the Evtchn module first


Modprobe Xen-evtchn

Run Xencommons again, success.


Start Xend, success.


P.S. This step of loading the module is not necessarily the only evtchn. For example, to use Grant table, you also need to load xen-gntalloc. Wait a minute.


If it still fails to start, turn off SELinux;



This article from "Nicol Lock Silk Sorrow" blog, please make sure to keep this source http://smoke520.blog.51cto.com/9256117/1834151

XEN 4.1.0 pvops Setup and startup problems encountered

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.