Mailing List Archive

Xen 4.0.1 on Ubuntu 10.04 LTS Desktop
Hi,

I tried installing Xen 4.0.1 on Ubuntu 10.04 using the xen/stable a.k.a
2.6.32.32 PVOPS kernel. The installation went fine, but xend is not running.
I had similar issue when I tried in Ubuntu 10.10 also. Is it because of the
PVOPS kernel?

The log is attached.


--
Srujan D. Kotikela
Re: Xen 4.0.1 on Ubuntu 10.04 LTS Desktop [ In reply to ]
My GRUB entry is:

menuentry 'Xen 4.0.1, with Linux 2.6.32-32' --class ubuntu --class gnu-linux
--class gnu --class os {
recordfail
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set ca9f652e-33df-40e1-8f7d-c4e80b899f27
multiboot (hd0,7)/boot/xen.gz dummy=dummy dom0_mem=1024M
linux (hd0,7)/boot/vmlinuz-2.6.32.32
root=UUID=ca9f652e-33df-40e1-8f7d-c4e80b899f27 ro dummy=dummy nopat quiet
splash
initrd (hd0,7)/boot/initrd.img-2.6.32.32
}

--
Srujan D. Kotikela


On Wed, Mar 16, 2011 at 12:50 PM, Srujan Kotikela <ksrujandas@gmail.com>wrote:

> Hi,
>
> I tried installing Xen 4.0.1 on Ubuntu 10.04 using the xen/stable a.k.a
> 2.6.32.32 PVOPS kernel. The installation went fine, but xend is not running.
> I had similar issue when I tried in Ubuntu 10.10 also. Is it because of the
> PVOPS kernel?
>
> The log is attached.
>
>
> --
> Srujan D. Kotikela
>
Re: Xen 4.0.1 on Ubuntu 10.04 LTS Desktop [ In reply to ]
On Wed, Mar 16, 2011 at 12:50:27PM -0500, Srujan Kotikela wrote:
> Hi,
>
> I tried installing Xen 4.0.1 on Ubuntu 10.04 using the xen/stable a.k.a
> 2.6.32.32 PVOPS kernel. The installation went fine, but xend is not running.
> I had similar issue when I tried in Ubuntu 10.10 also. Is it because of the
> PVOPS kernel?

No. It is b/c you don't have the hypervisor (xen.gz) in your grub2 file.
Did you install the xen toolstack?
>
> The log is attached.
>
>
> --
> Srujan D. Kotikela


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


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Xen 4.0.1 on Ubuntu 10.04 LTS Desktop [ In reply to ]
Yes, I did.

--
Srujan D. Kotikela



On Wed, Mar 16, 2011 at 1:19 PM, Konrad Rzeszutek Wilk <
konrad.wilk@oracle.com> wrote:

> On Wed, Mar 16, 2011 at 12:50:27PM -0500, Srujan Kotikela wrote:
> > Hi,
> >
> > I tried installing Xen 4.0.1 on Ubuntu 10.04 using the xen/stable a.k.a
> > 2.6.32.32 PVOPS kernel. The installation went fine, but xend is not
> running.
> > I had similar issue when I tried in Ubuntu 10.10 also. Is it because of
> the
> > PVOPS kernel?
>
> No. It is b/c you don't have the hypervisor (xen.gz) in your grub2 file.
> Did you install the xen toolstack?
> >
> > The log is attached.
> >
> >
> > --
> > Srujan D. Kotikela
>
>
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>
Re: Xen 4.0.1 on Ubuntu 10.04 LTS Desktop [ In reply to ]
On Wed, Mar 16, 2011 at 12:50:27PM -0500, Srujan Kotikela wrote:
> Hi,
>
> I tried installing Xen 4.0.1 on Ubuntu 10.04 using the xen/stable a.k.a
> 2.6.32.32 PVOPS kernel. The installation went fine, but xend is not
> running. I had similar issue when I tried in Ubuntu 10.10 also. Is it
> because of the PVOPS kernel?
>
> The log is attached.
>

http://wiki.xen.org/xenwiki/XenCommonProblems#head-26434581604cc8357d9762aaaf040e8d87b37752

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Xen 4.0.1 on Ubuntu 10.04 LTS Desktop [ In reply to ]
Please don't top post.

On Wed, Mar 16, 2011 at 1:19 PM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
>
> No. It is b/c you don't have the hypervisor (xen.gz) in your
> grub2 file.
> Did you install the xen toolstack?

On Wed, 2011-03-16 at 19:26 +0000, Srujan Kotikela wrote:
>
> Yes, I did.

