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-users@xxxxxxxxxxxxxxxxxxx

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen-users@xxxxxxxxxxxxxxxxxxx
From: Gabor Szilagyi <gabor.szilagyi@xxxxxxxxx>
Date: Sat, 16 Jan 2010 09:04:09 -0500
Delivery-date: Sat, 16 Jan 2010 06:04:50 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=d8SZ+V4aH8wHU98mNqX+kaKZa78rKQt31hUBRCRsTkg=; b=ReqKzb1A3WGUUIKin1HmnbItVO8uKZfC/eq7Pv8KrwUZMSKWIzI4XabWS0CPnft4gs 7aQT4rTSWQMBkGVLvT//Mlf/TUDOZp9aBrW5oQhWPtm20HvdXRXzuLr1b0p5W6aP7jbP lzJYvfWLnjRJ/kItjB6GFJK3r457x/BCdHo8s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oas3Odg/NC6exG3ahZqoN8qzjWDPlJdxPPt9SLbHTusb+ryDpi+kLC9Cr6i6oSfM5T l0bsgPq1+tZk3igoEFaHygZ1v72m5mVNJ3S0UosS+PkjVTGDAd/9ywJLlH7syr5eBwAl 5ETfg9yZC5lRj1uMyojklhCDpquVenm12XlOc=
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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


-- 
Gabor Szilagyi

"He who sacrifices freedom for security is neither secure nor free."

                                                 Benjamin Franklin

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xen-users@xxxxxxxxxxxxxxxxxxx, Gabor Szilagyi <=