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] Backport pygrub grub2 support to 3.4-testing

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 2 Mar 2010 10:35:51 -0800 (PST)
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 02 Mar 2010 10:36:42 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1267554952; bh=2IC3LNfpUmtNvc1I+rLYWwKllpwIF5jss2EdOKy4P2A=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=T7b3vBvLGDP9ekt6PrLN+M4q1Au7Z2f9XvWJhht3hOQWvkOyiK8ZSd4bcjGA+yyxJ5wwXN+zPv2v+FvpX0H9TF4ivfdGo5reTc95ZSjCM/66fKY6V3aoxXgrR1fUMluoCej9j+/xr27OWgLYEpa2p3vupk8uUocxzUydqeG2gB4=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=4u9gmwHtfFqTBozn1QsbCR2UK9a0o7szgaICO/DQCcagaN5KVhLn4Jv9WibYBy+P+nMMakCCRtXKxjUBhGnNcuLroJq68qsbdcflu8nedwoHppOYtmqhrDqz5lh/nX2HlI4YUH/2yeAxv6/LrWd3Lby2dZPR0wqgG34Y9jT/e18=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1267540911.11737.24176.camel@xxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
   Under Xen 4.0-rc4 (rc5) i can create  Ubuntu Karmic Server HVM DomU with image, say  on /dev/sdb5, and immediately load Karmic PV DomU via
/usr/local/bin/pygrub on /dev/sdb5 (/dev/xvda1 mounted on "/", /dev/xvda2 - swap).
  Fresh clone Xen 3.4.3 doesn't allow me to reproduce this procedure.
Bootloader returns no data, and i still have to copy kernel and ramdisk
to Dom0 add /etc/init/hvc0 at DomU (edited as usual)  and then load Karmic Server PV DomU via profile :-

name="KarmicPV"
memory=2048
kernel="./vmlinuz-2.6.31-14-server"
ramdisk="./initrd.img-2.6.31-14-server"
disk=['phy:/dev/sdb5,xvda,w']
extra="root=/dev/xvda1 ro console=hvc0"
vif= [ 'bridge=eth0']

Profile :

name="KarmicPV"
memory=2048
bootloader="/usr/local/bin/pygrub"
disk=['phy:/dev/sdb5,xvda,w']
vif= ['bridge=eth0']
vfb= ['vnc=1,vncunused=1']

doesn't work ( pygrub returns no data).

Xen has been built via directory :-

root@ServerKoala:/usr/src# cd xen-3.4-testing.hg
root@ServerKoala:/usr/src/xen-3.4-testing.hg# hg log |more
changeset:   19912:faf6902fde2e
tag:         tip
user:        Keir Fraser <keir.fraser@xxxxxxxxxx>
date:        Tue Mar 02 13:56:58 2010 +0000
summary:     Update Xen version to 3.4.3-rc4-pre

changeset:   19911:d016a6777167
user:        Keir Fraser <keir.fraser@xxxxxxxxxx>
date:        Tue Mar 02 13:56:25 2010 +0000
summary:     pygrub: factor generic Grub functionality into GrubConf base classes

changeset:   19910:2b0908b101de
user:        Keir Fraser <keir.fraser@xxxxxxxxxx>
date:        Tue Mar 02 13:49:21 2010 +0000
summary:     x86/acpi: Add a missing CR in printk

changeset:   19909:cfd7f75ea9bc
user:        Keir Fraser <keir.fraser@xxxxxxxxxx>
date:        Mon Mar 01 16:51:31 2010 +0000
summary:     Added tag 3.4.3-rc3 for changeset 8e843b06f917

changeset:   19908:8e843b06f917
tag:         3.4.3-rc3
user:        Keir Fraser <keir.fraser@xxxxxxxxxx>
date:        Mon Mar 01 16:51:19 2010 +0000
summary:     Update Xen version to 3.4.3-rc3

changeset:   19907:1cdf837cd5ef
user:        Keir Fraser <keir.fraser@xxxxxxxxxx>
date:        Mon Mar 01 12:01:10 2010 +0000
summary:     New release of C/S 19894 "Disable memory mapping warnings when stub

. . . . . . . . .


Boris.

--- On Tue, 3/2/10, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:

From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Backport pygrub grub2 support to 3.4-testing
To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxxx>
Cc: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Tuesday, March 2, 2010, 9:41 AM

On Tue, 2010-03-02 at 14:40 +0000, Keir Fraser wrote:
> On 02/03/2010 14:22, "Ian Campbell" <Ian.Campbell@xxxxxxxxxx> wrote:
>
> > On Tue, 2010-03-02 at 14:12 +0000, Boris Derzhavets wrote:
> >> Just backport "20485:086a6a0c3f37 pygrub: factor generic Grub
> >> functionality into GrubConf base classes"  fails . Some CS(s) with
> >> minor numbers seem to be required for consistency.
> >
> > I've attached backported versions of the relevant commits.
>
> I already backported and applied. All but the first applied cleanly.

Smashing, cheers!

Ian.



_______________________________________________
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