Skip to contentSkip to conversation

Problem with 2.6.30 pv-ops domU

DISCUSSION Jia Rao 3 participants 9 messages Nov 30, 2009 – Dec 1, 2009

lore
Share & tools
lore

Jia Rao

author
#0 lore raw

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.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 5 lines · Jia Rao

Hi all,

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

Quoted 7 lines

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

author
#2 lore raw

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 !

Quoted 15 lines · Jeremy Fitzhardinge
Quoted 5 lines · Jia Rao

Hi all,

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

Quoted 7 lines

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.

Quoted 5 lines

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

J

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 1 line

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.

author
#4 lore raw

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

Quoted 5 lines · Konrad Rzeszutek Wilk
Quoted 1 line

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.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
Quoted 2 lines · Jia Rao

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.

author
#6 lore raw

No, I did not specify an argument for framebuffer.

Quoted 12 lines · Konrad Rzeszutek Wilk
Quoted 1 line · Jia Rao

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

are

Quoted 1 line

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.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw
In reply to Jia Rao
Quoted 11 lines · Jia Rao

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"?

Quoted 7 lines

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?

Quoted 1 line

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

No.

J

author
#8 lore raw

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.

Quoted 29 lines · Jeremy Fitzhardinge
Quoted 11 lines · Jia Rao

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"?

Quoted 7 lines

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?

Quoted 6 lines
Quoted 1 line

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

No.

J

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel