[Fedora-xen] Error creating domain in RHEL5 dom0_min_mem

Deependra Shekhawat jeevanullas at gmail.com
Sun Mar 4 17:54:30 UTC 2007


Okay. I got rid of that error. I opened /etc/xen/xend-config.sxp and edited
the
dom0-min-men to 220. But now I have some new errors:
Starting install...
libvir: Xen Daemon error : GET operation failed: No such domain rhel5b2-pv1
libvir: Xen Daemon error : POST operation failed: (xend.err 'Device 0 (vif)
could not be connected. Hotplug scripts not working.')
Failed to get devices for domain rhel5b2-pv1
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 406, in ?
    main()
  File "/usr/sbin/virt-install", line 370, in main
    dom = guest.start_install(conscb)
  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line
202, in start_install
    return XenGuest.XenGuest.start_install(self, consolecb)
  File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 355, in
start_install
    self.domain = self.conn.createLinux(cxml, 0)
  File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in
createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed')
libvirt.libvirtError: virDomainCreateLinux() failed

And I have total physical RAM of 512M of which I gave 256M to dom0 and rest
of all I want to give to my dom1. Please help with the above error. I found
that it has been under bugzilla at redhat. But maybe now there exists some
solution to this.

Regards
On 3/4/07, Andrew Cathrow <acathrow at redhat.com> wrote:
>
>  So your dom0 is set to keep 256M (262144) of memory.
> For a RHEL/FC6 guest 256MB is really the base for the install to run in
> anaconda - you'll get mixed results with less, although after install you
> can safely drop it down.
> Are you saying that you have 512MB total available or 512 free after dom0
> takes it's share?
> It looks like you're asking for 262144 kb (256MB) of memory for your guest
> is that right ?
>
> What does xm list show for dom0's memory - have you tried running xm
> mem-set in dom0 to reduce it's memory?
>
>
>
>
> On Sun, 2007-03-04 at 20:15 +0530, Deependra Shekhawat wrote:
>
> Hello,
> I am trying to install RHEL5 beta2 as a virtual machine in RHEL5 beta2.
> But all the time I get this error:
> Starting install...
> libvir: Xen Daemon error : GET operation failed: No such domain
> rhel5b2-pv1
> libvir: Xen Daemon error : POST operation failed: (xend.err 'Error
> creating domain: I need 262144 KiB, but dom0_min_mem is 262144 and shrinking
> to 262144 KiB would leave only 235124 KiB free.')
> Failed to create domain rhel5b2-pv1
> Traceback (most recent call last):
>   File "/usr/sbin/virt-install", line 406, in ?
>     main()
>   File "/usr/sbin/virt-install", line 370, in main
>     dom = guest.start_install(conscb)
>   File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line
> 202, in start_install
>     return XenGuest.XenGuest.start_install(self, consolecb)
>   File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 355,
> in start_install
>     self.domain = self.conn.createLinux(cxml, 0)
>   File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in
> createLinux
>     if ret is None:raise libvirtError('virDomainCreateLinux() failed')
> libvirt.libvirtError: virDomainCreateLinux() failed
>
> Note that I have tried both GUI and command line but all the time the same
> error.
> Here is my grub.conf file:
> title Red Hat Enterprise Linux Client (2.6.18-1.2747.el5xen )
>         root (hd0,5)
>         kernel /boot/xen.gz-2.6.18-1.2747.el5 dom0_mem=256M
>         module /boot/vmlinuz-2.6.18-1.2747.el5xen ro root=LABEL=/ rhgb
> quiet
>         module /boot/initrd-2.6.18-1.2747.el5xen.img
>
> Note that I have only 512 MB RAM available.
> Please help.
>
> Regards
> Deependra Shekhawat
>
>
> --Fedora-xen mailing listFedora-xen at redhat.comhttps://www.redhat.com/mailman/listinfo/fedora-xen
>
>     --
>
> Andrew Cathrow
> Red Hat, Inc.
>
> (678) 733 0452 - Mobile
> (404) 437 6178 - Home Office
>
> acathrow at redhat.com
>
>


-- 
Enjoy Life !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20070304/1ad48d78/attachment.htm>


More information about the Fedora-xen mailing list