Michael David Crawford
2009-May-11 12:47 UTC
[Xen-devel] xm create can''t find /proc/xen/balloon
I have the latest git sources of xen, ioemu and linux. I just now did a "git pull" in each just to be sure. When I do an "xm create" I get: Error: [Errno 2] No such file or directory: ''/proc/xen/balloon'' Searching the list archives told me that this is most commonly caused by not having enough memory available for the DomU, but I have fixed that. I''m pretty sure the problem is that the paravirt_ops Linux kernel puts its balloon in sysfs and not procfs. So I applied Jeremy''s patch found here: http://lists.xensource.com/archives/html/xen-devel/2008-11/msg00358.html ... then rebuilt and rebooted. But I still get the message. However, that patch changes a file in xend''s sources. Does xm need a similar patch - or should xm be looking at that same python module in xend''s directory? I don''t know the codebase well enough to figure it out yet, though I''ll be investigating while I await your responses. Thanks for your help, Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don''t Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Have you mounted xenfs ? -dulloor On May 11, 2009, at 8:47 AM, Michael David Crawford <mdc@prgmr.com> wrote:> I have the latest git sources of xen, ioemu and linux. I just now > did a "git pull" in each just to be sure. > > When I do an "xm create" I get: > > Error: [Errno 2] No such file or directory: ''/proc/xen/balloon'' > > Searching the list archives told me that this is most commonly > caused by not having enough memory available for the DomU, but I > have fixed that. > > I''m pretty sure the problem is that the paravirt_ops Linux kernel > puts its balloon in sysfs and not procfs. So I applied Jeremy''s > patch found here: > > http://lists.xensource.com/archives/html/xen-devel/2008-11/msg00358.html > > ... then rebuilt and rebooted. But I still get the message. > > However, that patch changes a file in xend''s sources. > > Does xm need a similar patch - or should xm be looking at that same > python module in xend''s directory? I don''t know the codebase well > enough to figure it out yet, though I''ll be investigating while I > await your responses. > > Thanks for your help, > > Mike > -- > Michael David Crawford > mdc@prgmr.com > > prgmr.com - We Don''t Assume You Are Stupid. > > Xen-Powered Virtual Private Servers: http://prgmr.com/xen > > _______________________________________________ > 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
Michael David Crawford
2009-May-11 13:45 UTC
Re: [Xen-devel] xm create can''t find /proc/xen/balloon
Dulloor wrote:> Have you mounted xenfs ?Hi again, I should say that the problem isn''t that /proc/xen/balloon is missing. I''m using the paravirt_ops Linux kernel. The problem is that *something* in Xen - I haven''t figured out what yet - *should* be looking at: /sys/devices/system/xen_memory/xen_memory0 ... but hasn''t been updated to know about the new location yet. Thanks, Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don''t Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2009-May-12 21:44 UTC
Re: [Xen-devel] xm create can''t find /proc/xen/balloon
Michael David Crawford wrote:> Does xm need a similar patch - or should xm be looking at that same > python module in xend''s directory? I don''t know the codebase well > enough to figure it out yet, though I''ll be investigating while I > await your responses.xm talks to xend to do everything; that one change should be sufficient. Are you sure you installed it and restarted the daemon? J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel