I am trying to create a DomU guest domain to run snv77 over an a snv77 host, following the instructions and example in http://opensolaris.org/os/community/xen/docs/virt-install.html. I booted the xVM partition (selected xVM from the grub menu). virt-install spends 2 or 3 minutes after "Starting install ..." then fails. here''s what I get: bash-3.2# virt-install --name crossbow_domain --ram 1024 -l /Desktop/solarisdvd.iso -f /dev/dsk/c0d0s5 --paravirt Would you like to enable graphics support? (yes or no) yes Starting install... libvir: Xen Daemon error : POST operation failed: (xend.err ) Traceback (most recent call last): File "/usr/bin/virt-install", line 657, in ? main() File "/usr/bin/virt-install", line 606, in main dom = guest.start_install(conscb,progresscb) File "/export/builds/xvm_77/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 638, in start_install File "/export/builds/xvm_77/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 655, in _do_install File "/usr/lib/python2.4/vendor-packages/libvirt.py", line 503, in createLinux if ret is None:raise libvirtError(''virDomainCreateLinux() failed'', conn=self) libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err ) the behavior is the same with and without the ''--paravirt'', and with the use of a path to a mounted dvd as a path to the iso image. any help? thanks, Kais.
Kais Belgaied wrote:> I am trying to create a DomU guest domain to run snv77 over an a snv77 > host, following the instructions and > example in > http://opensolaris.org/os/community/xen/docs/virt-install.html. > I booted the xVM partition (selected xVM from the grub menu). > > virt-install spends 2 or 3 minutes after "Starting install ..." then fails. > here''s what I get: > > bash-3.2# virt-install --name crossbow_domain --ram 1024 -l > /Desktop/solarisdvd.iso -f /dev/dsk/c0d0s5 --paravirt > Would you like to enable graphics support? (yes or no) yes > > > Starting install... > libvir: Xen Daemon error : POST operation failed: (xend.err ) > Traceback (most recent call last): > File "/usr/bin/virt-install", line 657, in ? > main() > File "/usr/bin/virt-install", line 606, in main > dom = guest.start_install(conscb,progresscb) > File > "/export/builds/xvm_77/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", > line 638, in start_install > File > "/export/builds/xvm_77/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", > line 655, in _do_install > File "/usr/lib/python2.4/vendor-packages/libvirt.py", line 503, in > createLinux > if ret is None:raise libvirtError(''virDomainCreateLinux() failed'', > conn=self) > libvirt.libvirtError: virDomainCreateLinux() failed POST operation > failed: (xend.err ) > > > the behavior is the same with and without the ''--paravirt'', and with the > use of a path to a mounted dvd as a path to the iso image. > > any help? > > thanks, > Kais. > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >Kais, try using a physical dvd-rom? Anyone care to tell me why Xen is hardcoded to configure every guest for Linux? I find it kinda odd, since some "hacks" are not needed or affect the wrong parts of other operating systems, eg: FreeBSD or Solaris 10 under Xen DomU. Or is it just an oversight of generalization for it being used pervasively throughout the scripts and commands? James
Thanks Jim for the reply. James Cornell wrote:> > Kais, try using a physical dvd-rom? >yep. no success. I still get: bash-3.2# virt-install --name crossbow_domain --ram 1024 -l /dev/dsk/c1t0d0s2 -f /dev/dsk/c0d0s5 --paravirt Would you like to enable graphics support? (yes or no) yes Starting install... libvir: Xen Daemon error : POST operation failed: (xend.err ) Traceback (most recent call last): File "/usr/bin/virt-install", line 657, in ? main() File "/usr/bin/virt-install", line 606, in main dom = guest.start_install(conscb,progresscb) File "/export/builds/xvm_77/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 638, in start_install File "/export/builds/xvm_77/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 655, in _do_install File "/usr/lib/python2.4/vendor-packages/libvirt.py", line 503, in createLinux if ret is None:raise libvirtError(''virDomainCreateLinux() failed'', conn=self) libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err ) the call to "createLinux" is indeed supicious. Kais.> Anyone care to tell me why Xen is hardcoded to configure every guest for > Linux? I find it kinda odd, since some "hacks" are not needed or affect > the wrong parts of other operating systems, eg: FreeBSD or Solaris 10 > under Xen DomU. Or is it just an oversight of generalization for it > being used pervasively throughout the scripts and commands? > > James > >
On Wed, Nov 21, 2007 at 06:01:01PM -0800, James Cornell wrote:> Anyone care to tell me why Xen is hardcoded to configure every guest for > Linux? I find it kinda odd, since some "hacks" are not needed or affect > the wrong parts of other operating systems, eg: FreeBSD or Solaris 10 > under Xen DomU. Or is it just an oversight of generalization for it > being used pervasively throughout the scripts and commands?It''s just an internal naming thing and should be ignored. (virt-install shouldn''t be giving us these ridiculous backtraces, but little work has yet gone into cleaning up the error reporting to be of the usual standard). Kais, try answering ''no'' to the graphics question - it won''t work for PV Solaris. regards john
John Levon wrote:> Kais, try answering ''no'' to the graphics question - it won''t work for PV > Solaris. > >78 over 78 with ''no'' graphics worked! the guest installation took about 54 minutes on a 2-way opteron, 2GHz. Thanks John, Kais> regards > john > >
Somehow I can''t get it to work. Im using svn79a (SXDE 1/08) and Im trying to run SXCE 83a as domU: # virt-install --paravirt What is the name of your virtual machine? solarisPV How much RAM should be allocated (in megabytes)? 1024 What would you like to use as the disk (path)? /export/solarisPV/nv83a.img How large would you like the disk (/export/solarisPV/nv83a.img) to be (in gigabytes)? 20 Would you like to enable graphics support? (yes or no) no What is the install location? /export/home/arpunk/sol-nv-b83a-x86-dvd.iso Starting install... Creating storage file... 100% |=========================| 20 GB 00:00 libvir: Xen Daemon error : POST operation failed: (xend.err ) Traceback (most recent call last): File "/usr/bin/virt-install", line 657, in ? main() File "/usr/bin/virt-install", line 606, in main dom = guest.start_install(conscb,progresscb) File "/export/builds/xvm_79a/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 638, in start_install File "/export/builds/xvm_79a/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 655, in _do_install File "/usr/lib/python2.4/vendor-packages/libvirt.py", line 503, in createLinux if ret is None:raise libvirtError(''virDomainCreateLinux() failed'', conn=self) libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err ) # Any hints? This message posted from opensolaris.org