Tim Burgess wrote:
@Fabio, xen kernels are not provided as part of the normal ClearOS build - I alos have no experience in this area. To build your own you'll need the src.rpm, and to follow the instructions here
wiki.centos.org/HowTos/Custom_Kernel
Clearos build have 2.6.18 kernel xen package (upstream + old xen patch), 2.6.32 have full xen domU support integrated in upstream, not need patch add but only config add, i have try your kernel 2.6.32 but not have domU support active, i try to rebuild with only this change on config, should function as the kernel of debian and derivatives that are already standard with active support domU, this config change is based on linux-image-2.6.32-5-686-bigmem_2.6.32-31_i386.deb from Squeeze:
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=32
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
CONFIG_SYS_HYPERVISOR=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_DRIVER=y
CONFIG_HVC_IRQ=y
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=m
CONFIG_XENFS=m
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
i not found kernel in src in your repository, i take kernel-PAE-devel-2.6.32.26-175.timb1.i686.rpm, unzipped, do change on .config, installed some necessary package (yum install gcc gcc-c++ kernel-devel rpm-build) and try to build with command of your first post (rpmbuild -ba --target=`uname -i` --with baseonly --without debuginfo kernel.spec 2>builderr.log | tee buildout.log) but kernel.spec is missed, where i can found it please?