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

Re: [Xen-devel] pv_ops with xen-3.3


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx, jonr@xxxxxxxxxx
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Tue, 10 Feb 2009 09:52:05 -0800 (PST)
  • Cc:
  • Delivery-date: Tue, 10 Feb 2009 09:52:33 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=5zrCL+/uLfNrsO/Kk4756rbKUHBrxxVamuH7/71YBI+v279Hz/fH+1fVHmK9NKO8klNB9O1DlCw1n+N6PSRXdOPTC3aXWRVmAL2NPq/PnPAmntLQET3BN9cHI3pmlloa/7sj2kmci7ZXM0XfqNzowwQtq7B8xiXXUJ5e9ya2Vw8=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

The way it worked for me on Ubuntu Intrepid Server (x86_64)

First installed the most recent xen unstable:-

# cd /usr/src
# hg clone http://xenbits.xensource.com/xen-unstable.hg
# cd xen-unstable.hg
# make xen
# make install-xen
# make tools
# make install-tools


Compiled kernel supporting PV_OPS in Dom0 & INTEL AHCI (ICH(X)R)

# hg clone http://www.kernel.org/hg/linux-2.6
# cd linux-2.6/.hg
# hg clone http://xenbits.xensource.com/paravirt_ops/patches.hg patches
# cd ..
# ln -s .hg/patches . # for convenience
# hg update `cat patches/KERNEL_VERSION`
# hg qpush -a

# make menuconfig
# make
# make modules_install install
# depmod 2.6.29-rc3-tip
# mkinitramfs -o /boot/initrd-2.6.29-rc3-tip.img 2.6.29-rc3-tip

Created grub entry :-

title Xen 3.4 / Ubuntu 8.10, kernel 2.6.29-tip
kernel /boot/xen-3.4.gz dom0_mem=1024M
module /boot/vmlinuz-2.6.29-rc3-tip root=/dev/sdb1 ro console=tty0 pci=nomsi
module /boot/initrd-2.6.29-rc3-tip.img


I was able to load 2.6.23-rc3 only under the most recent version of Xen Unstable Hypervisor. Xen 3.3.1 was unable to recognize kernel image:-
Printed "Not ELF format" to  console and hanged.

Details here:-

http://bderzhavets.wordpress.com/2009/02/07/attempt-of-install-xen-unstable-dom0-via-2629-rc3-pv_ops-enabled-kernel-on-intel-sataahci-box/

--- On Tue, 2/10/09, jonr@xxxxxxxxxx <jonr@xxxxxxxxxx> wrote:
From: jonr@xxxxxxxxxx <jonr@xxxxxxxxxx>
Subject: [Xen-devel] pv_ops with xen-3.3
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, February 10, 2009, 11:55 AM

I would like to try and test out the 2.6.29-rc4 kernel and see if I
can't get Xen-3.3-1 booting. I have patched the 2.6.28 kernel and have
a 2.6.29-rc4 kernel. I have configured the kernel to use xen by
following http://wiki.xensource.com/xenwiki/XenParavirtOps.

Now I have the kernel configured and built but am not quite sure how
to use this kernel with xen-3.3. When I downloaded the latest xen and
ran 'make world' it downloaded the 2.6.18 kernel and is building xen
against that. How do I make xen build against my kernel or do I even
need to?

Once xen-3.3 is done building do I just substitute my 2.6.29-rc4
kernel in the grub menu.conf or am I missing something?

Thanks for any help,

Jon




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

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

 


Rackspace

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