There is OpenSolaris on dom0.
I''ve tuned xend:
svccfg -s xvm/xend setprop config/default-nic="bnx"
svcadm refresh xvm/xend
svcadm restart xvm/xend
and rerun the virt-install, but it returned error again:
virt-install --nographics -n domu1 -p -f /domu1.img -s 12 -r 1024 -l
/sol-nv-b89-x86-dvd.iso -d
Starting install...
Tue, 03 Jun 2008 14:16:11 DEBUG Preparing mount at
/var/lib/xen/virtinstmnt.QKkDO5
Tue, 03 Jun 2008 14:16:11 DEBUG loopmnt file
/cs/systems/vahid/Images/sol-nv-b89-x86-dvd.iso
Tue, 03 Jun 2008 14:16:11 DEBUG mount at /var/lib/xen/virtinstmnt.QKkDO5
Tue, 03 Jun 2008 14:16:11 DEBUG mounting
/dev/lofi/1/var/lib/xen/virtinstmnt.QKkDO5
Tue, 03 Jun 2008 14:16:11 DEBUG Acquiring file from
/var/lib/xen/virtinstmnt.QKkDO5/Fedora
Tue, 03 Jun 2008 14:16:11 DEBUG Cannot find file Fedora
Tue, 03 Jun 2008 14:16:11 DEBUG Acquiring file from
/var/lib/xen/virtinstmnt.QKkDO5/Server
Tue, 03 Jun 2008 14:16:11 DEBUG Cannot find file Server
Tue, 03 Jun 2008 14:16:11 DEBUG Acquiring file from
/var/lib/xen/virtinstmnt.QKkDO5/RedHat
Tue, 03 Jun 2008 14:16:11 DEBUG Cannot find file RedHat
Tue, 03 Jun 2008 14:16:11 DEBUG Acquiring file from
/var/lib/xen/virtinstmnt.QKkDO5/CentOS
Tue, 03 Jun 2008 14:16:11 DEBUG Cannot find file CentOS
Tue, 03 Jun 2008 14:16:11 DEBUG Acquiring file from
/var/lib/xen/virtinstmnt.QKkDO5/directory.yast
Tue, 03 Jun 2008 14:16:11 DEBUG Doesn''t look like a Suse distro
Invalid location given: No such file or directory
Tue, 03 Jun 2008 14:16:11 DEBUG Acquiring file from
/var/lib/xen/virtinstmnt.QKkDO5/boot/platform/i86xpv/kernel/unix
Tue, 03 Jun 2008 14:16:11 DEBUG Saved file to
/var/lib/xen/virtinst-unix.JdSN4W
Tue, 03 Jun 2008 14:16:11 DEBUG Detected a Solaris distro
Tue, 03 Jun 2008 14:16:11 DEBUG Acquiring file from
/var/lib/xen/virtinstmnt.QKkDO5/boot/platform/i86xpv/kernel/amd64/unix
Tue, 03 Jun 2008 14:16:11 DEBUG Saved file to
/var/lib/xen/virtinst-unix.jj9zeS
Tue, 03 Jun 2008 14:16:11 DEBUG Acquiring file from
/var/lib/xen/virtinstmnt.QKkDO5/boot/amd64/x86.miniroot
Tue, 03 Jun 2008 14:16:22 DEBUG Saved file to
/var/lib/xen/virtinst-x86.miniroot.eRe6_S
Tue, 03 Jun 2008 14:16:22 DEBUG Cleaning up mount at
/var/lib/xen/virtinstmnt.QKkDO5
Creating storage file... 100% |=========================| 12.0 GB 00:00
Tue, 03 Jun 2008 14:16:22 DEBUG Creating guest from ''<domain
type=''xen''>
<name>domu1</name>
<currentMemory>1048576</currentMemory>
<memory>1048576</memory>
<uuid>7dc91fa6-dc4e-cf67-7873-e6dc45c44914</uuid>
<os>
<type>linux</type>
<kernel>/var/lib/xen/virtinst-unix.jj9zeS</kernel>
<initrd>/var/lib/xen/virtinst-x86.miniroot.eRe6_S</initrd>
<cmdline>/platform/i86xpv/kernel/amd64/unix - nowin -B
install_media=cdrom</cmdline>
</os>
<on_poweroff>destroy</on_poweroff>
<on_reboot>destroy</on_reboot>
<on_crash>destroy</on_crash>
<vcpu>1</vcpu>
<devices>
<disk type=''file'' device=''disk''>
<source file=''/domu1.img''/>
<target dev=''0''/>
</disk>
<disk type=''file'' device=''cdrom''>
<source file=''/sol-nv-b89-x86-dvd.iso''/>
<target dev=''1:cdrom''/>
<readonly/>
</disk>
<interface type=''bridge''>
<source bridge=''''/>
<mac address=''00:16:3e:32:72:bf''/>
</interface>
</devices>
</domain>
''
libvir: Xen Daemon error : POST operation failed: (xend.err )
Tue, 03 Jun 2008 14:16:40 DEBUG Removing /var/lib/xen/virtinst-unix.jj9zeS
Tue, 03 Jun 2008 14:16:40 DEBUG Removing
/var/lib/xen/virtinst-x86.miniroot.eRe6_S
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 )
This message posted from opensolaris.org