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/
Home Products Support Community News


RE: [Xen-users] Windows HVM domain, next problem

To: "'Steffen Heil'" <lists@xxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Windows HVM domain, next problem
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Thu, 3 Jul 2008 08:27:33 -0400
Delivery-date: Thu, 03 Jul 2008 05:28:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <35F7B111650E426FBAEA52626BFF2E59@shs1>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: PRD, Inc.
References: <35F7B111650E426FBAEA52626BFF2E59@shs1>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjcYGT+HYUVNETfRruLD7oVG8zUWgApWTlA
I can't tell you anything based on the error, but I have the following

1) I don't know if the cdrom= line is available in hvm config files.
2) You might try this disk line (removed ioemu):
disk = [ 'phy:/dev/raid/windows,hda,w' ,
'tap:aio:/root/w2k3.iso,hdc:cdrom,r' ]
you might also try replacing tap:aio with file, though I think tap:aio is
the newer way.  I only mention these possibilities because I don't know what
you have and haven't tried.  I have never used ioemu or tap:aio, so I don't
know about performance ramifications regarding those settings.
3) I don't know that you can use ip= in vif= lines.  Also, you may need to
specify the bridge with bridge= in the vif= line.  Especially given that
"bridge xenbr100 does not exist!"  Additionally, I don't use type=ioemu on
my vif.
4) I don't know if it is important, but my hvm scripts all start with this
(above kernel=):
import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
    arch_libdir = 'lib'
5) If your xend-config.sxp has vnclisten="" you will need to either
change that to vnclisten="" or put vnclisten="" in the domU
config file in order to connect to vnc from a remote machine (which you
obviously need to do since the dom0 is text only).
6) serial='pty' is included in my configs (it is in the examples, but not a
default setting).  You might want to use this so you can a) install Windows
Server via the "serial port" (find documentation at MS) or b) use the
"serial port" for its disaster recovery capabilities (once again, find
documentation at MS, don't remember what this is called and it has been a
long time since I've done an Windows Server stuff involving headless

I'm no expert, so all I can say in addition to this is good luck, I mean, it
is certainly possible that you could try all of my relevant suggestions and
still have no more luck getting the domain created.


-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Steffen Heil
Sent: Wednesday, July 02, 2008 12:27
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Windows HVM domain, next problem


Trying a lot of configuration combinations, I always fail to boot a new HVM
domain with empty hda1 and cdrom as hda2.
My current configuration guess is below.

When I try to start the domain,
  Using config file "./windows.conf".
Xen lies to me:
  Started domain windows

The domain is NOT started.
The qemu-dm-log is below.

I don't know where to start search for the problem...
Appreciating any help.

(A COMPLETE guide how to setup windows on HVM would be cool. I only found a
few very incomplete ones.)


-- configuration --
kernel  = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory  = '512'
#disk    = [
r' ]
disk    = [ 'phy:/dev/raid/windows,ioemu:hda,w' ]
cdrom   = '/root/w2k3.iso'
name    = 'windows'
vif = ['type=ioemu,mac=00:16:3e:00:00:08,ip=']

-- qemu-dm-log --
Watching /local/domain/0/device-model/56/logdirty/next-active
Watching /local/domain/0/device-model/56/command
bridge xenbr100 does not exist!
shift keysym 003e keycode 86
shift keysym 00a6 keycode 86
keypad keysym ffae keycode 83
keypad keysym ffac keycode 83
keypad keysym ffb0 keycode 82
keypad keysym ffb1 keycode 79
keypad keysym ffb2 keycode 80
keypad keysym ffb3 keycode 81
keypad keysym ffb4 keycode 75
keypad keysym ffb5 keycode 76
keypad keysym ffb6 keycode 77
keypad keysym ffb7 keycode 71
keypad keysym ffb8 keycode 72
keypad keysym ffb9 keycode 73
shift keysym 0021 keycode 2
shift keysym 0040 keycode 3
shift keysym 0023 keycode 4
shift keysym 0024 keycode 5
shift keysym 0025 keycode 6
shift keysym 005e keycode 7
shift keysym 0026 keycode 8
shift keysym 002a keycode 9
shift keysym 0028 keycode 10
shift keysym 0029 keycode 11
shift keysym 005f keycode 12
shift keysym 002b keycode 13
shift keysym 007b keycode 26
shift keysym 007d keycode 27
shift keysym 003a keycode 39
shift keysym 0022 keycode 40
shift keysym 007e keycode 41
shift keysym 007c keycode 43
shift keysym 003c keycode 51
shift keysym 003e keycode 52
shift keysym 003f keycode 53
qemu_map_cache_init nr_buckets = 10000 size 3145728 shared page at pfn 1ffff
buffered io page at pfn 1fffd Time offset set 0 Register xen platform.
Done register platform.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>