> libvir: Xen Daemon error : POST operation failed: (xend.err 'Device  
> 0 (vif) could not be connected. Backend device not found.')


I think that is your elxl0 card not having a GLDv3 driver

On my build 81 system (where I'm using e1000g for my centOS install)

[EMAIL PROTECTED] / $ dladm show-link
e1000g0         type: non-vlan  mtu: 1500       device: e1000g0
rge0            type: non-vlan  mtu: 1500       device: rge0
elxl0           type: legacy    mtu: 1500       device: elxl0

Please note: apparently the format of dvladm command has changed in 85

see:
http://www.opensolaris.org/jive/thread.jspa?messageID=217732&tstart=0

try dladm show-phys according to linked post. (can't test as havn't  
had time to go to build 81 yet)

(this is in response to your comment at 
http://jameslegg.blogspot.com/2008/02/centos-5-dom0-out-of-thin-air.html)

--
Cheers
James



(I havn't had time to move on from 81 recently so can't test)
On 5 Apr 2008, at 19:57, Boris Derzhavets wrote:

> bash-3.2# dladm show-link
> LINK        CLASS    MTU    STATE    OVER
> elxl0       phys     1500   unknown  --
> bash-3.2# svccfg -s xend listprop|grep default-nic
> config/default-nic                  astring  elxl0
> Prepare to install:-
> bash-3.2# ls -l
> total 24021968
> -rw-r--r--   1 root     root     3876421632 Apr  5 14:21 f8.iso
> -rw-r--r--   1 root     root     4442685440 Apr  5 13:59 RHEL51.iso
> -rw-r--r--   1 root     root     3974103040 Apr  4 12:02 snv85.iso
> bash-3.2# lofiadm -a /export/home/isos/RHEL51.iso
> /dev/lofi/1
> bash-3.2# mount -o ro -F hsfs /dev/lofi/1  /mnt
> bash-3.2# share -F nfs  /mnt
> ********************
> Run virt-install:-
> ********************
>
> bash-3.2# virt-install -n CentOS51 -r 512 --vcpus=1 --nographics -- 
> os-type=linux \
> -p  -f /dev/zvol/dsk/vmpool/snv85-disk  -l nfs:192.168.1.41:/mnt -d
>
> Starting install...
>
> libvir: Xen Daemon error : GET operation failed:
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Preparing mount at /var/lib/xen/ 
> virtinstmnt.-UNNat
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Acquiring file from /var/lib/xen/ 
> virtinstmnt.-UNNat/Fedora
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Cannot find file Fedora
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Acquiring file from /var/lib/xen/ 
> virtinstmnt.-UNNat/Server
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Cannot find file Server
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Acquiring file from /var/lib/xen/ 
> virtinstmnt.-UNNat/RedHat
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Cannot find file RedHat
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Acquiring file from /var/lib/xen/ 
> virtinstmnt.-UNNat/CentOS
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Found a directory
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Detected a CentOS distro
>
> Sat, 05 Apr 2008 14:46:34 DEBUG    Acquiring file from /var/lib/xen/ 
> virtinstmnt.-UNNat/images/xen/vmlinuz
>
> Sat, 05 Apr 2008 14:48:04 DEBUG    Saved file to /var/lib/xen/ 
> virtinst-vmlinuz.g6ZzaX
>
> Sat, 05 Apr 2008 14:48:04 DEBUG    Acquiring file from /var/lib/xen/ 
> virtinstmnt.-UNNat/images/xen/initrd.img
>
> Sat, 05 Apr 2008 14:48:04 DEBUG    Saved file to /var/lib/xen/ 
> virtinst-initrd.img.3f7zza
>
> Sat, 05 Apr 2008 14:48:04 DEBUG    Cleaning up mount at /var/lib/xen/ 
> virtinstmnt.-UNNat
>
> libvir: Xen Daemon error : GET operation failed:
>
> Sat, 05 Apr 2008 14:48:04 DEBUG    Creating guest from '<domain  
> type='xen'>
>
>  <name>CentOS51</name>
>
>  <currentMemory>524288</currentMemory>
>
>  <memory>524288</memory>
>
> <uuid>0bc0af1a-7359-903e-1fcf-745172cd3942</uuid>
>
>  <os>
>
>    <type>linux</type>
>
>    <kernel>/var/lib/xen/virtinst-vmlinuz.g6ZzaX</kernel>
>
>    <initrd>/var/lib/xen/virtinst-initrd.img.3f7zza</ 
> initrd>
>
>    <cmdline> method=nfs:192.168.1.41:/mnt</cmdline>
>
>  </os>
>
>  <on_poweroff>destroy</on_poweroff>
>
>  <on_reboot>destroy</on_reboot>
>
>  <on_crash>destroy</on_crash>
>
>  <vcpu>1</vcpu>
>
>  <devices>
>
>    <disk type='block' device='disk'>
>
>      <source dev='/dev/zvol/dsk/vmpool/snv85-disk'/>
>
>      <target dev='xvda'/>
>
>    </disk>
>
>
>
>    <interface type='bridge'>
>
>      <source bridge=''/>
>
>      <mac address='00:16:3e:02:63:ff'/>
>
>    </interface>
>
>
>
>
>
>  </devices>
>
> </domain>
>
> '
>
> libvir: Xen Daemon error : POST operation failed: (xend.err 'Device  
> 0 (vif) could not be connected. Backend device not found.')
>
> Sat, 05 Apr 2008 14:48:07 DEBUG    Removing /var/lib/xen/virtinst- 
> vmlinuz.g6ZzaX
>
> Sat, 05 Apr 2008 14:48:07 DEBUG    Removing /var/lib/xen/virtinst- 
> initrd.img.3f7zza
>
> 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_85/proto/install/usr/lib/python2.4/site- 
> packages/virtinst/Guest.py", line 638, in start_install
>
>  File "/export/builds/xvm_85/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 585, in  
> createLinux
>
>    if ret is None:raise libvirtError('virDomainCreateLinux()  
> failed', conn=self)
>
> libvirt.libvirtError: virDomainCreateLinux() failed POST operation  
> failed: (xend.err 'Device 0 (vif) could not be connected. Backend  
> device not found.')
>
> bash-3.2#
>
>
> This message posted from opensolaris.org
> _______________________________________________
> xen-discuss mailing list
> [email protected]

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to