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-devel

Re: [Xen-devel] Using Debian packages

I gave up on compiling a kernel the debian way... once I applied the
xen patch by running /usr/src/kernel-patches/i386/apply/xen from
/usr/src/linux, I did the whole "make ARCH=xen" and manually copied the
resulting vmlinuz to /boot/vmlinuz-2.6.10-xen0.

Now, has anyone else had problems with these debian packages? I've built
a U kernel with my same config, and am using this as my vm config:

kernel = "/boot/vmlinuz-2.6.10-xenU"
memory = 256 
name = "test"
disk = ['file:/var/lib/xen/diskimages/test_disk,sda1,w']
disk = ['file:/var/lib/xen/diskimages/test_swap_disk,sda2,w']
root = "/dev/sda1 rw"
restart = 'never'

but whenever I try "xm create -f vm_test", all I get is:

Using config file "./vm_test".
Error: Not Found

Any possible explanations? Have I done something braindead in my vm
config?

-michal urbanski


On Thu, Mar 17, 2005 at 04:48:08PM +0100, Lars E. D. Jensen wrote:
> Onsdag den 16. marts 2005 09:17 skrev Ian Pratt:
> > > Does the 2.0.5 packages (kernel-patch-xen_2.0.5-1_i386.deb)
> > > apply to Debian
> > > kernels in the Sarge tree which is 2.6.8 at the moment?
> > >
> > > If so, is it possible to build a domU kernel using the debian
> > > packages too?
> >
> > If you've got a kernel built with all the drivers as modules, then
> > there's little point building a separate domU kernel -- just use the
> > same for privileged and unprivileged domains.
> 
> Hmmm... I really have problems using those packages.
> 
> Is there someone who is using those packages, if so... how do you use them?
> 
> What kernel-source (from where) are you patching?
> 
> Maybe a small step-by-step guide would be good.
> 
> My problem is that I can't get a kernel compiled "the debian way" ... into a 
> debian package.
> 
> I'm not sure if I should use vanilla or not, but I've downloaded the vanilla 
> 2.6.10 which kernel-patch-xen_2.0.5-1_i386.deb is for (I think). I've 
> installed kernel-patch-xen_2.0.5-1_i386.deb and then copied my .config into 
> source directory and run:
> make-kpkg --added-patches=xen --revision=xenserver.0.1 kernel_image
> 
> It compiles fine, but is this the right way of doing it if I want a debian 
> package?
> 
> "make ARCH=xen menuconfig" fails since there is no xen arch in vanilla.
> 
> Also I get this when trying to install the 2.0.5 Debian packages:
> Python C API version mismatch for module xen.lowlevel.xu: This Python has API 
> version 1012, module xen.lowlevel.xu has version 1011.
> 
> Thanks.
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel