All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with 2.6.30 pv-ops domU
@ 2009-11-30  5:36 Jia Rao
  2009-11-30 21:08 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 9+ messages in thread
From: Jia Rao @ 2009-11-30  5:36 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 443 bytes --]

Hi all,

I downloaded a pre-compiled Fedora 11 domU image from
http://stacklet.com/downloads/images/list/Fedora

When I ran the domU (2.6.30) with xen 3.3.1, 2.6.18 dom0, there was a
problem.

I can not change the memory configuration of the domU on the fly. I used
pygrub to boot the PV guest.
In the 2.6.30 guest, I can not find the /proc/xen/balloon driver but in the
config file of the kernel, XEN_BALLOON is enabled.

Any ideas?

Thanks.

[-- Attachment #1.2: Type: text/html, Size: 568 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with 2.6.30 pv-ops domU
  2009-11-30  5:36 Problem with 2.6.30 pv-ops domU Jia Rao
@ 2009-11-30 21:08 ` Jeremy Fitzhardinge
  2009-11-30 21:44   ` Jia Rao
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2009-11-30 21:08 UTC (permalink / raw)
  To: Jia Rao; +Cc: xen-devel

On 11/29/09 21:36, Jia Rao wrote:
> Hi all,
>
> I downloaded a pre-compiled Fedora 11 domU image from
> http://stacklet.com/downloads/images/list/Fedora
>
> When I ran the domU (2.6.30) with xen 3.3.1, 2.6.18 dom0, there was a
> problem.
>
> I can not change the memory configuration of the domU on the fly. I
> used pygrub to boot the PV guest.
> In the 2.6.30 guest, I can not find the /proc/xen/balloon driver but
> in the config file of the kernel, XEN_BALLOON is enabled.


How were you trying to change the memory?  At present, it only supports
shrinking memory, not expanding it beyond its original size.

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with 2.6.30 pv-ops domU
  2009-11-30 21:08 ` Jeremy Fitzhardinge
@ 2009-11-30 21:44   ` Jia Rao
  2009-11-30 21:50     ` Konrad Rzeszutek Wilk
  2009-12-01  0:25     ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 9+ messages in thread
From: Jia Rao @ 2009-11-30 21:44 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1506 bytes --]

OK, the shrinking is working now. What I do now is to set a large initial
memory size.

Another problem is with the newest pv_ops kernel.

I downloaded the xen-unstable, and compiled it under fedora 10.

Dom0 booted fine, but when I cp the dom0 to a domU (what I did in the stable
xen release, convert physical to virtual), the domU can boot, but
immediately the vcpu(i set to 2) shrinked to 1 vcpu and the cpu was 100%
busy there.

ping and xm console returned nothing.

The same thing happened when I install a precompiled pv_ops kernel to my old
domUs.
I tried xen 3.3.1 (2.6.18.8 dom0) and xen-unstable(2.6.31.6 dom0), same
problem.
So I think the problem should be the pv_ops kernel.

Do I need some special configuration for pv_ops kernel to use as a domU?

Thanks !
On Mon, Nov 30, 2009 at 4:08 PM, Jeremy Fitzhardinge <jeremy@goop.org>wrote:

> On 11/29/09 21:36, Jia Rao wrote:
> > Hi all,
> >
> > I downloaded a pre-compiled Fedora 11 domU image from
> > http://stacklet.com/downloads/images/list/Fedora
> >
> > When I ran the domU (2.6.30) with xen 3.3.1, 2.6.18 dom0, there was a
> > problem.
> >
> > I can not change the memory configuration of the domU on the fly. I
> > used pygrub to boot the PV guest.
> > In the 2.6.30 guest, I can not find the /proc/xen/balloon driver but
> > in the config file of the kernel, XEN_BALLOON is enabled.
>
>
> How were you trying to change the memory?  At present, it only supports
> shrinking memory, not expanding it beyond its original size.
>
>    J
>

[-- Attachment #1.2: Type: text/html, Size: 2060 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with 2.6.30 pv-ops domU
  2009-11-30 21:44   ` Jia Rao
@ 2009-11-30 21:50     ` Konrad Rzeszutek Wilk
  2009-11-30 21:55       ` Jia Rao
  2009-12-01  0:25     ` Jeremy Fitzhardinge
  1 sibling, 1 reply; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2009-11-30 21:50 UTC (permalink / raw)
  To: Jia Rao; +Cc: Jeremy Fitzhardinge, xen-devel

> Do I need some special configuration for pv_ops kernel to use as a domU?

If you have 'fb' in your .xm file you are hitting a bug that I am trying to fix.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with 2.6.30 pv-ops domU
  2009-11-30 21:50     ` Konrad Rzeszutek Wilk
@ 2009-11-30 21:55       ` Jia Rao
  2009-11-30 23:05         ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 9+ messages in thread
From: Jia Rao @ 2009-11-30 21:55 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Jeremy Fitzhardinge, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 345 bytes --]

Can you elaborate how can I verified if it is the bug, what .xm file you are
referrring?

On Mon, Nov 30, 2009 at 4:50 PM, Konrad Rzeszutek Wilk <
konrad.wilk@oracle.com> wrote:

> > Do I need some special configuration for pv_ops kernel to use as a domU?
>
> If you have 'fb' in your .xm file you are hitting a bug that I am trying to
> fix.
>

[-- Attachment #1.2: Type: text/html, Size: 647 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with 2.6.30 pv-ops domU
  2009-11-30 21:55       ` Jia Rao
@ 2009-11-30 23:05         ` Konrad Rzeszutek Wilk
  2009-11-30 23:18           ` Jia Rao
  0 siblings, 1 reply; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2009-11-30 23:05 UTC (permalink / raw)
  To: Jia Rao; +Cc: Jeremy Fitzhardinge, xen-devel

On Mon, Nov 30, 2009 at 04:55:24PM -0500, Jia Rao wrote:
> Can you elaborate how can I verified if it is the bug, what .xm file you are
> referrring?

This:

[root@tst002 xen]# cat /etc/xen/fc11.xm |grep fb
vfb=['type=vnc,vnclisten=0.0.0.0,vncunused=1']

Irregardless of the 'vfb' arguments.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with 2.6.30 pv-ops domU
  2009-11-30 23:05         ` Konrad Rzeszutek Wilk
@ 2009-11-30 23:18           ` Jia Rao
  0 siblings, 0 replies; 9+ messages in thread
From: Jia Rao @ 2009-11-30 23:18 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Jeremy Fitzhardinge, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 454 bytes --]

