[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] xen and Debian kernel package
On Sun, Jun 12, 2005 at 10:15:38PM +0200, Olaf wrote: > I'm about to roll a few machines out with xen and it's likely that I > have to change the kernel configuration from the stock xenU kernel. > What do you reckon, is it more efficient to compile a kernel on every > machine using the 2.0.6-src archive or would it make sense to invest > the time to figure out how to compile a kernel and modules using > Debian's kernel package and deploy the packages? Hi Olaf, I use Debian for my Dom0 and most of my domUs. Here is what I do: - Download and unpack xen-testing, make sure I have python-twisted and all other dependencies. - Make and install the tools. - In the Xen Makefile, remove any kernels I'm not interested in. basically everything except linux 2.6: KERNELS ?= linux-2.6-xen0 linux-2.6-xenU # linux-2.4-xen0 linux-2.4-xenU netbsd-2.0-xenU - Do "make mkpatches" to get a patch against vanilla kernel source. - Download the latest pristine kernel that xen-testing supports, apply the xen patch to it. - Build and configure it the Debian way: $ sudo make-kpkg --config=menuconfig --arch=xen --revision=1 --append-to-version=hostnamexen0 kernel_image that will leave me with a kernel-image...deb in /usr/src - Repeat again for domU kernels: $ sudo make-kpkg --config=menuconfig --arch=xen --revision=1 --append-to-version=hostnamexenu clean $ sudo make-kpkg --config=menuconfig --arch=xen --revision=1 --append-to-version=hostnamexenu kernel_image I don't use modules or an initrd but I don't see any reason why that will not work as normal. There may be a quicker way to get patched kernel source without building it (so I can build it the debian way), but this is the way I know and know works. Hope that helps, Andy Attachment:
signature.asc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |