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
Signature · 6 lines
Michael David Crawford [email protected] prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen
Have you mounted xenfs ?
-dulloor
Quoted 33 lines · Michael David Crawford
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_opsLinux 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
Signature · 11 lines
Michael David Crawford [email protected] prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen _______________________________________________ Xen-devel mailing list [email protected] http://lists.xensource.com/xen-devel
Quoted 1 line · Dulloor
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
Signature · 6 lines
Michael David Crawford [email protected] prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen
Quoted 1 line · Michael David Crawford
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