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