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] pv_ops with xen-3.3

To: xen-devel@xxxxxxxxxxxxxxxxxxx, jonr@xxxxxxxxxx
Subject: Re: [Xen-devel] pv_ops with xen-3.3
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1234288325; bh=tHACGcjDUX5U8zLCX67hXSsrNeyS5ITlP+guZtBQhpQ=; h=Message-ID:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=mIJGU+8vxrh+KvX08R0YJAw9q7AYNHsB91hesY9Iwrlyz2VQgjXfgdSh/SbKyGuxDV6HnW2ZA4GD1sINVTO5+f9NbYn0wG7c6tcaCDFy5vwx35WMx/DO5XpQmkMszaC0uq89ghdqtmSkw9bBEIYiksPxrRDXUZcXrgqOf2K5M3c=
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090210075548.pcng3y8j0ro8scog@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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