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] Cannot complete WinXP installation under Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Cannot complete WinXP installation under Xen
From: Art Fore <art.fore@xxxxxxxxx>
Date: Mon, 23 Oct 2006 19:37:49 +0800
Delivery-date: Mon, 23 Oct 2006 04:38:06 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:reply-to:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=SNiFeIhmAGTAulpOYCcPnCm9YYnmEeS1z57QDblM6HVclgV4KkZUbZL0v8/+DTSfN9JVmNiXQlHu/5pryFH1GS1cfXPC/JjGxBBz46eOmWHLbQCF3NVR7TayzK51XnhFwy9nrSmS7MH3WJ8saW/ed8TfRmcYv9t/8YqhLnbv1pM=
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>
Reply-to: art.fore@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Have not reeived any responses to my eail, so guess no one knows anything about 
it. Have posted also on Suse list, again no responses. Does anyone know where I 
can get some help with this problem?

Art

\

Running Suse 10.1 Xen kernel and trying to install win XP. (Machine is
amd64 X2 dual core mother board.)I first followed this howto
http://en.opensuse.org/Xen_Full_Virtualization_Example

However, qemu does not recognize the harddisk or cdrom.

So I went to Yast,System, Xen virtural machinemanagement.

I set up the machine,full virtualization, it starts up with CD install
of WinXP. Go through it, it gets up to about 1/3rd of the Registering
Components, which is the last thing. It them hangs the machine, both
mouse and keyboard. It was doing this about 2/3rds through the driver
installation, then I changed the nvidia to nv drivers in xorg.conf.

I was reading about maxmem_kb, but have not found out how to set that.
Machne has 2GBytes ram and I alocated 512 MByte to the virtual machine.
I get a line in messages about maxmem-kb =17GByte, so thought that may
be the problem. Anyhow here is the info from the /var/log/xend-debug.log
interface tun0 does not exist!
interface tun0 does not exist!
interface tun0 does not exist!
interface tun0 does not exist!
interface tun0 does not exist!

anf from the /var/log/xend.log I get:

