All of lore.kernel.org
 help / color / mirror / Atom feed
* xm create can't find /proc/xen/balloon
@ 2009-05-11 12:47 Michael David Crawford
  2009-05-11 13:00 ` Dulloor
  2009-05-12 21:44 ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 4+ messages in thread
From: Michael David Crawford @ 2009-05-11 12:47 UTC (permalink / raw)
  To: xen-devel

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

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

* Re: xm create can't find /proc/xen/balloon
  2009-05-11 12:47 xm create can't find /proc/xen/balloon Michael David Crawford
@ 2009-05-11 13:00 ` Dulloor
  2009-05-11 13:45   ` Michael David Crawford
  2009-05-12 21:44 ` Jeremy Fitzhardinge
  1 sibling, 1 reply; 4+ messages in thread
From: Dulloor @ 2009-05-11 13:00 UTC (permalink / raw)
  To: Michael David Crawford; +Cc: xen-devel@lists.xensource.com

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

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

* Re: xm create can't find /proc/xen/balloon
  2009-05-11 13:00 ` Dulloor
@ 2009-05-11 13:45   ` Michael David Crawford
  0 siblings, 0 replies; 4+ messages in thread
From: Michael David Crawford @ 2009-05-11 13:45 UTC (permalink / raw)
  To: xen-devel

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

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

* Re: xm create can't find /proc/xen/balloon
  2009-05-11 12:47 xm create can't find /proc/xen/balloon Michael David Crawford
  2009-05-11 13:00 ` Dulloor
@ 2009-05-12 21:44 ` Jeremy Fitzhardinge
  1 sibling, 0 replies; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2009-05-12 21:44 UTC (permalink / raw)
  To: Michael David Crawford; +Cc: xen-devel

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

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

end of thread, other threads:[~2009-05-12 21:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-11 12:47 xm create can't find /proc/xen/balloon Michael David Crawford
2009-05-11 13:00 ` Dulloor
2009-05-11 13:45   ` Michael David Crawford
2009-05-12 21:44 ` Jeremy Fitzhardinge

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.