Re: [Xen-users] Fedora Core 4 Questions and Building a 2.4 domU kernel

Mark Williamson
2005-08-18T17:43:48Z

> 1)  Does FC4 provide tools to build new dom0/U kernels using the
> 20050522 snapshot?  I have been unable to find any.

I guess you could install the source RPMs, tweak the config however you want
and then build new binary RPMs out of them?

> 2)  I have downloaded the lasted Xen-unstable snapshot using the
> mercurial tools, and have been attempting to compile a 2.4 domU, but I
> keep getting mkbuildtree errors.  (hg pull/hg update)

Yeah, 2.4 is broken in unstable at the moment - action is being taken to
correct this.

> Xen version mismatch error:

Binary interfaces are only stable during a release series of Xen: 2.0.y
kernels work on 2.0.x Xen.  You can''t run 2-series kernels on unstable
(or
vice versa).  With unstable you need to run kernels *from the same snapshot*
as Xen itself if you want  to guarantee compatibility.

The 3.0 series will again have a stable interface (which should be supported
for a long time).

Cheers,
Mark

> ERROR: Error constructing guest OS
> op_create> Exception creating domain:
> Traceback (most recent call last):
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line
> 65, in op_create
>     deferred = self.xd.domain_create(config)
>   File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
line
> 354, in domain_create
>     deferred = XendDomainInfo.vm_create(config)
>   File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 193,
> in vm_create
>     return vm.construct(config)
>   File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 463,
> in construct
>     self.construct_image()
>   File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 497,
> in construct_image
>     self.image_handler(self, image)
>   File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 1166, in vm_image_linux
>     vm.create_domain("linux", kernel, ramdisk, cmdline)
>   File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 825,
> in create_domain
>     self.build_domain(ostype, kernel, ramdisk, cmdline, memmap)
>   File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
> line 805,
> in build_domain
>     vcpus          = self.vcpus)
> error: (0, ''Error'')
> ERROR: Will only load images built for Xen v3.0
> ERROR: Actually saw:
>
''GUEST_OS=linux,GUEST_VER=2.4,XEN_VER=2.0,VIRT_BASE=0xC0000000''
>
> Thanks in advance,
> Brian Kosick