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

Re: [Xen-users] Problem with dom0 on debian

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problem with dom0 on debian
From: Thomas Ronner <thomas@xxxxxxxxxx>
Date: Fri, 01 Apr 2011 15:14:19 +0200
Delivery-date: Fri, 01 Apr 2011 06:16:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D95CAC4.807@xxxxxxxxx>
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: <4D95CAC4.807@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8
Hi,

On 04/01/2011 02:53 PM, tower wrote:
One week ago i've created 4th instance via xen-create-image (just like 3 previous) but with 200GB img. Create was successful, but when i try `xm create /etc/xen/virt4.cfg' and that machine just started, dom0 was completly frozen and on tty console was some strange messages which unfortunately i dont remember.

First thing to try is to give dom0 a fixed amount of memory.

Edit /boot/grub/menu.lst. It should have a line that says

# xenhopt=

Change that line to

# xenhopt=dom0_mem=768M

Keep the # at the beginning of the line. The value of 768M works for me, maybe you can get away with less. This depends on how many domUs you have and whether you have HVM domUs or not. The next step will apply this value to the various grub entries for xen. Run:

  update-grub

Check menu.lst. The xen boot entry should look like:

title Xen 3.2-1-amd64 / Debian GNU/Linux, kernel 2.6.26-2-xen-amd64
root            (hd0,0)
kernel          /xen-3.2-1-amd64.gz dom0_mem=768M
module          /vmlinuz-2.6.26-2-xen-amd64 root=/dev/md1 ro console=tty0
module          /initrd.img-2.6.26-2-xen-amd64


Now edit /etc/xen/xend-config.sxp. Find a (probably commented out) line that says

(dom0-min-mem x)

where x is some value. Uncomment this line and make x=0, so it reads:

(dom0-min-mem 0)


Now reboot your dom0.


Does this fix your problem?



Regards,
Thomas

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

<Prev in Thread] Current Thread [Next in Thread>