[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.