No, I did not specify an argument for framebuffer.

On Mon, Nov 30, 2009 at 6:05 PM, Konrad Rzeszutek Wilk <
konrad.wilk@oracle.com> wrote:

> On Mon, Nov 30, 2009 at 04:55:24PM -0500, Jia Rao wrote:
> > Can you elaborate how can I verified if it is the bug, what .xm file you
> are
> > referrring?
>
> This:
>
> [root@tst002 xen]# cat /etc/xen/fc11.xm |grep fb
> vfb=['type=vnc,vnclisten=0.0.0.0,vncunused=1']
>
> Irregardless of the 'vfb' arguments.
>

[-- Attachment #1.2: Type: text/html, Size: 776 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with 2.6.30 pv-ops domU
  2009-11-30 21:44   ` Jia Rao
  2009-11-30 21:50     ` Konrad Rzeszutek Wilk
@ 2009-12-01  0:25     ` Jeremy Fitzhardinge
  2009-12-01  5:10       ` Jia Rao
  1 sibling, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2009-12-01  0:25 UTC (permalink / raw)
  To: Jia Rao; +Cc: xen-devel

On 11/30/09 13:44, Jia Rao wrote:
> OK, the shrinking is working now. What I do now is to set a large
> initial memory size.
>
> Another problem is with the newest pv_ops kernel.
>
> I downloaded the xen-unstable, and compiled it under fedora 10.
>
> Dom0 booted fine, but when I cp the dom0 to a domU (what I did in the
> stable xen release, convert physical to virtual), the domU can boot,
> but immediately the vcpu(i set to 2) shrinked to 1 vcpu and the cpu
> was 100% busy there.

What do you mean by "shrinked to 1"?

> ping and xm console returned nothing.
>
> The same thing happened when I install a precompiled pv_ops kernel to
> my old domUs.
> I tried xen 3.3.1 (2.6.18.8 dom0) and xen-unstable(2.6.31.6 dom0),
> same problem.
> So I think the problem should be the pv_ops kernel.

What happens if you run with one vcpu?
What messages are printed when it boots?  Any?  Do you have
"earlyprintk=xen" on the kernel command line?
Does it respond to sysrq?
Can you get any info about the domain with xenctx?

> Do I need some special configuration for pv_ops kernel to use as a domU?

No.

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with 2.6.30 pv-ops domU
  2009-12-01  0:25     ` Jeremy Fitzhardinge
@ 2009-12-01  5:10       ` Jia Rao
  0 siblings, 0 replies; 9+ messages in thread
From: Jia Rao @ 2009-12-01  5:10 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1466 bytes --]

The problem was solved. It turned out to be the blktap support in pv_ops.
I configured all the VM disks as tap:aio which seems to be waiting for
tap:aio 2.
After changed to file based disk, everything is fine up to now.

On Mon, Nov 30, 2009 at 7:25 PM, Jeremy Fitzhardinge <jeremy@goop.org>wrote:

> On 11/30/09 13:44, Jia Rao wrote:
> > OK, the shrinking is working now. What I do now is to set a large
> > initial memory size.
> >
> > Another problem is with the newest pv_ops kernel.
> >
> > I downloaded the xen-unstable, and compiled it under fedora 10.
> >
> > Dom0 booted fine, but when I cp the dom0 to a domU (what I did in the
> > stable xen release, convert physical to virtual), the domU can boot,
> > but immediately the vcpu(i set to 2) shrinked to 1 vcpu and the cpu
> > was 100% busy there.
>
> What do you mean by "shrinked to 1"?
>
> > ping and xm console returned nothing.
> >
> > The same thing happened when I install a precompiled pv_ops kernel to
> > my old domUs.
> > I tried xen 3.3.1 (2.6.18.8 dom0) and xen-unstable(2.6.31.6 dom0),
> > same problem.
> > So I think the problem should be the pv_ops kernel.
>
> What happens if you run with one vcpu?
> What messages are printed when it boots?  Any?  Do you have
> "earlyprintk=xen" on the kernel command line?
> Does it respond to sysrq?
> Can you get any info about the domain with xenctx?
>
> > Do I need some special configuration for pv_ops kernel to use as a domU?
>
> No.
>
>    J
>

[-- Attachment #1.2: Type: text/html, Size: 1994 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-12-01  5:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30  5:36 Problem with 2.6.30 pv-ops domU Jia Rao
2009-11-30 21:08 ` Jeremy Fitzhardinge
2009-11-30 21:44   ` Jia Rao
2009-11-30 21:50     ` Konrad Rzeszutek Wilk
2009-11-30 21:55       ` Jia Rao
2009-11-30 23:05         ` Konrad Rzeszutek Wilk
2009-11-30 23:18           ` Jia Rao
2009-12-01  0:25     ` Jeremy Fitzhardinge
2009-12-01  5:10       ` Jia Rao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.