[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.