[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Kernel and Xen

On 3 Mar 2006, at 10:24, Michael Paesold wrote:
Repositories are listed here:
(www.xensource.com -> Xen Community -> Downloads -> Mercurial Repository)

xen-3.0-testing.hg is the "stable" tree, from which 3.0.1 was release. It includes 3.0.1 + a few bug-fix patches. This is linux, with xen still as complete arch -- i.e. for your own kernel configuration you must do "make ARCH=xen menuconfig" etc.

xen-unstable.hg is the development tree. This will be 3.0.2. It has linux 2.6.16rcX with the new subarch layout, i.e. the "make menuconfig" will let you choose to build a Xen compatible kernel.

Hope that helps.

Yes, thank-you.

So, I tried using the linux-2.6-hg kernel tree. I chose this one because I'd like to use known repeatable Xen installations if possible, i.e. 3.0.1 at the moment, and build a kernel that will work with those stable releases.

I did....

        cd /usr/src
        hg clone http://xenbits.xensource.com/linux-2.6-xen.hg
        cd linux-2.6-xen.hg
        make menuconfig
                Processor type and features
                        Subarchitecture type
                                Choose Xen-compatible
                Exit and save

The build process fails like this....

        dom0a:/usr/src/linux-2.6-xen.hg# make
          CHK     include/linux/version.h
          CHK     include/linux/compile.h
          CHK     usr/initramfs_list
          CC [M]  drivers/char/rio/rio_linux.o
        In file included from drivers/char/rio/rio_linux.c:60:
        drivers/char/rio/typdef.h:67: error: conflicting types for `paddr_t'
include/asm/mach-xen/asm/page.h:153: error: previous declaration of `paddr_t'
        drivers/char/rio/rio_linux.c: In function `fix_rio_pci':
drivers/char/rio/rio_linux.c:976: warning: passing arg 1 of `readl' makes pointer from integer without a cast drivers/char/rio/rio_linux.c:979: warning: passing arg 2 of `writel' makes pointer from integer without a cast
        make[3]: *** [drivers/char/rio/rio_linux.o] Error 1
        make[2]: *** [drivers/char/rio] Error 2
        make[1]: *** [drivers/char] Error 2
        make: *** [drivers] Error 2
dom0a:/usr/src/linux-2.6-xen.hg# grep paddr_t drivers/char/rio/ typdef.h include/asm/mach-xen/asm/page.h|grep typedef
        drivers/char/rio/typdef.h:typedef unsigned int paddr_t;
        include/asm/mach-xen/asm/page.h:typedef unsigned long long paddr_t;
        include/asm/mach-xen/asm/page.h:typedef unsigned long paddr_t;

I'm trying http://xenbits.xensource.com/xen-3.0-testing.hg instead now.



Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.