Jose Rodriguez
2010-May-14 16:00 UTC
[Xen-users] Error: (4, ''Out of memory'', "xc_dom_boot_mem_init: can''t allocate low memory for domain\n")
Hello everyone... I get the following error when i try to creat a virtual machine Error: (4, ''Out of memory'', "xc_dom_boot_mem_init: can''t allocate low memory for domain\n") I''m using Xen under Gentoo, kernel 2.6.32-r1 in a i686 Dual Core AMD Opteron(tm) Processor 290 AuthenticAMD with 16Gb of memory and 4Tb of hard disk. It was a pain to install xen in it but when i finally did it, i get this error whenever i try to create a vm. I checked /var/log/xen/.log and here is some of the stuff i get: *domain-builder-ng.log* virt_entry = 0xffffffff80200000 p2m_base = 0xffffffffffffffff xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff80200000 -> 0xffffffff8072ce88 xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k each xc_dom_mem_init: 0x20000 pages xc_dom_boot_mem_init: called x86_compat: guest xen-3.0-x86_64, address size 64 x86_compat: warning: failed (rc=-1) xc_dom_boot.c:143: panic: xc_dom_boot_mem_init: can''t allocate low memory for domain xc_dom_release: called *xend.log* File "/usr/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 95, in create vm.start() File "/usr/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 456, in start XendTask.log_progress(31, 60, self._initDomain) File "/usr/lib/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2590, in _initDomain raise VmError(str(exn)) VmError: (4, ''Out of memory'', "xc_dom_boot_mem_init: can''t allocate low memory for domain\n") I tried changing the memory of dom0 so i have more left for the domU''s but it didn''t work. I don''t know what else to do here. I''ve searched online, and nothing so far. I will go on w/ my search but if anyone has an idea or sugestion it will be useful. -- A day without sunshine is like, you know...night. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-May-14 18:48 UTC
Re: [Xen-users] Error: (4, ''Out of memory'', "xc_dom_boot_mem_init: can''t allocate low memory for domain\n")
On Fri, May 14, 2010 at 11:30:47AM -0430, Jose Rodriguez wrote:> Hello everyone... > > I get the following error when i try to creat a virtual machine > > Error: (4, ''Out of memory'', "xc_dom_boot_mem_init: can''t allocate low > memory for domain\n") > > I''m using Xen under Gentoo, kernel 2.6.32-r1 in a i686 Dual Core AMD > Opteron(tm) Processor 290 AuthenticAMD with 16Gb of memory and 4Tb of hard > disk. > > It was a pain to install xen in it but when i finally did it, i get this > error whenever i try to create a vm. > > I checked /var/log/xen/.log and here is some of the stuff i get: > > domain-builder-ng.log > > virt_entry = 0xffffffff80200000 > p2m_base = 0xffffffffffffffff > xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff80200000 -> > 0xffffffff8072ce88 > xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k each > xc_dom_mem_init: 0x20000 pages > xc_dom_boot_mem_init: called > x86_compat: guest xen-3.0-x86_64, address size 64 > x86_compat: warning: failed (rc=-1) > xc_dom_boot.c:143: panic: xc_dom_boot_mem_init: can''t allocate low memory > for domain > xc_dom_release: called > > xend.log > > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line > 95, in create > vm.start() > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line > 456, in start > XendTask.log_progress(31, 60, self._initDomain) > File "/usr/lib/python2.6/site-packages/xen/xend/XendTask.py", line 209, > in log_progress > retval = func(*args, **kwds) > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line > 2590, in _initDomain > raise VmError(str(exn)) > VmError: (4, ''Out of memory'', "xc_dom_boot_mem_init: can''t allocate low > memory for domain\n") > > I tried changing the memory of dom0 so i have more left for the domU''s but > it didn''t work. > > I don''t know what else to do here. I''ve searched online, and nothing so > far. I will go on w/ my search but if anyone has an idea or sugestion it > will be useful. >Please paste your dom0 grub.conf. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jose Rodriguez
2010-May-14 19:26 UTC
[Xen-users] Re: Error: (4, ''Out of memory'', "xc_dom_boot_mem_init: can''t allocate low memory for domain\n")
> On Fri, May 14, 2010 at 11:30:47AM -0430, Jose Rodriguez wrote: > > Hello everyone... > > > > I get the following error when i try to creat a virtual machine > > > > Error: (4, ''Out of memory'', "xc_dom_boot_mem_init: can''t allocate low > > memory for domain\n") > > > > I''m using Xen under Gentoo, kernel 2.6.32-r1 in a i686 Dual Core AMD > > Opteron(tm) Processor 290 AuthenticAMD with 16Gb of memory and 4Tb of hard > > disk. > > > > It was a pain to install xen in it but when i finally did it, i get this > > error whenever i try to create a vm. > > > > I checked /var/log/xen/.log and here is some of the stuff i get: > > > > domain-builder-ng.log > > > > virt_entry = 0xffffffff80200000 > > p2m_base = 0xffffffffffffffff > > xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff80200000 -> > > 0xffffffff8072ce88 > > xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k each > > xc_dom_mem_init: 0x20000 pages > > xc_dom_boot_mem_init: called > > x86_compat: guest xen-3.0-x86_64, address size 64 > > x86_compat: warning: failed (rc=-1) > > xc_dom_boot.c:143: panic: xc_dom_boot_mem_init: can''t allocate low memory > > for domain > > xc_dom_release: called > > > > xend.log > > > > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line > > 95, in create > > vm.start() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line > > 456, in start > > XendTask.log_progress(31, 60, self._initDomain) > > File "/usr/lib/python2.6/site-packages/xen/xend/XendTask.py", line 209, > > in log_progress > > retval = func(*args, **kwds) > > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line > > 2590, in _initDomain > > raise VmError(str(exn)) > > VmError: (4, ''Out of memory'', "xc_dom_boot_mem_init: can''t allocate low > > memory for domain\n") > > > > I tried changing the memory of dom0 so i have more left for the domU''s but > > it didn''t work. > > > > I don''t know what else to do here. I''ve searched online, and nothing so > > far. I will go on w/ my search but if anyone has an idea or sugestion it > > will be useful. > > > > Please paste your dom0 grub.conf. > > -- PasiHere is Dom0''s grub.conf: default 0 timeout 5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Xen-2.6.32 root (hd0,0) kernel /boot/xen.gz module /boot/kernel-2.6.32-xen root=/dev/sdy1 title Gentoo Linux 2.6.32-r7 root (hd0,0) kernel /boot/kernel-2.6.32-gentoo-r7 root=/dev/sdy1 real_root=/dev/sdy1 title Gentoo-Xen 3 root (hd0,0) kernel /boot/xen.gz module /boot/kernelXEN3 root=/dev/sdy1 title Gentoo Linux 2.6.27-r8 root (hd0,0) kernel /boot/kernel-2.6.27-gentoo-r8 root=/dev/ram0 real_root=/dev/sdy1 initrd /boot/initramfs-genkernel-x86-2.6.27-gentoo-r8 # vim:ft=conf: _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- Error on xm create: VmError: (38, ''Function not implemented'')
- [Q] VmError: Disk isn''t accessible with tap2:tapdisk:vhd
- Cannot allocate Memory
- tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working - OSError: [Errno 2] No such file or directory
- Cant create new VM: Error -> ERROR (XendDomainInfo:445) VM start failed