You didn't actually boot Xen though, your log contains:

Mar 16 04:36:15 xen kernel: [ 0.000000] Booting paravirtualized kernel on bare hardware

I wonder if this is because your grub stanza contains
multiboot ....xen....
linux ....vmlinuz....
initrd ....initrd....
and the "linux" statement (which means boot a native Linux kernel) takes
precedence over the "multiboot" statement (which means boot a multiboot
kernel, possibly with a series of extra modules).

I think you probably need to use something of this form instead:
multiboot ....xen....
module ....vmlinuz....
module ...initrd....

IOW your mistake is that the "linux" statement does not add extra
modules to a "multiboot" kernel -- it is a top level kernel loader
command thing in its own right. "module" is the correct syntax for
adding additional multiboot modules.

Ian.

>
> --
> Srujan D. Kotikela
>
>
>
>
> On Wed, Mar 16, 2011 at 1:19 PM, Konrad Rzeszutek Wilk
> <konrad.wilk@oracle.com> wrote:
> On Wed, Mar 16, 2011 at 12:50:27PM -0500, Srujan Kotikela
> wrote:
> > Hi,
> >
> > I tried installing Xen 4.0.1 on Ubuntu 10.04 using the
> xen/stable a.k.a
> > 2.6.32.32 PVOPS kernel. The installation went fine, but xend
> is not running.
> > I had similar issue when I tried in Ubuntu 10.10 also. Is it
> because of the
> > PVOPS kernel?
>
>
> No. It is b/c you don't have the hypervisor (xen.gz) in your
> grub2 file.
> Did you install the xen toolstack?
> >
> > The log is attached.
> >
> >
> > --
> > Srujan D. Kotikela
>
>
>
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>
>
>



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Xen 4.0.1 on Ubuntu 10.04 LTS Desktop [ In reply to ]
Hi Ian,

My bad. Correcting the grub entry did the trick. Thanks.

--
Srujan D. Kotikela


On Wed, Mar 16, 2011 at 2:38 PM, Ian Campbell <Ian.Campbell@citrix.com>wrote:

> Please don't top post.
>
> On Wed, Mar 16, 2011 at 1:19 PM, Konrad Rzeszutek Wilk <
> konrad.wilk@oracle.com> wrote:
> >
> > No. It is b/c you don't have the hypervisor (xen.gz) in your
> > grub2 file.
> > Did you install the xen toolstack?
>
> On Wed, 2011-03-16 at 19:26 +0000, Srujan Kotikela wrote:
> >
> > Yes, I did.
>
> You didn't actually boot Xen though, your log contains:
>
> Mar 16 04:36:15 xen kernel: [ 0.000000] Booting paravirtualized kernel
> on bare hardware
>
> I wonder if this is because your grub stanza contains
> multiboot ....xen....
> linux ....vmlinuz....
> initrd ....initrd....
> and the "linux" statement (which means boot a native Linux kernel) takes
> precedence over the "multiboot" statement (which means boot a multiboot
> kernel, possibly with a series of extra modules).
>
> I think you probably need to use something of this form instead:
> multiboot ....xen....
> module ....vmlinuz....
> module ...initrd....
>
> IOW your mistake is that the "linux" statement does not add extra
> modules to a "multiboot" kernel -- it is a top level kernel loader
> command thing in its own right. "module" is the correct syntax for
> adding additional multiboot modules.
>
> Ian.
>
> >
> > --
> > Srujan D. Kotikela
> >
> >
> >
> >
> > On Wed, Mar 16, 2011 at 1:19 PM, Konrad Rzeszutek Wilk
> > <konrad.wilk@oracle.com> wrote:
> > On Wed, Mar 16, 2011 at 12:50:27PM -0500, Srujan Kotikela
> > wrote:
> > > Hi,
> > >
> > > I tried installing Xen 4.0.1 on Ubuntu 10.04 using the
> > xen/stable a.k.a
> > > 2.6.32.32 PVOPS kernel. The installation went fine, but xend
> > is not running.
> > > I had similar issue when I tried in Ubuntu 10.10 also. Is it
> > because of the
> > > PVOPS kernel?
> >
> >
> > No. It is b/c you don't have the hypervisor (xen.gz) in your
> > grub2 file.
> > Did you install the xen toolstack?
> > >
> > > The log is attached.
> > >
> > >
> > > --
> > > Srujan D. Kotikela
> >
> >
> >
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@lists.xensource.com
> > > http://lists.xensource.com/xen-devel
> >
> >
> >
> >
>
>
>