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] Re: xm mem-set Domain-0 box went poof

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: xm mem-set Domain-0 box went poof
From: Brandon Lamb <brandonlamb@xxxxxxxxx>
Date: Sun, 14 Mar 2010 02:03:33 -0800
Delivery-date: Sun, 14 Mar 2010 03:07:22 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=VuiuV+tPn58OutFRj3gZ4OJZzXyQNTeBmEvzuZdZ7Tk=; b=RWc513tLxHpfNZhElROaynwqlwYdGKLhfbe81eV9i5KKXzVEhzq2Fe2fJk7gfmOqUz SUrH7qKX/XD64PFqrB0lUF/H8Njp47TJ97gvXIgks3+NvGjRce7A46WeBvpxw0Wcj/gb 4K6QQ9YbxPuUz8BbRWPHM72Hf/6YUCCraayj4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=L5uN8R2SezkKpV3CeO/HBywmeMLeLOM1rwJ/eHY0+XmlYvRB1hhteJP1HR28Qq0JjH 9sKs9N8y0OBXQuuHscQsg2SHTbxx+fhsIYFqsQ8Lsajtrba1xgvXqqwmYCoJDso8PzAf ieJkunULAnGjI500pb5MmmpLux+1N9I3xMR4o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f25c44611003140149m2864781bs8f4b0eff6be8de9a@xxxxxxxxxxxxxx>
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>
References: <f25c44611003140149m2864781bs8f4b0eff6be8de9a@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, Mar 14, 2010 at 1:49 AM, Brandon Lamb <brandonlamb@xxxxxxxxx> wrote:
> On a fresh reboot
>
> free:
>       total   used    free shared buffers cached
> Mem: 3371340 448156 2923184      0    5328  77840
>
> ----------
>
> top:
> Mem:   3371340k total,   449044k used,  2922296k free,     5344k buffers
>
> ----------
>
> xentop - 01:44:00   Xen 3.4.3-rc4-pre
> 1 domains: 1 running, 0 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
> Mem: 4160828k total, 4022996k used, 137832k free    CPUs: 4 @ 2308MHz
>      NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k)
> MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR
> SSID
>  Domain-0 -----r        109    2.2    3965032   95.3   no limit       n/a     
> 4
>
> ----------
>
> xm mem-set Domain-0 512
>
> xentop showed ~1G memory (26% memory), then right after this i tried
>
> xm mem-set Domain-0 192
>
> ... box died with caps and scroll lock flashing.
>
> I had dom0_mem=512, dom0-min-mem=192
>
> xen-3.4-testing-hg and xen/master kernel from jeremy's git repo

Rebooted, this time did xm mem-set Domain-0 448, no crashes.

xentop - 01:58:54   Xen 3.4.3-rc4-pre
1 domains: 1 running, 0 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 4160828k total, 1113620k used, 3047208k free    CPUs: 4 @ 2308MHz
      NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k)
MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR
SSID
  Domain-0 -----r        123    1.8    1055656   25.4   no limit
n/a     4    0        0        0    0        0        0        0    0

So this look to me like I *should* have 3 gigs free, why its still
saying that its using 1gig is beyond me. Anyhow, now I try to start my
guest...

xen1:/etc/xen# xm create syslog.cfg
Using config file "./syslog.cfg".
Error: (4, 'Out of memory', 'xc_dom_alloc_segment: segment ramdisk too
large (0xef4f > 0x10000 - 0x26e0 pages)\n')

xen1:/etc/xen# cat syslog.cfg
kernel      = '/boot/vmlinuz-2.6.31.12'
ramdisk     = '/boot/initrd.img-2.6.31.12'
memory      = '256'
#maxmem         = '384'
root        = '/dev/xvda ro'
disk        = ['phy:/dev/volumes/syslog,xvda,w']
name        = 'syslog'
vcpus           = 1
vif         = [ 'ip=208.200.248.121, mac=00:16:3E:36:9C:15,
bridge=xenbr0, model=e1000' ]
vfb                     = ['vnc=1, vnclisten=0.0.0.0, vncunused=1']
serial          = 'pty'
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

/dev/volumes/syslog is on lvm.

I dont get it, I had this working fine on another box argh. The last
thing I just did was remove all /boot files related to xen, dom0
kernel etc, did make uninstall in xen-testing and then copied over
tarballs of my working install, then ran the make install and copied
my xend-config over. Why does this hate me so

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