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-users

Re: [Xen-users] Distro upgrade in ubuntu PV guest?

To: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Distro upgrade in ubuntu PV guest?
From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
Date: Fri, 8 Jan 2010 15:56:42 -0200
Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, howard chen <howachen@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Jan 2010 09:59:23 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=2oUl9C7GgGSOp0XRBtIZdS6Vi5gva+X0F2bg/VZD+5g=; b=OY2SJ5JBWksvr9Mpyc7dhka/wLxnhn4hO9gvJiX3t/qFGCvEGNO6ed8qplyeHjbV22 KvKL6HDq2WFo1J2SZ/XBcFNLbjYEWlugpZpkzLudVUnV6E+AXHpFgirwFP0XqsxFI/sl OMrCNKZ8TiknWwUy4NyGuCXwO89sJTlX5khp8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=eBxH95Iscfeja7UaI88HjnqSASjqwBndcmAContTIZ7kSZGDp5mwiZGvVxy9OkWVGx dQVIn8cGYVIZM2rJVdfOtV2wrUtna2I5GEaddqhH2LfoiPfHUGV9M9hnt5gU6iZ2ER1j Q5G8YqNxI7SBwuAY1Z50CeTRHoKv+U4+DCOZM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43382.38253.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b66ddc900911170532ndf2c601h4a964fb181ceec94@xxxxxxxxxxxxxx> <6b7f6eb0911170547j3be86dc1ma6dbe20d9a0d421c@xxxxxxxxxxxxxx> <7207d96f0911171857m3ea02dc0wccc9c81daf95bc14@xxxxxxxxxxxxxx> <6b7f6eb0911300346y162d6254p3b06188303d44de9@xxxxxxxxxxxxxx> <43382.38253.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Finally I have the Ubuntu Karmic running as PV machine under my open source Xen and XenServer 5.5...

There is only one kernel package with support for Xen (CONFIG_XEN=y), and it is: "linux-ec2".

So, I have read this guide: http://community.citrix.com/display/ocb/2008/07/02/Installing+Ubuntu+on+XenServer;jsessionid=C126EB0931801626CB857A098C195EAE

And before convert my VM from HVM to PVM, I install the right kernel with:

aptitude install linux-ec2 grub
update-grub
vim /boot/grub/menu.lst (to change uuid to root (hd0,0))...

Cheers!
Thiago

2009/11/30 Boris Derzhavets <bderzhavets@xxxxxxxxx>
> Well, apparently the Karmic's kernel that have support for running as Xen pv domU is
> the -generic version...
It has   -server version. Details here:-

http://www.linuxtoday.com/high_performance/2009112800135OSSV


Boris.

From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
To: Fajar A. Nugraha <fajar@xxxxxxxxx>
Cc: howard chen <howachen@xxxxxxxxx>; xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Mon, November 30, 2009 2:46:03 PM
Subject: Re: [Xen-users] Distro upgrade in ubuntu PV guest?

Well, apparently the Karmic's kernel that have support for running as Xen pv domU is the -generic version...

2009/11/18 Fajar A. Nugraha <fajar@xxxxxxxxx>
On Tue, Nov 17, 2009 at 8:47 PM, Thiago Camargo Martins Cordeiro
<thiagocmartinsc@xxxxxxxxx> wrote:
> The new Ubuntu Karmic DOES NOT have support for running as a PV domU!

While it may not explicitly support Xen domU, it runs just fine. That
is, assuming your dom0 (Xen and hardware/BIOS) supports running pv_ops
kernel.

> 2009/11/17 howard chen <howachen@xxxxxxxxx>

>> I have an ubuntu 8.04 pv guest running in PV mode (kernel:  Linux
>> ubuntu 2.6.24-16-xen)
>>
>> What would happen if I do a distro upgrade to a newer verion using
>> apt-get?

Generally it's pretty much the same thing that would happen if you do
a distro-upgrade to newer version. Some things to watch out though:
- Karmic's upstart uses /etc/init/, which is different from previous versions
- if you use Karmic's (or any pv_ops) kernel, xen console will be on
hvc0, so you should adjust your system (/etc/init/*, /etc/securetty)
to spawn login screen there
- with pv_ops kernel, disks will be mapped as xvda (and not sda/hda).
You may need to change domU config, fstab, and grub.conf manually to
match that.

Regards,

Fajar



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>