WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Winxp in Xen cannot be started in RHEL5

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Winxp in Xen cannot be started in RHEL5
From: "openbsd shen" <openbsd.shen@xxxxxxxxx>
Date: Wed, 10 Oct 2007 22:12:51 +0800
Delivery-date: Wed, 10 Oct 2007 07:13:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=tJ1SWKp6p0hxbENOk/zhWR+apTVmMabG0NyfNYvn/3c=; b=ZnBLoswtG1A3/3Rktd5VHW6dsXoPV+Cthlnb4Ab0xIAR7gLR63HtSv2vanVvbqEbqrtVWcR0SoI9wfBvSxfxdTXd81x1bJnrlcmh8R7iFZ4jvTHscpY+iEDBoxdIe631t/UXjFJM8IJUJDRE59NCuuUGaAFmyY/n/4gbgZju8UQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iQFgSRdGQMXUMb7y2Cbhxkrhgc1r8HrwnmzORsDaU3NSDAWbqnzgFTX+Ez5KOGfzJ3BS449aROgGD0dwebDOBfPvAghc4Tm8mHFbE5RzrytHdlCsuU8k2Qz6D7jXT7ZE2o91Ry18O+uQOkWdvzol9Ev7WnF6eQOgJzQ+xCwRIFM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
In my rhel5, I install winxp use a winxp install CD, after the install
is finished, the winxp cannot be started, the MEM is used, but the cpu
usage is 0%, I don't know why it cannot start.
This is the configure file of winxp in xen:

name = "winxp"
uuid = "674c0608-e061-fb6a-9cdc-c3b51ab77524"
memory = 312
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 0
apic = 0
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib/xen/bin/qemu-dm"
sdl = 0
vfb = ["type=vnc,vncunused=1"]
#vnc = 1
#vncunused = 1
keymap = "en-us"
disk = [ "file:/xen/winxp.img,hda,w" ]
vif = [ "mac=00:16:3e:11:0c:6e,type=ioemu" ]
serial = "pty"



This is the output of "xm log" :

