Harald Schioeberg
2006-Jun-20  15:13 UTC
[Xen-users] memory problem, possible bug in testing
Hello, i have this problem:
Hawaii0 xen # xm create Hawaii1
Using config file "Hawaii1".
Error: I need 129 MiB, but dom0_min_mem is 128 and shrinking to 128 MiB
would leave only 68 MiB free.
But I really have enough memory.
additional info:
hawaii0 xen # xm info
host                   : hawaii0
release                : 2.6.16.13-xen
version                : #2 SMP Tue Jun 20 15:47:17 EDT 2006
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 1
threads_per_core       : 2
cpu_mhz                : 3010
hw_caps                :
000325af:00000000:bfebfbff:20000000:00000000:00000180:0000649d
total_memory           : 1024
free_memory            : 0
xen_major              : 3
xen_minor              : 0
xen_extra              : .2-3
xen_caps               : xen-3.0-x86_32
platform_params        : virt_start=0xfc000000
xen_changeset          : Sat Jun 17 12:48:07 2006 +0100 9749:ec2ac5a5f0a3
cc_compiler            : gcc version 3.4.5 (Gentoo 3.4.5-r1,
ssp-3.4.5-1.0, pie-8.7.9)
cc_compile_by          : root
cc_compile_domain      : (none)
cc_compile_date        : Mon Jun 19 15:50:56 Local time
hawaii0 xen # cat Hawaii1 | grep -v ^# | grep -v ^$
kernel = "/boot/vmlinuz-2.6.16-xenU"
memory = 128
name = "Hawaii1"
vcpus = 2
vif = [ ''mac=00:16:3e:00:00:01, bridge=xenbr0,
vifname=vif1.0'',
        ''mac=00:16:3e:01:00:01, bridge=xenbr1,
vifname=vif1.1'',
        ''mac=00:16:3e:01:00:02, bridge=xenbr3,
vifname=vif1.2'']
disk = [ ''phy:hda5,hda1,w'' ]
root = "/dev/hda1 ro"
on_poweroff = ''destroy''
on_reboot   = ''restart''
on_crash    = ''preserve''
hawaii0 xen # cat xend-config.sxp | grep -v ^# | grep -v ^$
(xend-relocation-server yes)
(xend-relocation-hosts-allow ''^localhost$'')
(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 128)
(dom0-cpus 0)
hawaii0 xen # cat /boot/grub/menu.lst
timeout 10
default 0
title Xen
root (hd0,0)
kernel /boot/xen.gz dom0_mem=200704
module /boot/vmlinux-syms-2.6.16.13-xen root=/dev/hda1
loopback.nloopbacks=32
title Xen / Linux.old
root (hd0,0)
kernel /boot/xen.gz dom0_mem=200704
module /boot/vmlinux-syms-2.6.16-xen root=/dev/hda1 loopback.nloopbacks=32
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
David Becker
2006-Jul-03  14:40 UTC
Re: [Xen-users] memory problem, possible bug in testing
I hit the same problem: xm reports zero free_memory as soon as xen0 boots. This seems to be due to xend using an old version of the pythong files. The bug happened when I only copied xen distribution files to /usr/lib/python/xen. If I copy from dist/install/usr/lib/python/xen to /usr/lib/python2.3/ and restarted xend, it sees free_memory. Must have to with XEN_PYTHON_NATIVE_INSTALL but I don''t do python and and just left that alone. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users