[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] xen compilation is giving errors
On Wed, Feb 16, 2011 at 8:20 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote: >> make install-stubdom >> > Ok upto here things worked very well but > I installed apt-get build-dep xen-3.3 > as this archive msg says > http://www.gossamer-threads.com/lists/xen/users/185290 > >> and then compile dom0 kernel following >> http://wiki.xensource.com/xenwiki/XenParavirtOps. > I want to know if I can get a default .config file to compile a dom0 > kernel for 32 bit and 64 bit > or I use the .config of my host OS (which right now does not have Xen) in > /boot Depends on what you need. For example, for my RHEL5 test box I use Oracle's kernel-uek (2.6.32) as a base and add these xen-specific options: CONFIG_XEN=y CONFIG_XEN_PVHVM=y CONFIG_XEN_MAX_DOMAIN_MEMORY=128 CONFIG_XEN_SAVE_RESTORE=y CONFIG_XEN_DEBUG_FS=y CONFIG_SWIOTLB_XEN=y CONFIG_MICROCODE_XEN=y CONFIG_XEN_DOM0=y CONFIG_XEN_PRIVILEGED_GUEST=y CONFIG_XEN_DOM0_PCI=y CONFIG_XEN_PCI_PASSTHROUGH=y CONFIG_PCI_XEN=y CONFIG_XEN_PCIDEV_FRONTEND=y CONFIG_XEN_BLKDEV_FRONTEND=y CONFIG_NETXEN_NIC=m CONFIG_XEN_NETDEV_FRONTEND=m CONFIG_XEN_KBDDEV_FRONTEND=y CONFIG_HVC_XEN=y CONFIG_XEN_FBDEV_FRONTEND=y CONFIG_XEN_BALLOON=y CONFIG_XEN_SCRUB_PAGES=y CONFIG_XEN_DEV_EVTCHN=y CONFIG_XEN_BACKEND=y CONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=m CONFIG_XEN_BLKDEV_TAP=m CONFIG_XEN_BLKBACK_PAGEMAP=m CONFIG_XEN_PCIDEV_BACKEND=m CONFIG_XEN_PCIDEV_BACKEND_VPCI=y CONFIG_XENFS=y CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_MCE=y CONFIG_XEN_XENBUS_FRONTEND=y CONFIG_XEN_GNTDEV=y CONFIG_XEN_S3=y CONFIG_ACPI_PROCESSOR_XEN=y CONFIG_XEN_PLATFORM_PCI=m Not all of them need to be set manually, the above was just a snippet of my .config which contains "XEN". When customizing the kernel config I use "make menuconfig", and search where a particular config option would be (using "/"). Since you use Ubuntu, you might want to start with the default ubuntu kernel config (/boot/config*) then adjust as necessary. >> you have to use an awk version which defines "gensub" as mentioned in >> the error messages. > I am not very good when such error messages > come but by what Fajar said I was able to proceed. If you still get similar error, try "apt-get install gawk" >> >> Which distribution do you use for compiling ? > I am using Ubuntu 9.04 32 bit desktop edition Thats quite old, and not supported anymore (see https://wiki.ubuntu.com/LTS) If you have time, I suggest you try newer version. Personally, I'm sticking with these combination for my test server: - RHEL5.6 - Gitco's Xen 4.0.1 rpm - pv_ops kernel from JF's xen/stable-2.6.32.x - native zfs (https://github.com/zfs-linux) plus a patch from https://github.com/behlendorf/zfs/issues/#issue/97 RHEL6 should be good as well, but I haven't got time to play with it. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |