Hi
after getting the domO running the installation of a windows domU fails
because a tap driver is missing(?).
xm list
Name                                        ID   Mem VCPUs      State
Time(s)
Domain-0                                     0  7013     8     r-----
584.4
[EMAIL PROTECTED]:~# 



/usr/lib/xen/scripts# dladm show-link
LINK        CLASS    MTU    STATE    OVER
nge0        phys     1500   up       --
nge1        phys     1500   down     --
bge0        phys     1500   down     --
bge1        phys     1500   up       --
[EMAIL PROTECTED]:/usr/lib/xen/scripts# 

 virt-install -d -b nge0 -n winxp --hvm -r 1024 --vnc
-f /var/images/winxp.img -s 16 -c /u01/iso/winxp.iso
Mi, 10 Sep 2008 14:48:10 DEBUG    DistroInstaller location is a local
file/path: /u01/iso/winxp.iso


Starting install...
Mi, 10 Sep 2008 14:48:10 DEBUG    Creating guest from '<domain
type='xen'>
  <name>winxp</name>
  <currentMemory>1048576</currentMemory>
  <memory>1048576</memory>
  <uuid>f705cde0-e00b-fd7b-1f6d-f1cfbe5155c4</uuid>
  <os>
    <type arch='i686'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><pae/>
  </features>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu>1</vcpu>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <console device='pty'/>
    <disk type='file' device='disk'>
      <source file='/var/images/winxp.img'/>
      <target dev='hda'/>
    </disk>
    <disk type='file' device='cdrom'>
      <source file='/u01/iso/winxp.iso'/>
      <target dev='hdc'/>
      <readonly/>
    </disk>

    <interface type='bridge'>
      <source bridge='nge0'/>
      <mac address='00:16:3e:6d:0f:f9'/>
    </interface>

    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5901' />
  </devices>
</domain>
'
virDomainCreateLinux() failed POST operation failed: (xend.err 'Device 0
(vif) could not be connected. Hotplug scripts not working.')
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start winxp'; otherwise, please
 restart your installation.
Mi, 10 Sep 2008 14:49:52 ERROR    virDomainCreateLinux() failed POST
operation failed: (xend.err 'Device 0 (vif) could not be connected.
Hotplug scripts not working.')
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 511, in ?
    main()
  File "/usr/bin/virt-install", line 471, in main
    dom = guest.start_install(conscb,progresscb)
  File
"/export/builds/xvm_96///proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py",
 line 889, in start_install
  File
"/export/builds/xvm_96///proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py",
 line 910, in _do_install
  File "libvirt.py", line 585, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed:
(xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not
working.')

ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
        inet 127.0.0.1 netmask ff000000 
nge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu
1500 index 2
        inet 192.168.2.223 netmask ffffff00 broadcast 192.168.2.255
        ether 0:1e:68:65:a2:fb 
nge1: flags=201004803<UP,BROADCAST,MULTICAST,DHCP,IPv4,CoS> mtu 1500
index 3
        inet 0.0.0.0 netmask ff000000 
        ether 0:1e:68:65:a2:fc 
bge0: flags=201004803<UP,BROADCAST,MULTICAST,DHCP,IPv4,CoS> mtu 1500
index 4
        inet 0.0.0.0 netmask ff000000 
        ether 0:1e:68:65:a2:f9 
bge1: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500
index 5
        inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
        ether 0:1e:68:65:a2:fa 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
8252 index 1
        inet6 ::1/128 


qemu-dm.log

domid: 6
qemu: the number of cpus is 1
Watching /local/domain/6/logdirty/next-active
net_tap_get_nic: timeout waiting for hotplug
at /local/domain/0/backend/vif/6/0/hotplug-status
net_tap_init: nic = NULL, setphysaddr = 0
Could not initialize device 'tap'

Regards Juergen 



_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to