All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Teo En Ming (Zhang Enming)" <singapore.mr.teo.en.ming@gmail.com>
To: "Teo En Ming (Zhang Enming)" <singapore.mr.teo.en.ming@gmail.com>
Cc: "xen-users@lists.xen.org" <xen-users@lists.xen.org>,
	konrad@kernel.org, Ian Campbell <Ian.Campbell@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Unable to Start Windows XP HVM domU
Date: Mon, 15 Oct 2012 01:19:41 +0800	[thread overview]
Message-ID: <507AF42D.8000401@gmail.com> (raw)
In-Reply-To: <507AF052.4040209@gmail.com>

On 10/15/2012 01:03 AM, Teo En Ming (Zhang Enming) wrote:
> Hi,
>
> I am unable to start Windows XP HVM domU in an X environment.
>
> Here is the error output:
>
> teo-en-ming@ubuntu-12041-amd64-server:/etc/xen$ sudo xl -vvv create 
> /etc/xen/windowsxp
> Parsing config from /etc/xen/windowsxp
> libxl: debug: libxl_create.c:1191:do_domain_create: ao 0x178ab50: 
> create: how=(nil) callback=(nil) poller=0x178a350
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk 
> vdev=hda spec.backend=unknown
> libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=hda, 
> backend phy unsuitable as phys path not a block device
> libxl: debug: libxl_device.c:184:disk_try_backend: Disk vdev=hda, 
> backend tap unsuitable because blktap not available
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk 
> vdev=hda, using backend qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk 
> vdev=hdc spec.backend=unknown
> libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=hdc, 
> backend phy unsuitable as phys path not a block device
> libxl: debug: libxl_device.c:184:disk_try_backend: Disk vdev=hdc, 
> backend tap unsuitable because blktap not available
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk 
> vdev=hdc, using backend qdisk
> libxl: debug: libxl_create.c:677:initiate_domain_create: running 
> bootloader
> libxl: debug: libxl_bootloader.c:321:libxl__bootloader_run: not a PV 
> domain, skipping bootloader
> libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch 
> w=0x178aed0: deregister unregistered
> libxl: debug: libxl_numa.c:435:libxl__get_numa_candidate: New best 
> NUMA placement candidate found: nr_nodes=1, nr_cpus=2, nr_vcpus=4, 
> free_memkb=2278
> libxl: detail: libxl_dom.c:192:numa_place_domain: NUMA placement 
> candidate with 1 nodes, 2 cpus and 2278 KB free selected
> xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0xad98c
> xc: detail: elf_parse_binary: memory: 0x100000 -> 0x1ad98c
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->00000000001ad98c
>   TOTAL:         0000000000000000->000000003f800000
>   ENTRY ADDRESS: 0000000000100000
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000001fb
>   1GB PAGES: 0x0000000000000000
> xc: detail: elf_load_binary: phdr 0 at 0x0x7fbc63478000 -> 
> 0x0x7fbc6351c803
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk 
> vdev=hda spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk 
> vdev=hdc spec.backend=qdisk
> libxl: debug: libxl_dm.c:1134:libxl__spawn_local_dm: Spawning 
> device-model /usr/lib/xen/bin/qemu-dm with arguments:
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm: 
> /usr/lib/xen/bin/qemu-dm
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -d
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   12
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm: -domain-name
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   WindowsXP
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -vnc
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm: 192.168.1.2:0
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -vncunused
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -videoram
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   8
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -boot
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   dc
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -usb
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -usbdevice
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   tablet
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -acpi
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -vcpus
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   2
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -vcpu_avail
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   0x03
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -net
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   none
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   -M
> libxl: debug: libxl_dm.c:1136:libxl__spawn_local_dm:   xenfv
> libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch 
> w=0x178b108 wpath=/local/domain/0/device-model/12/state token=3/0: 
> register slotnum=3
> libxl: debug: libxl_create.c:1204:do_domain_create: ao 0x178ab50: 
> inprogress: poller=0x178a350, flags=i
> libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x178b108 
> wpath=/local/domain/0/device-model/12/state token=3/0: event 
> epath=/local/domain/0/device-model/12/state
> libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch 
> w=0x178b108 wpath=/local/domain/0/device-model/12/state token=3/0: 
> deregister slotnum=3
> libxl: error: libxl_dm.c:1203:device_model_spawn_outcome: domain 12 
> device model: spawn failed (rc=-3)
> libxl: debug: libxl_event.c:1667:libxl__ao_progress_report: ao 
> 0x178ab50: progress report: ignored
> libxl: debug: libxl_event.c:1497:libxl__ao_complete: ao 0x178ab50: 
> complete, rc=0
> libxl: debug: libxl_event.c:1469:libxl__ao__destroy: ao 0x178ab50: 
> destroy
> Daemon running with PID 4480
> xc: debug: hypercall buffer: total allocations:750 total releases:750
> xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
> xc: debug: hypercall buffer: cache current size:4
> xc: debug: hypercall buffer: cache hits:742 misses:4 toobig:4
>
> My Windows XP HVM domU config is:
>
> # XL domain configuration file for Windows XP Home Edition SP3 HVM domU
> # Please refer to "man xl.cfg" for further explanations.
> # See also docs/misc/xl-network-configuration.markdown and
> # docs/misc/xl-disk-configuration.txt
> # Written by Teo En Ming (Zhang Enming)
> # Email: teo.en.ming@gmail.com
> # Mobile Phone: +65-8369-2618
> # Country: Singapore
> # Date: 18 Mar 2012 Sun
> name="WindowsXP"
> builder="hvm"
> vcpus=2
> memory=1024
> on_poweroff="destroy"
> on_reboot="restart"
> on_crash="destroy"
> disk=[ 'format=raw, vdev=hda, access=rw, 
> target=/etc/xen/images/windowsxp.img', 'format=raw, vdev=hdc, 
> access=ro, devtype=cdrom, target=/home/teo-en-ming/windowsxp.iso' ]
> #vif=[ 'bridge=eth0,type=ioemu,model=rtl8139' ]
> #boot=[c|d|n]
> #Selects the emulated virtual device to boot from. Options are hard 
> disk (c), cd-rom (d) or network/PXE (n).
> #Multiple options can be given and will be attempted in the order they 
> are given. e.g. to boot from cd-rom
> #but fallback to the hard disk you can give dc. The default is cd.
> boot="dc"
> acpi=1
> #xen_platform_pci=1
> #viridian=1
> #stdvga=1
> vnc=1
> vnclisten="192.168.1.2"
> vncdisplay=0
> vncunused=1
> vncpasswd=""
> sdl=0
> usb=1
> usbdevice="tablet"
> # Enable Xen VGA Passthrough
> gfx_passthru=0
> # VGA Passthrough Gigabyte Geforce GTX 560 1 GB GDDR5 PCI Express x16 
> VGA card.
> #pci = [ 
> '01:00.0','01:00.1','00:1b.0','00:1a.0','00:1a.1','00:1a.2','00:1a.7','00:1d.0','00:1d.1','00:1d.2','00:1d.7' 
> ]
> #pci = [ '01:00.0','01:00.1','00:1b.0' ]
>
> # PCI Passthrough Intel HD Audio Controller.
> #pci = [ '00:1b.0' ]
> # PCI Passthrough all the USB Controllers.
> # pci = [ 
> '00:1a.0','00:1a.1','00:1a.2','00:1a.7','00:1d.0','00:1d.1','00:1d.2','00:1d.7' 
> ]
>
> I am using Xen 4.3-unstable changeset 26004 and Linux dom0 kernel 3.6.1.
>
> May I know what is the problem? Please advise.
>
> Thank you very much.
>

