Hi List, I''m trying to work out the balloon driver on CentOS6 HVM but it seems to be not working with default 2.6.32 or newer 3.4 kernel. Does balloon driver work on HVM linux guests with Linux Kernel 3.4 from centos repo ? PV is fine and is able to balloon. Thanks. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Hi List, I''m trying to work out the balloon driver on CentOS6 HVM but it seems to be not working with default 2.6.32 or newer 3.4 kernel. Does balloon driver work on HVM linux guests with Linux Kernel 3.4 from centos repo ? PV is fine and is able to balloon. Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Please don''t cross post. This looks more like a user problem so I''ve dropped Xen-devel. On Fri, Jul 12, 2013 at 01:25:19AM +0530, Rushikesh Jadhav wrote:> Hi List, > > I''m trying to work out the balloon driver on CentOS6 HVM but it seems to be > not working with default 2.6.32 or newer 3.4 kernel. >This kind of "not working for me" description doesn''t help people understand your situation. You might also try to post on CentOS virt list to have better answer for this kind of distro specific question. If you have more logs you should probably file a bug report on Xen-devel or CentOS virt list.> Does balloon driver work on HVM linux guests with Linux Kernel 3.4 from > centos repo ? > > PV is fine and is able to balloon. > > Thanks.> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
On Fri, Jul 12, 2013 at 1:22 PM, Wei Liu <wei.liu2@citrix.com> wrote:> Please don''t cross post. > >Sorry about that.> This looks more like a user problem so I''ve dropped Xen-devel. >I was unsure since it involved the newer 3.4 kernel from centos repo as well as an error in xl but xen-users is the right first place. Thanks for guiding.> > On Fri, Jul 12, 2013 at 01:25:19AM +0530, Rushikesh Jadhav wrote: > > Hi List, > > > > I''m trying to work out the balloon driver on CentOS6 HVM but it seems to > be > > not working with default 2.6.32 or newer 3.4 kernel. > > > > This kind of "not working for me" description doesn''t help people > understand your situation. You might also try to post on CentOS virt > list to have better answer for this kind of distro specific question. > > If you have more logs you should probably file a bug report on Xen-devel > or CentOS virt list. >I have filed the bug which was distro specific https://bugzilla.redhat.com/show_bug.cgi?id=969601 but it was refused stating its not a distro bug and I should use RHEL5 host & Xen which I dont have. I''ll try with CentOS virt list now. For Xen Users, I would like to know how ballooning is being handled with PVHVM CentOS6 Guest that *has* xen-balloon driver but does not really balloon. Please have a look at below guest logs, [root@hvmc6 ~]# uname -a Linux hvmc6 3.4.50-8.el6.centos.alt.x86_64 #1 SMP Fri Jun 21 03:14:22 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@hvmc6 ~]# xenstore-ls memory initial-reservation = "1193984" initial-target = "1048576" static-max = "16777216" target = "1048576" dynamic-min = "1048576" dynamic-max = "1048576" memory-offset = "-258100" [root@hvmc6 ~]# dmesg | grep -i balloon xen/balloon: Initialising balloon driver. xen-balloon: Initialising balloon driver. [root@hvmc6 ~]# free -m total used free shared buffers cached Mem: 463 221 241 0 24 13 -/+ buffers/cache: 184 278 Swap: 9987 7 9980 When I try to set it manually from host, I get # xl mem-set 229 2049 xc: error: do_memory_op: WARNING: op=16 not converted to safe ioctls: Internal error Can you please help ?> > > Does balloon driver work on HVM linux guests with Linux Kernel 3.4 from > > centos repo ? > > > > PV is fine and is able to balloon. > > > > Thanks. > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Found the reason ! Stock 3.4.50-8.el6 kernel does not have guest xen balloon function enabled and I dont know why centos did this. It had to be recompiled with CONFIG_XEN_SELFBALLOONING :( Notifying this here so as to save xen-users time. On Fri, Jul 12, 2013 at 7:17 PM, Rushikesh Jadhav <2rushikeshj@gmail.com>wrote:> > > > On Fri, Jul 12, 2013 at 1:22 PM, Wei Liu <wei.liu2@citrix.com> wrote: > >> Please don''t cross post. >> >> > Sorry about that. > > >> This looks more like a user problem so I''ve dropped Xen-devel. >> > > I was unsure since it involved the newer 3.4 kernel from centos repo as > well as an error in xl but xen-users is the right first place. > Thanks for guiding. > > >> >> On Fri, Jul 12, 2013 at 01:25:19AM +0530, Rushikesh Jadhav wrote: >> > Hi List, >> > >> > I''m trying to work out the balloon driver on CentOS6 HVM but it seems >> to be >> > not working with default 2.6.32 or newer 3.4 kernel. >> > >> >> This kind of "not working for me" description doesn''t help people >> understand your situation. You might also try to post on CentOS virt >> list to have better answer for this kind of distro specific question. >> >> If you have more logs you should probably file a bug report on Xen-devel >> or CentOS virt list. >> > > I have filed the bug which was distro specific > https://bugzilla.redhat.com/show_bug.cgi?id=969601 > but it was refused stating its not a distro bug and I should use RHEL5 > host & Xen which I dont have. > > I''ll try with CentOS virt list now. > > For Xen Users, I would like to know how ballooning is being handled with > PVHVM CentOS6 Guest that *has* xen-balloon driver but does not really > balloon. > > Please have a look at below guest logs, > > [root@hvmc6 ~]# uname -a Linux hvmc6 3.4.50-8.el6.centos.alt.x86_64 #1 > SMP Fri Jun 21 03:14:22 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > [root@hvmc6 ~]# xenstore-ls memory initial-reservation = "1193984" > initial-target = "1048576" static-max = "16777216" target = "1048576" > dynamic-min = "1048576" dynamic-max = "1048576" memory-offset = "-258100" > [root@hvmc6 ~]# dmesg | grep -i balloon xen/balloon: Initialising balloon > driver. xen-balloon: Initialising balloon driver. > [root@hvmc6 ~]# free -m total used free shared buffers cached Mem: 463 > 221 241 0 24 13 -/+ buffers/cache: 184 278 Swap: 9987 7 9980 > > > When I try to set it manually from host, I get > # xl mem-set 229 2049 xc: error: do_memory_op: WARNING: op=16 not > converted to safe ioctls: Internal error > > > Can you please help ? > > >> >> > Does balloon driver work on HVM linux guests with Linux Kernel 3.4 from >> > centos repo ? >> > >> > PV is fine and is able to balloon. >> > >> > Thanks. >> >> > _______________________________________________ >> > Xen-devel mailing list >> > Xen-devel@lists.xen.org >> > http://lists.xen.org/xen-devel >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users