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] pygrub: further improve grub2 support

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] pygrub: further improve grub2 support
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Fri, 26 Mar 2010 10:04:27 -0700 (PDT)
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 26 Mar 2010 11:09:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1269623067; bh=s0I0AzYdtu/VZ+2xiO3EgcP+4AWm6j8GtL5Wtnaey9k=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=DrN8u3BhSF6qschavuUIIdCPLEEDuPq+XPEwjv16gJuaJUdj0iwqj6aAwc6Aly4c7KZhDljWTm+QR9zYxMa7LQbTZmC+w7SUY3u6+00GBy0qIgwgmWcZ8kGhb+af9g1u/VhRW90w5nWSAdHiUXXq5yVt6+fW+2iVNAWN3inRtzw=
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=ewHvfvPPh0gc58V6X1OeAxWUjuR6je3ogZs7JBLLvAKUTfQEZNBqRzrRjWdgOkL7lyJ0P+XMuU+jjmw03p14asVJRVW2pQ1TnxOuyhXAy8Zbq+7M1dG/TAHNpY8VgavZ9hE49R0Msu+XBmS7xal9LjOCJUl3/BKN7yjOxSS2LiI=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1269622527.10129.72195.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
Thank you, i've got PV DomU loaded right away ( fixed error ):-

[    0.188837] udev: starting version 151
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
[    0.263402] blkfront: xvda: barriers enabled
[    0.263632]  xvda: xvda1 xvda2 < xvda5 >
Begin: Running /scripts/local-premount ...
Done.
[    0.537976] EXT4-fs (xvda1): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
fsck from util-linux-ng 2.17.2
/dev/xvda1: clean, 154798/960992 files, 786049/3837952 blocks

Ubuntu lucid (development branch) Ubuntu10 hvc0

Ubuntu10 login: root
Password:
Last login: Fri Mar 26 13:32:29 MSK 2010 on tty1
Linux Ubuntu10 2.6.32-16-server #25-Ubuntu SMP Tue Mar 9 17:40:50 UTC 2010 x86_64

For documentation and useful resources, please visit:
 * http://ubuntu.com/server/doc

  System information as of Fri Mar 26 00:55:37 MSK 2010

  System load: 0.05              Memory usage: 2%   Processes:       79
  Usage of /:  5.8% of 14.41GB   Swap usage:   0%   Users logged in: 0

  Graph this data and manage this system at https://landscape.canonical.com/

75 packages can be updated.
0 updates are security updates.

Checking for a new ubuntu release
No new release found

For documentation and useful resources, please visit:
 * http://ubuntu.com/server/doc

  System information as of Fri Mar 26 20:01:05 MSK 2010

  System load: 0.06               Memory usage: 1%   Processes:       101
  Usage of /:  19.2% of 14.41GB   Swap usage:   0%   Users logged in: 0

  Graph this data and manage this system at https://landscape.canonical.com/

Checking for a new ubuntu release
No new release found
root@Ubuntu10:~# uname -a
Linux Ubuntu10 2.6.32-16-server #25-Ubuntu SMP Tue Mar 9 17:40:50 UTC 2010 x86_64 GNU/Linux


Boris.

--- On Fri, 3/26/10, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:

From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] pygrub: further improve grub2 support
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Friday, March 26, 2010, 12:55 PM

On Fri, 2010-03-26 at 16:52 +0000, Boris Derzhavets wrote:
> I would guess HVM image is bkoken on for Ubuntu 10.04 Server Beta
> Attempt to load PV via profile :-
>
> memory = 2048
> name = "Ubuntu10.04"
> kernel="/home/boris/lynx/vmlinuz-2.6.32-16-server"
> ramdisk="/home/boris/lynx/initrd.img-2.6.32-16-server"
> vcpus = 2
> vif = [ 'bridge=eth0' ]
> disk = [ 'phy:/dev/sda8,xvda,w']
> extra="root=/dev/sda1 ro console=hvc0"
>

At a minimum this last line should be
extra="root=/dev/xvda1 ro console=hvc0"

sda is not a valid device name for a PV guest with a pvops kernel. There
may be other tailoring required within the guest as well.

Ian.


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