I have pasted troubleshooting logs here:

qemu-dm-WindowsXP.log:

domid: 12
-videoram option does not work with cirrus vga device model. Videoram 
set to 4M.
Strip off blktap sub-type prefix to /etc/xen/images/windowsxp.img (drv 
'aio')
Using file /etc/xen/images/windowsxp.img in read-write mode
Strip off blktap sub-type prefix to /home/teo-en-ming/windowsxp.iso (drv 
'aio')
Using file /home/teo-en-ming/windowsxp.iso in read-only mode
Watching /local/domain/0/device-model/12/logdirty/cmd
Watching /local/domain/0/device-model/12/command
Watching /local/domain/12/cpu
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 536562e3-8bbb-4d20-bcd4-4de60e86b0a0
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw 
state.
xs_read(/local/domain/0/device-model/12/xen_extended_power_mgmt): read error
bind() failed

xl-WindowsXP.log:

Waiting for domain WindowsXP (domid 12) to die [pid 4481]
libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch 
w=0x178bd00 wpath=@releaseDomain token=3/0: register slotnum=3
libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch 
w=0x178a970 wpath=/local/domain/12/device/vbd/5632/eject token=2/1: 
register slotnum=2
libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x178bd00 
wpath=@releaseDomain token=3/0: event epath=@releaseDomain
libxl: debug: libxl.c:997:domain_death_xswatch_callback: 
[evg=0x1789b90:12] from domid=12 nentries=1 rc=1
libxl: debug: libxl.c:1008:domain_death_xswatch_callback: 
[evg=0x1789b90:12]   got=domaininfos[0] got->domain=12
libxl: debug: libxl.c:1035:domain_death_xswatch_callback:  exists 
shutdown_reported=0 dominf.flags=ffff0002
libxl: debug: libxl.c:1001:domain_death_xswatch_callback: [evg=0] all 
reported
libxl: debug: libxl.c:1064:domain_death_xswatch_callback: domain death 
search done
libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x178a970 
wpath=/local/domain/12/device/vbd/5632/eject token=2/1: event 
epath=/local/domain/12/device/vbd/5632/eject
libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x178a970 
wpath=/local/domain/12/device/vbd/5632/eject token=2/1: event 
epath=/local/domain/12/device/vbd/5632/eject
libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x178a970 
wpath=/local/domain/12/device/vbd/5632/eject token=2/1: event 
epath=/local/domain/12/device/vbd/5632/eject
libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x178a970 
wpath=/local/domain/12/device/vbd/5632/eject token=2/1: event 
epath=/local/domain/12/device/vbd/5632/eject
libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x178bd00 
wpath=@releaseDomain token=3/0: event epath=@releaseDomain
libxl: debug: libxl.c:997:domain_death_xswatch_callback: 
[evg=0x1789b90:12] from domid=12 nentries=1 rc=1
libxl: debug: libxl.c:1008:domain_death_xswatch_callback: 
[evg=0x1789b90:12]   got=domaininfos[0] got->domain=12
libxl: debug: libxl.c:1035:domain_death_xswatch_callback:  exists 
shutdown_reported=0 dominf.flags=ffff000b
libxl: debug: libxl.c:953:domain_death_occurred: dying
libxl: debug: libxl.c:1001:domain_death_xswatch_callback: [evg=0] all 
reported
libxl: debug: libxl.c:1064:domain_death_xswatch_callback: domain death 
search done
Domain 12 has been destroyed.
libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch 
w=0x178bd00 wpath=@releaseDomain token=3/0: deregister slotnum=3
libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch 
w=0x178a970 wpath=/local/domain/12/device/vbd/5632/eject token=2/1: 
deregister slotnum=2
xc: debug: hypercall buffer: total allocations:4 total releases:4
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:2 misses:2 toobig:0

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore

      reply	other threads:[~2012-10-14 17:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-14 17:03 Unable to Start Windows XP HVM domU Teo En Ming (Zhang Enming)
2012-10-14 17:19 ` Teo En Ming (Zhang Enming) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=507AF42D.8000401@gmail.com \
    --to=singapore.mr.teo.en.ming@gmail.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=konrad@kernel.org \
    --cc=xen-devel@lists.xen.org \
    --cc=xen-users@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.