[2006-10-21 15:24:03 xend.XendDomainInfo] WARNING (XendDomainInfo:823)
Domain has crashed: name=winxp id=3.
[2006-10-21 15:24:03 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364)
XendDomainInfo.destroyDomain(3)
[2006-10-21 15:24:03 xend] DEBUG (image:416) hvm shutdown watch
unregistered
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:180)
XendDomainInfo.create(['domain', ['domid', 3], ['uuid',
'4d9f050b-c0e3-044c-5c5d-2cf092918dd4'], ['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 512], ['maxmem',
512], ['name', 'winxp'], ['on_poweroff', 'destroy'], ['on_reboot',
'restart'], ['on_crash', 'restart'], ['image', ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1], ['cdrom', '/dev/hda'],
['boot', 'c'], ['sdl', 1], ['display', ':0.0'], ['xauthority',
'/tmp/xauth.XXXX6XRC0v']]], ['device', ['vif', ['backend', 0],
['script', 'vif-bridge'], ['mac', '00:16:3e:91:c4:57'], ['type',
'ioemu']]], ['device', ['vbd', ['backend', 0], ['dev', 'ioemu:hdd'],
['uname', 'file:/windows/WinXP/winxp/hdd'], ['mode', 'w']]], ['state',
'----c-'], ['shutdown_reason', 'crash'], ['cpu_time',
195.89091289500001], ['online_vcpus', 1], ['up_time', '864.157013178'],
['start_time', '1161414579.62'], ['store_mfn', 478921]])
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:286)
parseConfig: config is ['domain', ['domid', 3], ['uuid',
'4d9f050b-c0e3-044c-5c5d-2cf092918dd4'], ['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 512], ['maxmem',
512], ['name', 'winxp'], ['on_poweroff', 'destroy'], ['on_reboot',
'restart'], ['on_crash', 'restart'], ['image', ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1], ['cdrom', '/dev/hda'],
['boot', 'c'], ['sdl', 1], ['display', ':0.0'], ['xauthority',
'/tmp/xauth.XXXX6XRC0v']]], ['device', ['vif', ['backend', 0],
['script', 'vif-bridge'], ['mac', '00:16:3e:91:c4:57'], ['type',
'ioemu']]], ['device', ['vbd', ['backend', 0], ['dev', 'ioemu:hdd'],
['uname', 'file:/windows/WinXP/winxp/hdd'], ['mode', 'w']]], ['state',
'----c-'], ['shutdown_reason', 'crash'], ['cpu_time',
195.89091289500001], ['online_vcpus', 1], ['up_time', '864.157013178'],
['start_time', '1161414579.62'], ['store_mfn', 478921]]
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:382)
parseConfig: result is {'ssidref': 0, 'uuid':
'4d9f050b-c0e3-044c-5c5d-2cf092918dd4', 'on_crash': 'restart',
'on_reboot': 'restart', 'localtime': None, 'image': ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1], ['cdrom', '/dev/hda'],
['boot', 'c'], ['sdl', 1], ['display', ':0.0'], ['xauthority',
'/tmp/xauth.XXXX6XRC0v']], 'on_poweroff': 'destroy', 'cpus': None,
'name': 'winxp', 'backend': [], 'cpu': None, 'vcpus': 1, 'cpu_weight':
1.0, 'vcpu_avail': 1, 'memory': 512, 'device': [('vif', ['vif',
['backend', 0], ['script', 'vif-bridge'], ['mac', '00:16:3e:91:c4:57'],
['type', 'ioemu']]), ('vbd', ['vbd', ['backend', 0], ['dev',
'ioemu:hdd'], ['uname', 'file:/windows/WinXP/winxp/hdd'], ['mode',
'w']])], 'bootloader': None, 'root': None, 'bootentry': None, 'maxmem':
512}
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:1189)
XendDomainInfo.construct: None 0
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:1221)
XendDomainInfo.initDomain: 4 1.0
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: cdrom, val: /dev/hda
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: boot, val: c
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: fda, val: None
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: fdb, val: None
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: nic-ne2000, val: None
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: enable-audio, val:
None
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: localtime, val: None
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: serial, val: None
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: std-vga, val: None
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: isa, val: None
[2006-10-21 15:24:04 xend] DEBUG (image:269) args: vcpus, val: 1
[2006-10-21 15:24:04 xend] DEBUG (balloon:143) Balloon: 169192 KiB free;
370228 to scrub; need 537808; retries: 20.
[2006-10-21 15:24:04 xend] DEBUG (balloon:151) Balloon: waiting on
scrubbing
[2006-10-21 15:24:04 xend] DEBUG (balloon:137) Balloon: 539420 KiB free;
need 537808; done.
[2006-10-21 15:24:04 xend] INFO (image:136) buildDomain os=hvm dom=4
vcpus=1
[2006-10-21 15:24:04 xend] DEBUG (image:227) dom            = 4
[2006-10-21 15:24:04 xend] DEBUG (image:228) image
= /usr/lib/xen/boot/hvmloader
[2006-10-21 15:24:04 xend] DEBUG (image:229) store_evtchn   = 1
[2006-10-21 15:24:04 xend] DEBUG (image:230) memsize        = 512
[2006-10-21 15:24:04 xend] DEBUG (image:231) vcpus          = 1
[2006-10-21 15:24:04 xend] DEBUG (image:232) pae            = 0
[2006-10-21 15:24:04 xend] DEBUG (image:233) acpi           = 0
[2006-10-21 15:24:04 xend] DEBUG (image:234) apic           = 0
[2006-10-21 15:24:04 xend] DEBUG (image:404) hvm shutdown watch
registered
[2006-10-21 15:24:04 xend] DEBUG (DevController:103) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vif/4/0'} to /local/domain/4/device/vif/0.
[2006-10-21 15:24:04 xend] DEBUG (DevController:105) DevController:
writing {'domain': 'winxp', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/4/device/vif/0', 'mac': '00:16:3e:91:c4:57',
'frontend-id': '4', 'type': 'ioemu'} to /local/domain/0/backend/vif/4/0.
[2006-10-21 15:24:04 xend] DEBUG (blkif:24) exception looking up device
number for hdd: [Errno 2] No such file or directory: '/dev/hdd'
[2006-10-21 15:24:04 xend] DEBUG (DevController:103) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vbd/4/5696'}
to /local/domain/4/device/vbd/5696.
[2006-10-21 15:24:04 xend] DEBUG (DevController:105) DevController:
writing {'domain': 'winxp', 'frontend':
'/local/domain/4/device/vbd/5696', 'dev': 'ioemu:hdd', 'state': '1',
'params': '/windows/WinXP/winxp/hdd', 'mode': 'w', 'frontend-id': '4',
'type': 'file'} to /local/domain/0/backend/vbd/4/5696.
[2006-10-21 15:24:04 xend] INFO (image:358) spawning device
models: /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '4',
'-m', '512', '-cdrom', '/dev/hda', '-boot', 'c', '-vcpus', '1',
'-domain-name', 'winxp', '-macaddr', '00:16:3e:91:c4:57', '-bridge',
'xenbr0', '-hdd', '/windows/WinXP/winxp/hdd', '-nics', '1']
[2006-10-21 15:24:04 xend] INFO (image:360) device model pid: 7404
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:675)
Storing VM details: {'ssidref': '0', 'uuid':
'4d9f050b-c0e3-044c-5c5d-2cf092918dd4', 'on_reboot': 'restart',
'start_time': '1161415444.46', 'on_poweroff': 'destroy', 'name':
'winxp', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '512', 'on_crash':
'restart', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader)
(device_model /usr/lib/xen/bin/qemu-dm) (vcpus 1) (cdrom /dev/hda) (boot
c) (sdl 1) (display :0.0) (xauthority /tmp/xauth.XXXX6XRC0v))',
'maxmem': '512'}
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:700)
Storing domain details: {'console/port': '2', 'name': 'winxp',
'console/limit': '1048576', 'vm':
'/vm/4d9f050b-c0e3-044c-5c5d-2cf092918dd4', 'domid': '4',
'cpu/0/availability': 'online', 'memory/target': '524288',
'store/ring-ref': '118472', 'store/port': '1'}
[2006-10-21 15:24:04 xend] DEBUG (image:427) hvm_shutdown fired,
shutdown reason=None
[2006-10-21 15:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:881)
XendDomainInfo.handleShutdownWatch

Has anyone any suggestions on fixing this?

Art

Also cannot install Win2k, Win98, and Knoppix. Trying to do Suse 10.0 takes 
about a minute per package, so I gave up.

I guess some people have gotten it to work with this motherboard (K9n neo). 
Would sure like to know the secret.

Art


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