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 19:11:56 -0200
Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, howard chen <howachen@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Jan 2010 13:13:15 -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=sdhZWZAkJXQ5+F/Rp6G/90JYb4XBxWajwUX7+4c+3xM=; b=KW8lO24gzKZT7EzC467dABMacADnOdYELx9N1WoM1GwoCzCZgF8qCvBsC4KLvOMN+w JOJ6KD3Pqv57nCR1VX2KrOHS6pryswvxUUJdUOZBqXHD1+y7cIveTeepDUUxzPmXV0pA 1XBbbZQgCiXWVukRvpFQvCLB9uoKWl6111oHA=
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=SXCA3XekZDnYtuyQwec2Ln+ZElm2aghi2iEYexaJMRbK9s1xWj/FV3oz6juyffjiZ0 gVhaR6erDSpUPd5jzVn5m/w2KJCBVKUmmRTpu9LgHeY4URztSTeDhj35RrLh0O03Q1BY oDFC2tD0c7p94FmvILkZdPtlcucCiVk9xzjTs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6b7f6eb1001080956i1567141bnd3adb73db9be4caf@xxxxxxxxxxxxxx>
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> <6b7f6eb1001080956i1567141bnd3adb73db9be4caf@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
AH! DO NOT USE EXT4!!

 The kernel shipped with Ubuntu with support for Xen does not have the ext4 module compiled! So weired! And it has some bugs too (You cannot attach the xen-tools.iso... tsc...tsc)... Honestly, I don't know how people use the Ubuntu's kernel... I never use it... It is terrible! Every Ubuntu that I install, I compile my own kernel from kernel.org and Ubuntu becomes magically stable. I just use the /boot/config-2.6.XX-YY-server from Ubuntu...  ;-)

Cheers!
Thiago

2010/1/8 Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
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>