Hello, 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? Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thiago Camargo Martins Cordeiro
2009-Nov-17 13:47 UTC
Re: [Xen-users] Distro upgrade in ubuntu PV guest?
The new Ubuntu Karmic DOES NOT have support for running as a PV domU! 2009/11/17 howard chen <howachen@gmail.com>> Hello, > > 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? > > > Thanks. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
how about upgrade to Jaunty? On Tue, Nov 17, 2009 at 9:47 PM, Thiago Camargo Martins Cordeiro <thiagocmartinsc@gmail.com> wrote:> The new Ubuntu Karmic DOES NOT have support for running as a PV domU! > > 2009/11/17 howard chen <howachen@gmail.com> >> >> Hello, >> >> 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? >> >> >> Thanks. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thiago Camargo Martins Cordeiro
2009-Nov-17 13:52 UTC
Re: [Xen-users] Distro upgrade in ubuntu PV guest?
Jaunty is Okay as a PV domU... 2009/11/17 howard chen <howachen@gmail.com>> how about upgrade to Jaunty? > > On Tue, Nov 17, 2009 at 9:47 PM, Thiago Camargo Martins Cordeiro > <thiagocmartinsc@gmail.com> wrote: > > The new Ubuntu Karmic DOES NOT have support for running as a PV domU! > > > > 2009/11/17 howard chen <howachen@gmail.com> > >> > >> Hello, > >> > >> 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? > >> > >> > >> Thanks. > >> > >> _______________________________________________ > >> Xen-users mailing list > >> Xen-users@lists.xensource.com > >> http://lists.xensource.com/xen-users > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thiago Camargo Martins Cordeiro
2009-Nov-17 13:53 UTC
Re: [Xen-users] Distro upgrade in ubuntu PV guest?
To use the Karmic, you need to compile your own kernel... Or copy the dom0 to the domU... 2009/11/17 Thiago Camargo Martins Cordeiro <thiagocmartinsc@gmail.com>> Jaunty is Okay as a PV domU... > > > 2009/11/17 howard chen <howachen@gmail.com> > >> how about upgrade to Jaunty? >> >> On Tue, Nov 17, 2009 at 9:47 PM, Thiago Camargo Martins Cordeiro >> <thiagocmartinsc@gmail.com> wrote: >> > The new Ubuntu Karmic DOES NOT have support for running as a PV domU! >> > >> > 2009/11/17 howard chen <howachen@gmail.com> >> >> >> >> Hello, >> >> >> >> 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? >> >> >> >> >> >> Thanks. >> >> >> >> _______________________________________________ >> >> Xen-users mailing list >> >> Xen-users@lists.xensource.com >> >> http://lists.xensource.com/xen-users >> > >> > >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thats sounds pretty strange to me as Karmic uses kernel 2.6.31 which should be able to operate as a pvops DomU kernel. Though I haven''t tried it yet. Anyway an upgrade preserves your old kernel as well, so you can boot that if you prefer, or thngs get wrong with the new one. Good luck! Geza> To use the Karmic, you need to compile your own kernel... Or copy the > dom0 to the domU... > > 2009/11/17 Thiago Camargo Martins Cordeiro <thiagocmartinsc@gmail.com > <mailto:thiagocmartinsc@gmail.com>> > > Jaunty is Okay as a PV domU... > > > 2009/11/17 howard chen <howachen@gmail.com > <mailto:howachen@gmail.com>> > > how about upgrade to Jaunty? > > On Tue, Nov 17, 2009 at 9:47 PM, Thiago Camargo Martins Cordeiro > <thiagocmartinsc@gmail.com <mailto:thiagocmartinsc@gmail.com>> > wrote: > > The new Ubuntu Karmic DOES NOT have support for running as a > PV domU! > > > > 2009/11/17 howard chen <howachen@gmail.com > <mailto:howachen@gmail.com>> > >> > >> Hello, > >> > >> 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? > >> > >> > >> Thanks. > >> > >> _______________________________________________ > >> Xen-users mailing list > >> Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > >> http://lists.xensource.com/xen-users > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Nov 17, 2009 at 8:47 PM, Thiago Camargo Martins Cordeiro <thiagocmartinsc@gmail.com> 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@gmail.com>>> 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@lists.xensource.com http://lists.xensource.com/xen-users
Thiago Camargo Martins Cordeiro
2009-Nov-30 11:46 UTC
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@fajar.net>> On Tue, Nov 17, 2009 at 8:47 PM, Thiago Camargo Martins Cordeiro > <thiagocmartinsc@gmail.com> 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@gmail.com> > > >> 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@lists.xensource.com http://lists.xensource.com/xen-users
> 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@gmail.com> To: Fajar A. Nugraha <fajar@fajar.net> Cc: howard chen <howachen@gmail.com>; xen-users@lists.xensource.com 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@fajar.net> On Tue, Nov 17, 2009 at 8:47 PM, Thiago Camargo Martins Cordeiro> ><thiagocmartinsc@gmail.com> 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@gmail.com> > > >>> 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@lists.xensource.com http://lists.xensource.com/xen-users
Thiago Camargo Martins Cordeiro
2010-Jan-08 17:56 UTC
Re: [Xen-users] Distro upgrade in ubuntu PV guest?
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@yahoo.com>> > 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@gmail.com> > *To:* Fajar A. Nugraha <fajar@fajar.net> > *Cc:* howard chen <howachen@gmail.com>; xen-users@lists.xensource.com > *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@fajar.net> > >> On Tue, Nov 17, 2009 at 8:47 PM, Thiago Camargo Martins Cordeiro >> <thiagocmartinsc@gmail.com> 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@gmail.com> >> >> >> 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@lists.xensource.com http://lists.xensource.com/xen-users
Thiago Camargo Martins Cordeiro
2010-Jan-08 21:11 UTC
Re: [Xen-users] Distro upgrade in ubuntu PV guest?
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@gmail.com>> 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@yahoo.com> > > > 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@gmail.com> >> *To:* Fajar A. Nugraha <fajar@fajar.net> >> *Cc:* howard chen <howachen@gmail.com>; xen-users@lists.xensource.com >> *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@fajar.net> >> >>> On Tue, Nov 17, 2009 at 8:47 PM, Thiago Camargo Martins Cordeiro >>> <thiagocmartinsc@gmail.com> 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@gmail.com> >>> >>> >> 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@lists.xensource.com http://lists.xensource.com/xen-users