Hi, I try to install a windows XP on my note book base on 5.11 snv_75, but each time I have this error. Could you help me to found the problem ? See below the configuration and the result of the command. thanks a lot Philippe # xm create winxp1.hvm Using config file "./winxp1.hvm". Error: #xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1532 2 r----- 200.9 #more winxp1.hvm disk = [ ''file:/data/winxp/winxp-disk.raw,hdc,w'', ''file:/Desktop/SW_CD_Windows_XP_Professional_English_1_SP2_ISO_X10-84771.ISO,hda :cdrom,r'' ] memory = 460 name = "winxp_sp2" kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' vif = [ ''type=ioemu'' ] on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''preserve'' boot=''d'' vnc=1 vnclisten="0.0.0.0" vncpasswd='''' serial=''null'' usb=1 usbdevice="tablet" import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' This message posted from opensolaris.org
> I try to install a windows XP on my note book base on > 5.11 snv_75, but each time I have this error. Could > you help me to found the problem ?> # xm create winxp1.hvm > Using config file "./winxp1.hvm". > Error:Check the log files in /var/log/xen/ You''ll probably find some kind of ERROR exception logged to /var/log/xen/xend.log when the "xm create winxp1.hvm" fails. Last time I got this "Error" message was, when the "disk" image file configuration parameter referred to a non-existing file. Do both /data/winxp/winxp-disk.raw and /Desktop/SW_CD_Windows_XP_Professional_English_1_SP2_ISO_X10-84771.ISO exist as files? But I guess there are lots of other reasons why xm create could fail, so you should check the log files for the exact reason... This message posted from opensolaris.org
Philippe Fragniere
2007-Oct-30 14:17 UTC
Re: Installation windows XP failed on the version 75
Hi, I checked my logs and I found that on the qemu-dm.1170.log and xpvd-event.log I see some problem with vncpasswd Thanks Philippe # more qemu-dm.1170.log domid: 2 qemu: the number of cpus is 1 net_tap_get_nic: timeout waiting for hotplug at /local/domain/0/backend/vif/2/0/ hotplug-status net_tap_init: nic = NULL, setphysaddr = 0 Could not initialize device ''tap'' d get error. /vm/baa47ee8-914c-dca9-ef62-a204141cefff/vncpasswd. Register xen platform. Done register platform. register acpi io I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 # more xpvd-event.log scripts=/usr/lib/xen/scripts PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin + export PATH + eval action=add domain=2 vdev=5632 device=xdb0 devclass=vbd febe=backend febe=backend devclass=vbd device=xdb0 vdev=5632 domain=2 action=add devscript=/usr/lib/xen/scripts/vbd-event path=backend/vbd/2/5632 + [ -x /usr/lib/xen/scripts/vbd-event ] + exec /usr/lib/xen/scripts/vbd-event path=backend/vbd/2/5632 action=add domain2 vdev=5632 device=xdb0 devclass=vbd febe=backend + eval path=backend/vbd/2/5632 action=add domain=2 vdev=5632 device=xdb0 devclas s=vbd febe=backend febe=backend devclass=vbd device=xdb0 vdev=5632 domain=2 action=add path=backend /vbd/2/5632 + xenstore-read backend/vbd/2/5632/type type=file + xenstore-read backend/vbd/2/5632/params file=/data/winxp/winxp-disk.raw + [ file = file ] + [ ! -f /data/winxp/winxp-disk.raw ] + xenstore-write backend/vbd/2/5632/physical-device 0:0 + connect + xenstore-write backend/vbd/2/5632/hotplug-status connected + exit scripts=/usr/lib/xen/scripts PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin + export PATH + eval action=add domain=2 vdev=768 device=xdb1 devclass=vbd febe=backend febe=backend devclass=vbd device=xdb1 vdev=768 domain=2 action=add devscript=/usr/lib/xen/scripts/vbd-event path=backend/vbd/2/768 + [ -x /usr/lib/xen/scripts/vbd-event ] + exec /usr/lib/xen/scripts/vbd-event path=backend/vbd/2/768 action=add domain=2 vdev=768 device=xdb1 devclass=vbd febe=backend + eval path=backend/vbd/2/768 action=add domain=2 vdev=768 device=xdb1 devclassvbd febe=backend febe=backend devclass=vbd device=xdb1 vdev=768 domain=2 action=add path=backend/ vbd/2/768 + xenstore-read backend/vbd/2/768/type type=file + xenstore-read backend/vbd/2/768/params file=/Desktop/SW_CD_Windows_XP_Professional_English_1_SP2_ISO_X10-84771.ISO + [ file = file ] + [ ! -f /Desktop/SW_CD_Windows_XP_Professional_English_1_SP2_ISO_X10-84771.ISO ] + xenstore-write backend/vbd/2/768/physical-device 0:0 + connect + xenstore-write backend/vbd/2/768/hotplug-status connected + exit xport PATH + eval action=add domain=2 vdev=0 device=xnbe0 devclass=vif febe=backend febe=backend devclass=vif device=xnbe0 vdev=0 domain=2 action=add devscript=/usr/lib/xen/scripts/vif-event path=backend/vif/2/0 + [ -x /usr/lib/xen/scripts/vif-event ] + exec /usr/lib/xen/scripts/vif-event path=backend/vif/2/0 action=add domain=2 v dev=0 device=xnbe0 devclass=vif febe=backend + eval path=backend/vif/2/0 action=add domain=2 vdev=0 device=xnbe0 devclass=vif febe=backend febe=backend devclass=vif device=xnbe0 vdev=0 domain=2 action=add path=backend/v if/2/0 + xenstore-read backend/vif/2/0/script script=/usr/lib/xen/scripts/vif-vnic + [ -x /usr/lib/xen/scripts/vif-vnic ] XENBUS_PATH=backend/vif/2/0 vif=xnbe0 + export vif XENBUS_PATH + exec /usr/lib/xen/scripts/vif-vnic add dev=xnbe0 xp=backend/vif/2/0 cmd=add + xenstore-read backend/vif/2/0/bridge nic+ [ -z ] + default_nic + xenstore-read device-misc/vif/default-nic nic=bcme0 + [ -z bcme0 ] + xenstore-read backend/vif/2/0/mac mac=00:16:3e:52:26:fa + [ -z 00:16:3e:52:26:fa ] + /usr/lib/vna bcme0 00:16:3e:52:26:fa dladm_vnic_create: object not found vid+ [ 255 != 0 ] + echo Cannot create vnic. Cannot create vnic. + fail_connect + xenstore-write backend/vif/2/0/hotplug-status error + exit 1 scripts=/usr/lib/xen/scripts PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin + export PATH + eval action=remove domain=2 vdev=0 device=xnbe0 devclass=vif febe=backend febe=backend devclass=vif device=xnbe0 vdev=0 domain=2 action=remove devscript=/usr/lib/xen/scripts/vif-event path=backend/vif/2/0 + [ -x /usr/lib/xen/scripts/vif-event ] + exec /usr/lib/xen/scripts/vif-event path=backend/vif/2/0 action=remove domain2 vdev=0 device=xnbe0 devclass=vif febe=backend scripts=/usr/lib/xen/scripts PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin + export PATH + eval action=remove domain=2 vdev=768 device=xdb1 devclass=vbd febe=backend febe=backend devclass=vbd device=xdb1 vdev=768 domain=2 action=remove devscript=/usr/lib/xen/scripts/vbd-event path=backend/vbd/2/768 + [ -x /usr/lib/xen/scripts/vbd-event ] + exec /usr/lib/xen/scripts/vbd-event path=backend/vbd/2/768 action=remove domai n=2 vdev=768 device=xdb1 devclass=vbd febe=backend scripts=/usr/lib/xen/scripts PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin + export PATH + eval action=remove domain=2 vdev=5632 device=xdb0 devclass=vbd febe=backend febe=backend devclass=vbd device=xdb0 vdev=5632 domain=2 action=remove devscript=/usr/lib/xen/scripts/vbd-event path=backend/vbd/2/5632 + [ -x /usr/lib/xen/scripts/vbd-event ] + exec /usr/lib/xen/scripts/vbd-event path=backend/vbd/2/5632 action=remove doma in=2 vdev=5632 device=xdb0 devclass=vbd febe=backend + eval path=backend/vbd/2/768 action=remove domain=2 vdev=768 device=xdb1 devcla ss=vbd febe=backend febe=backend devclass=vbd device=xdb1 vdev=768 domain=2 action=remove path=backe nd/vbd/2/768 + xenstore-read backend/vbd/2/768/frontend + xenstore-rm -t /local/domain/2/device/vbd/768 + xenstore-rm -t backend/vbd/2/768 + exit vdev=0 domain=2 action=remove path=backend/vif/2/0 + xenstore-read backend/vif/2/0/script script=/usr/lib/xen/scripts/vif-vnic + [ -x /usr/lib/xen/scripts/vif-vnic ] XENBUS_PATH=backend/vif/2/0 vif=xnbe0 + export vif XENBUS_PATH + exec /usr/lib/xen/scripts/vif-vnic remove /vbd/2/5632 + xenstore-read backend/vbd/2/5632/frontend + xenstore-rm -t /local/domain/2/device/vbd/5632 + xenstore-rm -t backend/vbd/2/5632 + exit ldn''t read path backend/vif/2/0/nic vnic+ [ -z ] + echo Cannot read NIC from backend/vif/2/0/nic. Cannot read NIC from backend/vif/2/0/nic. + exit 1 This message posted from opensolaris.org
Hi, Philippe, You may need to configure your default nic for xend service. Refer to: http://blogs.sun.com/yongsun/entry/install_windows_domu_for_xvm http://www.opensolaris.org/os/community/xen/docs/specs.html Regards, Philippe Fragniere 写道:> Hi, > > I checked my logs and I found that on the qemu-dm.1170.log and xpvd-event.log > > I see some problem with vncpasswd > > Thanks > > Philippe > > # more qemu-dm.1170.log > domid: 2 > qemu: the number of cpus is 1 > net_tap_get_nic: timeout waiting for hotplug at /local/domain/0/backend/vif/2/0/ > hotplug-status > net_tap_init: nic = NULL, setphysaddr = 0 > Could not initialize device 'tap' > d get error. /vm/baa47ee8-914c-dca9-ef62-a204141cefff/vncpasswd. > Register xen platform. > Done register platform. > register acpi io > I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 > > > # more xpvd-event.log > scripts=/usr/lib/xen/scripts > PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin > + export PATH > + eval action=add domain=2 vdev=5632 device=xdb0 devclass=vbd febe=backend > febe=backend devclass=vbd device=xdb0 vdev=5632 domain=2 action=add > devscript=/usr/lib/xen/scripts/vbd-event > path=backend/vbd/2/5632 > + [ -x /usr/lib/xen/scripts/vbd-event ] > + exec /usr/lib/xen/scripts/vbd-event path=backend/vbd/2/5632 action=add domain> 2 vdev=5632 device=xdb0 devclass=vbd febe=backend > + eval path=backend/vbd/2/5632 action=add domain=2 vdev=5632 device=xdb0 devclas > s=vbd febe=backend > febe=backend devclass=vbd device=xdb0 vdev=5632 domain=2 action=add path=backend > /vbd/2/5632 > + xenstore-read backend/vbd/2/5632/type > type=file > + xenstore-read backend/vbd/2/5632/params > file=/data/winxp/winxp-disk.raw > + [ file = file ] > + [ ! -f /data/winxp/winxp-disk.raw ] > + xenstore-write backend/vbd/2/5632/physical-device 0:0 > + connect > + xenstore-write backend/vbd/2/5632/hotplug-status connected > + exit > scripts=/usr/lib/xen/scripts > PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin > + export PATH > + eval action=add domain=2 vdev=768 device=xdb1 devclass=vbd febe=backend > febe=backend devclass=vbd device=xdb1 vdev=768 domain=2 action=add > devscript=/usr/lib/xen/scripts/vbd-event > path=backend/vbd/2/768 > + [ -x /usr/lib/xen/scripts/vbd-event ] > + exec /usr/lib/xen/scripts/vbd-event path=backend/vbd/2/768 action=add domain=2 > vdev=768 device=xdb1 devclass=vbd febe=backend > + eval path=backend/vbd/2/768 action=add domain=2 vdev=768 device=xdb1 devclass> vbd febe=backend > febe=backend devclass=vbd device=xdb1 vdev=768 domain=2 action=add path=backend/ > vbd/2/768 > + xenstore-read backend/vbd/2/768/type > type=file > + xenstore-read backend/vbd/2/768/params > file=/Desktop/SW_CD_Windows_XP_Professional_English_1_SP2_ISO_X10-84771.ISO > + [ file = file ] > + [ ! -f /Desktop/SW_CD_Windows_XP_Professional_English_1_SP2_ISO_X10-84771.ISO > ] > + xenstore-write backend/vbd/2/768/physical-device 0:0 > + connect > + xenstore-write backend/vbd/2/768/hotplug-status connected > + exit > xport PATH > + eval action=add domain=2 vdev=0 device=xnbe0 devclass=vif febe=backend > febe=backend devclass=vif device=xnbe0 vdev=0 domain=2 action=add > devscript=/usr/lib/xen/scripts/vif-event > path=backend/vif/2/0 > + [ -x /usr/lib/xen/scripts/vif-event ] > + exec /usr/lib/xen/scripts/vif-event path=backend/vif/2/0 action=add domain=2 v > dev=0 device=xnbe0 devclass=vif febe=backend > + eval path=backend/vif/2/0 action=add domain=2 vdev=0 device=xnbe0 devclass=vif > febe=backend > febe=backend devclass=vif device=xnbe0 vdev=0 domain=2 action=add path=backend/v > if/2/0 > + xenstore-read backend/vif/2/0/script > script=/usr/lib/xen/scripts/vif-vnic > + [ -x /usr/lib/xen/scripts/vif-vnic ] > XENBUS_PATH=backend/vif/2/0 vif=xnbe0 > + export vif XENBUS_PATH > + exec /usr/lib/xen/scripts/vif-vnic add > dev=xnbe0 > xp=backend/vif/2/0 > cmd=add > + xenstore-read backend/vif/2/0/bridge > nic> + [ -z ] > + default_nic > + xenstore-read device-misc/vif/default-nic > nic=bcme0 > + [ -z bcme0 ] > + xenstore-read backend/vif/2/0/mac > mac=00:16:3e:52:26:fa > + [ -z 00:16:3e:52:26:fa ] > + /usr/lib/vna bcme0 00:16:3e:52:26:fa > dladm_vnic_create: object not found > vid> + [ 255 != 0 ] > + echo Cannot create vnic. > Cannot create vnic. > + fail_connect > + xenstore-write backend/vif/2/0/hotplug-status error > + exit 1 > scripts=/usr/lib/xen/scripts > PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin > + export PATH > + eval action=remove domain=2 vdev=0 device=xnbe0 devclass=vif febe=backend > febe=backend devclass=vif device=xnbe0 vdev=0 domain=2 action=remove > devscript=/usr/lib/xen/scripts/vif-event > path=backend/vif/2/0 > + [ -x /usr/lib/xen/scripts/vif-event ] > + exec /usr/lib/xen/scripts/vif-event path=backend/vif/2/0 action=remove domain> 2 vdev=0 device=xnbe0 devclass=vif febe=backend > scripts=/usr/lib/xen/scripts > PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin > + export PATH > + eval action=remove domain=2 vdev=768 device=xdb1 devclass=vbd febe=backend > febe=backend devclass=vbd device=xdb1 vdev=768 domain=2 action=remove > devscript=/usr/lib/xen/scripts/vbd-event > path=backend/vbd/2/768 > + [ -x /usr/lib/xen/scripts/vbd-event ] > + exec /usr/lib/xen/scripts/vbd-event path=backend/vbd/2/768 action=remove domai > n=2 vdev=768 device=xdb1 devclass=vbd febe=backend > scripts=/usr/lib/xen/scripts > PATH=/usr/lib/xen/bin/:/sbin:/usr/sbin:/usr/bin > + export PATH > + eval action=remove domain=2 vdev=5632 device=xdb0 devclass=vbd febe=backend > febe=backend devclass=vbd device=xdb0 vdev=5632 domain=2 action=remove > devscript=/usr/lib/xen/scripts/vbd-event > path=backend/vbd/2/5632 > + [ -x /usr/lib/xen/scripts/vbd-event ] > + exec /usr/lib/xen/scripts/vbd-event path=backend/vbd/2/5632 action=remove doma > in=2 vdev=5632 device=xdb0 devclass=vbd febe=backend > + eval path=backend/vbd/2/768 action=remove domain=2 vdev=768 device=xdb1 devcla > ss=vbd febe=backend > febe=backend devclass=vbd device=xdb1 vdev=768 domain=2 action=remove path=backe > nd/vbd/2/768 > + xenstore-read backend/vbd/2/768/frontend > + xenstore-rm -t /local/domain/2/device/vbd/768 > + xenstore-rm -t backend/vbd/2/768 > + exit > vdev=0 domain=2 action=remove path=backend/vif/2/0 > + xenstore-read backend/vif/2/0/script > script=/usr/lib/xen/scripts/vif-vnic > + [ -x /usr/lib/xen/scripts/vif-vnic ] > XENBUS_PATH=backend/vif/2/0 vif=xnbe0 > + export vif XENBUS_PATH > + exec /usr/lib/xen/scripts/vif-vnic remove > /vbd/2/5632 > + xenstore-read backend/vbd/2/5632/frontend > + xenstore-rm -t /local/domain/2/device/vbd/5632 > + xenstore-rm -t backend/vbd/2/5632 > + exit > ldn't read path backend/vif/2/0/nic > vnic> + [ -z ] > + echo Cannot read NIC from backend/vif/2/0/nic. > Cannot read NIC from backend/vif/2/0/nic. > + exit 1 > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
> I checked my logs and I found that on the > qemu-dm.1170.log and xpvd-event.log> + default_nic > + xenstore-read device-misc/vif/default-nic > nic=bcme0 > + [ -z bcme0 ] > + xenstore-read backend/vif/2/0/mac > mac=00:16:3e:52:26:fa > + [ -z 00:16:3e:52:26:fa ] > + /usr/lib/vna bcme0 00:16:3e:52:26:fa > dladm_vnic_create: object not found > vid> + [ 255 != 0 ] > + echo Cannot create vnic. > Cannot create vnic. > + fail_connect > + xenstore-write backend/vif/2/0/hotplug-status errorIt seems there is a problem with the nic. Is the bcme driver a GLDv3 nic driver? What is shown by "dladm show-link"? Is the bcme0 nic listed as a "legacy" device? This message posted from opensolaris.org
Philippe Fragniere
2007-Oct-30 15:00 UTC
Re: Installation windows XP failed on the version 75
Yes it''s a legacy bash-3.2# dladm show-link wpi0 type: non-vlan mtu: 1500 device: wpi0 bcme0 type: legacy mtu: 1500 device: bcme0 thanks This message posted from opensolaris.org
> Yes it''s a legacy > > bash-3.2# dladm show-link > wpi0 type: non-vlan mtu: 1500 device: wpi0 > bcme0 type: legacy mtu: 1500 device: bcme0And the default Solaris "bge" driver didn''t work with your Broadcom nic hardware? Apparently "bge" has already been converted to GLDv3, so I think if you could use the "bge" driver, the nic should work with xVM... The Intel wlan wpi nic is GLDv3, but can''t be used with xVM (only real ethernet nics can be used). This message posted from opensolaris.org
Philippe Fragniere
2007-Oct-31 15:01 UTC
Re: Installation windows XP failed on the version 75
I tested to replace the driver bcme by the bge, but it'' not work do you have an other idea ? Thanks Philippe This message posted from opensolaris.org
> I tested to replace the driver bcme by the bge, but > it'' not work do you have an other idea ?That is, after "ifconfig -a plumb", there is no bge interface? Which "vendor-id" and "device-id" is listed in "prtconf -pv" output for the "Ethernet" / Broadcom nic device? This message posted from opensolaris.org
Philippe Fragniere
2007-Oct-31 16:34 UTC
Re: Installation windows XP failed on the version 75
model : ''Ethernet controller'' subsystem-vendor-id: 00001028 subsystem-id: 000001f9 vendor-id: 000014e4 device-id: 00001673 name : pci1028,1f9 This message posted from opensolaris.org
> model : ''Ethernet controller'' > > subsystem-vendor-id: 00001028 > subsystem-id: 000001f9 > vendor-id: 000014e4 > device-id: 00001673 > name : pci1028,1f9OK, that would be bug "6589496 bge support NetXtreme BCM5755M Gigabit Ethernet PCI Express(pci14e4,1673)". No workaround listed in the bug... So I guess simply adding a device alias isn''t enough. This message posted from opensolaris.org
Philippe Fragniere
2007-Nov-01 10:48 UTC
Re: Installation windows XP failed on the version 75
I seen on the internet site a person found a solution, but I need to rebuild the bge source code, I don''t know the process for recompile. http://gcarrillo.wordpress.com/2007/09/17/bge-support-for-bcm5755m-ethernet-adapter/ This message posted from opensolaris.org