WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Kernel 2.6.15.4 and Xen

On 3 Mar 2006, at 10:24, Michael Paesold wrote:
Repositories are listed here:
http://xenbits.xensource.com/
(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 2.6.12.5, 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
        make

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;
        dom0a:/usr/src/linux-2.6-xen.hg#

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

Cheers,

Mark.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users