WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] XEN 3.4.2 /proc/xen/balloon doesn't exist

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XEN 3.4.2 /proc/xen/balloon doesn't exist
From: Gabor Szilagyi <szilagyi@xxxxxxxxxxxx>
Date: Fri, 15 Jan 2010 14:50:33 -0500
Delivery-date: Thu, 21 Jan 2010 07:07:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=357A2D5A
Organization: UNEP NYO
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am new to XEN. Try to move from vmware and Virtualbox (I use both now).

Unfortunately, Debian Squeeze no longer support xen (out of the box no dom0)

So I am trying to make it myself.

I have installed xen 3.4.2 from source, did make world and installed.

Got the kernel source from from the git repository with the xen patches
following the xen wiki.... compiled dom0 kernel just fine.

I can boot xen, with grup (old something went odd with grub2 for me) and
then it boots my dom0 kernel fine.

Here I got stuck trying to create a hvm instance for installation of OS.

root@rasnew:/etc/xen# xm create -c /etc/xen/test1.cfg
Using config file "/etc/xen/test1.cfg".
Error: [Errno 2] No such file or directory: '/proc/xen/balloon'

Here is the error I can not figure out. I did search for this and the
common theme you have not enough memory. I am not sure how come ... see
xm info.... it says 6427 MB free

I actually do not have that file, maybe the balloon driver is not
working ?? I checke it is enable in the kernel config:
root@rasnew:/etc/xen# cat /usr/src/linux-2.6-xen/.config|grep CONFIG_XEN*
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=32
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_XEN_DEBUG_FS=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_DOM0_PCI=y
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_NETCHANNEL2=y
CONFIG_XEN_NETDEV2_BACKEND=y
CONFIG_XEN_NETDEV2_FRONTEND=y
CONFIG_XEN_NETDEV2_BYPASSABLE=y
CONFIG_XEN_NETDEV2_BYPASS_ENDPOINT=y
CONFIG_XEN_NETDEV2_AUTOMATIC_BYPASS=y
CONFIG_XEN_KBDDEV_FRONTEND=y
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
# CONFIG_XEN_BLKDEV_TAP is not set
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XEN_PCIDEV_BACKEND=y
CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
# CONFIG_XEN_PCIDEV_BACKEND_PASS is not set
# CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
# CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set
# CONFIG_XEN_PCIDEV_BE_DEBUG is not set
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_S3=y

But then there is no file /proc/xen/balloon

root@rasnew:/etc/xen# ls -lsa /proc/xen
total 0
0 drwxr-xr-x   2 root root 0 2010-01-15 11:37 .
0 dr-xr-xr-x 102 root root 0 2010-01-15 11:33 ..
0 -r--r--r--   1 root root 0 2010-01-15 11:37 capabilities
0 -rw-------   1 root root 0 2010-01-15 11:37 privcmd
0 -rw-------   1 root root 0 2010-01-15 11:37 xenbus
0 -rw-------   1 root root 0 2010-01-15 11:37 xsd_kva
0 -rw-------   1 root root 0 2010-01-15 11:37 xsd_port





Here is the dom0 info

root@rasnew:/etc/xen# xm info
host                   : rasnew
release                : 2.6.31.6
version                : #1 SMP Wed Jan 13 17:26:21 EST 2010
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2992
hw_caps                :
bfebfbff:20100000:00000000:00000140:0408e3fd:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 7519
free_memory            : 6427
node_to_cpu            : node0:0-1
node_to_memory         : node0:6427
xen_major              : 3
xen_minor              : 4
xen_extra              : .2
xen_caps               : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
cc_compile_by          : root
cc_compile_domain      : nyo.unep.org
cc_compile_date        : Thu Jan 14 15:41:02 EST 2010
xend_config_format     : 4

Here is the current Domai 0 info...

root@rasnew:/etc/xen# xm list -l
(domain
    (domid 0)
    (bootloader )
    (on_crash restart)
    (uuid 00000000-0000-0000-0000-000000000000)
    (bootloader_args )
    (vcpus 2)
    (name Domain-0)
    (on_reboot restart)
    (on_poweroff destroy)
    (maxmem 4194303)
    (memory 1024)
    (shadow_memory 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (cpu_time 292.008824927)
    (online_vcpus 2)
    (image (linux (kernel )))
    (status 2)
    (state r-----)
)



Can anyone help me on this ... let me know what other information or
config file I should post...

Regards,

Gabor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktQxwkACgkQcYMbOTV6LVqOFACfTS0gQpD+kZ/pnA8jd8UPwUcO
oX0An0BEp7OGwh6UkJl3yhytw9CzVYgp
=xt+u
-----END PGP SIGNATURE-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users