[2007-10-10 22:08:58 xend.XendDomainInfo 2403] DEBUG
(XendDomainInfo:190) XendDomainInfo.create([\047vm\047, [\047name\047,
\047winxp\047], [\047memory\047, \047312\047], [\047maxmem\047,
\047312\047], [\047vcpus\047, \0471\047], [\047uuid\047,
\047674c0608e061fb6a9cdcc3b51ab77524\047], [\047on_poweroff\047,
\047destroy\047], [\047on_reboot\047, \047restart\047],
[\047on_crash\047, \047restart\047], [\047image\047, [\047hvm\047,
[\047kernel\047, \047/usr/lib/xen/boot/hvmloader\047],
[\047device_model\047, \047/usr/lib/xen/bin/qemu-dm\047],
[\047vcpus\047, \0471\047], [\047boot\047, \047c\047], [\047pae\047,
\0471\047], [\047serial\047, \047pty\047]]], [\047device\047,
[\047vbd\047, [\047dev\047, \047hda:disk\047], [\047uname\047,
\047file:/xen/winxp.img\047], [\047mode\047, \047w\047]]],
[\047device\047, [\047vif\047, [\047mac\047,
\04700:16:3e:11:0c:6e\047], [\047type\047, \047ioemu\047]]]])
[2007-10-10 22:08:58 xend.XendDomainInfo 2403] DEBUG
(XendDomainInfo:296) parseConfig: config is [\047vm\047,
[\047name\047, \047winxp\047], [\047memory\047, \047312\047],
[\047maxmem\047, \047312\047], [\047vcpus\047, \0471\047],
[\047uuid\047, \047674c0608e061fb6a9cdcc3b51ab77524\047],
[\047on_poweroff\047, \047destroy\047], [\047on_reboot\047,
\047restart\047], [\047on_crash\047, \047restart\047], [\047image\047,
[\047hvm\047, [\047kernel\047, \047/usr/lib/xen/boot/hvmloader\047],
[\047device_model\047, \047/usr/lib/xen/bin/qemu-dm\047],
[\047vcpus\047, \0471\047], [\047boot\047, \047c\047], [\047pae\047,
\0471\047], [\047serial\047, \047pty\047]]], [\047device\047,
[\047vbd\047, [\047dev\047, \047hda:disk\047], [\047uname\047,
\047file:/xen/winxp.img\047], [\047mode\047, \047w\047]]],
[\047device\047, [\047vif\047, [\047mac\047,
\04700:16:3e:11:0c:6e\047], [\047type\047, \047ioemu\047]]]]
[2007-10-10 22:08:58 xend.XendDomainInfo 2403] DEBUG
(XendDomainInfo:397) parseConfig: result is {\047shadow_memory\047:
None, \047start_time\047: None, \047uuid\047:
\047674c0608e061fb6a9cdcc3b51ab77524\047, \047on_crash\047:
\047restart\047, \047on_reboot\047: \047restart\047,
\047localtime\047: None, \047image\047: [\047hvm\047, [\047kernel\047,
\047/usr/lib/xen/boot/hvmloader\047], [\047device_model\047,
\047/usr/lib/xen/bin/qemu-dm\047], [\047vcpus\047, \0471\047],
[\047boot\047, \047c\047], [\047pae\047, \0471\047], [\047serial\047,
\047pty\047]], \047on_poweroff\047: \047destroy\047,
\047bootloader_args\047: None, \047cpus\047: None, \047name\047:
\047winxp\047, \047backend\047: [], \047vcpus\047: 1,
\047cpu_weight\047: None, \047features\047: None, \047vcpu_avail\047:
None, \047memory\047: 312, \047device\047: [(\047vbd\047,
[\047vbd\047, [\047dev\047, \047hda:disk\047], [\047uname\047,
\047file:/xen/winxp.img\047], [\047mode\047, \047w\047]]),
(\047vif\047, [\047vif\047, [\047mac\047, \04700:16:3e:11:0c:6e\047],
[\047type\047, \047ioemu\047]])], \047bootloader\047: None,
\047cpu\047: None, \047maxmem\047: 312}
[2007-10-10 22:08:58 xend.XendDomainInfo 2403] DEBUG
(XendDomainInfo:1264) XendDomainInfo.construct: None
[2007-10-10 22:08:58 xend.XendDomainInfo 2403] DEBUG
(XendDomainInfo:1296) XendDomainInfo.initDomain: 2 1.0
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: boot, val: c
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: fda, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: fdb, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: soundhw, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: localtime, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: serial, val: pty
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: std-vga, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: isa, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: vcpus, val: 1
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: acpi, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: usb, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: usbdevice, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (image:329) args: k, val: None
[2007-10-10 22:08:58 xend 2403] DEBUG (balloon:127) Balloon: 336064
KiB free; need 335600; done.
[2007-10-10 22:08:58 xend 2403] INFO (image:136) buildDomain os=hvm
dom=2 vcpus=1
[2007-10-10 22:08:58 xend 2403] DEBUG (image:282) dom            = 2
[2007-10-10 22:08:58 xend 2403] DEBUG (image:283) image          =
/usr/lib/xen/boot/hvmloader
[2007-10-10 22:08:58 xend 2403] DEBUG (image:284) store_evtchn   = 1
[2007-10-10 22:08:58 xend 2403] DEBUG (image:285) memsize        = 312
[2007-10-10 22:08:58 xend 2403] DEBUG (image:286) vcpus          = 1
[2007-10-10 22:08:58 xend 2403] DEBUG (image:287) pae            = 1
[2007-10-10 22:08:58 xend 2403] DEBUG (image:288) acpi           = 0
[2007-10-10 22:08:58 xend 2403] DEBUG (image:289) apic           = 0
[2007-10-10 22:08:58 xend 2403] DEBUG (image:435) hvm shutdown watch registered
[2007-10-10 22:08:58 xend 2403] DEBUG (blkif:24) exception looking up
device number for hda: [Errno 2] No such file or directory:
\047/dev/hda\047
[2007-10-10 22:08:58 xend 2403] DEBUG (DevController:110)
DevController: writing {\047backend-id\047: \0470\047,
\047virtual-device\047: \047768\047, \047device-type\047:
\047disk\047, \047state\047: \0471\047, \047backend\047:
\047/local/domain/0/backend/vbd/2/768\047} to
/local/domain/2/device/vbd/768.
[2007-10-10 22:08:58 xend 2403] DEBUG (DevController:112)
DevController: writing {\047domain\047: \047winxp\047,
\047frontend\047: \047/local/domain/2/device/vbd/768\047, \047dev\047:
\047hda\047, \047state\047: \0471\047, \047params\047:
\047/xen/winxp.img\047, \047mode\047: \047w\047, \047online\047:
\0471\047, \047frontend-id\047: \0472\047, \047type\047: \047file\047}
to /local/domain/0/backend/vbd/2/768.
[2007-10-10 22:08:58 xend 2403] DEBUG (DevController:110)
DevController: writing {\047state\047: \0471\047, \047backend-id\047:
\0470\047, \047backend\047: \047/local/domain/0/backend/vif/2/0\047}
to /local/domain/2/device/vif/0.
[2007-10-10 22:08:58 xend 2403] DEBUG (DevController:112)
DevController: writing {\047domain\047: \047winxp\047, \047handle\047:
\0470\047, \047script\047: \047/etc/xen/scripts/vif-nat\047,
\047state\047: \0471\047, \047frontend\047:
\047/local/domain/2/device/vif/0\047, \047mac\047:
\04700:16:3e:11:0c:6e\047, \047online\047: \0471\047,
\047frontend-id\047: \0472\047, \047type\047: \047ioemu\047} to
/local/domain/0/backend/vif/2/0.
[2007-10-10 22:08:58 xend 2403] INFO (image:418) spawning device
models: /usr/lib/xen/bin/qemu-dm [\047/usr/lib/xen/bin/qemu-dm\047,
\047-d\047, \0472\047, \047-m\047, \047312\047, \047-boot\047,
\047c\047, \047-serial\047, \047pty\047, \047-vcpus\047, \0471\047,
\047-domain-name\047, \047winxp\047, \047-net\047,
\047nic,vlan=1,macaddr=00:16:3e:11:0c:6e,model=rtl8139\047,
\047-net\047, \047tap,vlan=1,bridge=xenbr0\047]
[2007-10-10 22:08:58 xend 2403] INFO (image:420) device model pid: 3854
[2007-10-10 22:08:58 xend.XendDomainInfo 2403] DEBUG
(XendDomainInfo:715) Storing VM details: {\047shadow_memory\047:
\0473\047, \047uuid\047: \047674c0608e061fb6a9cdcc3b51ab77524\047,
\047on_reboot\047: \047restart\047, \047start_time\047:
\0471192025338.62\047, \047on_poweroff\047: \047destroy\047,
\047name\047: \047winxp\047, \047xend/restart_count\047: \0470\047,
\047vcpus\047: \0471\047, \047vcpu_avail\047: \0471\047,
\047memory\047: \047312\047, \047on_crash\047: \047restart\047,
\047image\047: \047(hvm (kernel /usr/lib/xen/boot/hvmloader)
(device_model /usr/lib/xen/bin/qemu-dm) (vcpus 1) (boot c) (pae 1)
(serial pty))\047, \047maxmem\047: \047312\047}
[2007-10-10 22:08:58 xend.XendDomainInfo 2403] DEBUG
(XendDomainInfo:750) Storing domain details: {\047console/port\047:
\0472\047, \047name\047: \047winxp\047, \047console/limit\047:
\0471048576\047, \047vm\047:
\047/vm/674c0608e061fb6a9cdcc3b51ab77524\047, \047domid\047:
\0472\047, \047cpu/0/availability\047: \047online\047,
\047memory/target\047: \047319488\047, \047store/ring-ref\047:
\047134449\047, \047store/port\047: \0471\047}
[2007-10-10 22:08:58 xend 2403] DEBUG (image:458) hvm_shutdown fired,
shutdown reason=None
[2007-10-10 22:08:58 xend.XendDomainInfo 2403] DEBUG
(XendDomainInfo:940) XendDomainInfo.handleShutdownWatch
[2007-10-10 22:08:58 xend 2403] DEBUG (DevController:143) Waiting for
devices vif.
[2007-10-10 22:08:58 xend 2403] DEBUG (DevController:149) Waiting for 0.
[2007-10-10 22:08:58 xend 2403] DEBUG (DevController:471)
hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:471)
hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:485)
hotplugStatusCallback 1.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:143) Waiting for
devices usb.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:143) Waiting for
devices vbd.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:149) Waiting for 768.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:471)
hotplugStatusCallback
/local/domain/0/backend/vbd/2/768/hotplug-status.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:485)
hotplugStatusCallback 1.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:143) Waiting for
devices irq.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:143) Waiting for
devices vkbd.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:143) Waiting for
devices vfb.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:143) Waiting for
devices pci.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:143) Waiting for
devices ioports.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:143) Waiting for
devices tap.
[2007-10-10 22:08:59 xend 2403] DEBUG (DevController:143) Waiting for
devices vtpm.
[2007-10-10 22:08:59 xend 2403] INFO (XendDomain:370) Domain winxp (2) unpaused.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Winxp in Xen cannot be started in RHEL5, openbsd shen <=