PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : XEN: Server läuft - aber ich kann kein WinXP installieren



scheichlinux
24.04.07, 16:44
Hallo

Ich habe einen XEN-Server laufen unter Suse 10.2.

mit Yast oder
xm create vm1 krieg ich den Server zum laufen wie
xm list mir zeigt.

Aber dann geht kein Fenster mehr auf um die Installation zu starten.

Was könnte die Ursache sein?

tom

cane
24.04.07, 17:02
Was sagen die Logs?

mfg
cane

scheichlinux
24.04.07, 19:27
Hallo und Danke

/var/log/xen/qemu-dm.7684.log:

domid: 6
qemu: the number of cpus is 1
/etc/xen/qemu-ifup: could not launch network script
Could not initialize device 'tap'

/var/log/xen/xen-hotplug.log


Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.

/var/log/xen/xend-debug.log

bridge xenbr1 does not exist!
bridge xenbr1 does not exist!
bridge xenbr1 does not exist!


xend.log

[2007-04-24 20:20:50 xend.XendDomainInfo 3782] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'vm1sic'], ['memory', 256], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'c'], ['vncunused', 1], ['sdl', 1], ['display', ':0'], ['xauthority', '/root/.xauth0bUqAe']]], ['device', ['vbd', ['uname', 'file:/var/lib/xen/images/vm1/hda'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/auslagerung/wincd.iso'], ['dev', 'hdc:cdrom'], ['mode', 'r']]], ['device', ['vif', ['mac', '00:16:3e:33:8a:02'], ['type', 'ioemu']]]])
[2007-04-24 20:20:50 xend.XendDomainInfo 3782] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'vm1sic'], ['memory', 256], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'c'], ['vncunused', 1], ['sdl', 1], ['display', ':0'], ['xauthority', '/root/.xauth0bUqAe']]], ['device', ['vbd', ['uname', 'file:/var/lib/xen/images/vm1/hda'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/auslagerung/wincd.iso'], ['dev', 'hdc:cdrom'], ['mode', 'r']]], ['device', ['vif', ['mac', '00:16:3e:33:8a:02'], ['type', 'ioemu']]]]
[2007-04-24 20:20:50 xend.XendDomainInfo 3782] DEBUG (XendDomainInfo:395) parseConfig: result is {'shadow_memory': None, 'uuid': None, '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], ['boot', 'c'], ['vncunused', 1], ['sdl', 1], ['display', ':0'], ['xauthority', '/root/.xauth0bUqAe']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'vm1sic', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname', 'file:/var/lib/xen/images/vm1/hda'], ['dev', 'ioemu:hda'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/auslagerung/wincd.iso'], ['dev', 'hdc:cdrom'], ['mode', 'r']]), ('vif', ['vif', ['mac', '00:16:3e:33:8a:02'], ['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2007-04-24 20:20:50 xend.XendDomainInfo 3782] DEBUG (XendDomainInfo:1274) XendDomainInfo.construct: None
[2007-04-24 20:20:50 xend.XendDomainInfo 3782] DEBUG (XendDomainInfo:1306) XendDomainInfo.initDomain: 6 1.0
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: boot, val: c
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: fda, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: fdb, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: soundhw, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: localtime, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: serial, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: std-vga, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: isa, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: vcpus, val: 1
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: acpi, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: usb, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (image:320) args: usbdevice, val: None
[2007-04-24 20:20:50 xend 3782] DEBUG (balloon:146) Balloon: 279108 KiB free; need 278120; done.
[2007-04-24 20:20:51 xend 3782] INFO (image:136) buildDomain os=hvm dom=6 vcpus=1
[2007-04-24 20:20:51 xend 3782] DEBUG (image:274) dom = 6
[2007-04-24 20:20:51 xend 3782] DEBUG (image:275) image = /usr/lib/xen/boot/hvmloader
[2007-04-24 20:20:51 xend 3782] DEBUG (image:276) store_evtchn = 1
[2007-04-24 20:20:51 xend 3782] DEBUG (image:277) memsize = 256
[2007-04-24 20:20:51 xend 3782] DEBUG (image:278) vcpus = 1
[2007-04-24 20:20:51 xend 3782] DEBUG (image:279) pae = 1
[2007-04-24 20:20:51 xend 3782] DEBUG (image:280) acpi = 0
[2007-04-24 20:20:51 xend 3782] DEBUG (image:281) apic = 0
[2007-04-24 20:20:51 xend 3782] DEBUG (image:415) hvm shutdown watch registered
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/6/768'} to /local/domain/6/device/vbd/768.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:112) DevController: writing {'domain': 'vm1sic', 'frontend': '/local/domain/6/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': '/var/lib/xen/images/vm1/hda', 'mode': 'w', 'online': '1', 'frontend-id': '6', 'type': 'file'} to /local/domain/0/backend/vbd/6/768.
[2007-04-24 20:20:51 xend 3782] DEBUG (blkif:24) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/hdc'
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/6/5632'} to /local/domain/6/device/vbd/5632.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:112) DevController: writing {'domain': 'vm1sic', 'frontend': '/local/domain/6/device/vbd/5632', 'dev': 'hdc', 'state': '1', 'params': '/auslagerung/wincd.iso', 'mode': 'r', 'online': '1', 'frontend-id': '6', 'type': 'file'} to /local/domain/0/backend/vbd/6/5632.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:110) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/6/0'} to /local/domain/6/device/vif/0.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:112) DevController: writing {'domain': 'vm1sic', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/6/device/vif/0', 'mac': '00:16:3e:33:8a:02', 'online': '1', 'frontend-id': '6', 'type': 'ioemu'} to /local/domain/0/backend/vif/6/0.
[2007-04-24 20:20:51 xend 3782] INFO (image:398) spawning device models: /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '6', '-m', '256', '-boot', 'c', '-vcpus', '1', '-domain-name', 'vm1sic', '-net', 'nic,vlan=1,macaddr=00:16:3e:33:8a:02,model=rtl813 9', '-net', 'tap,vlan=1', '-k', 'en-us']
[2007-04-24 20:20:51 xend 3782] INFO (image:400) device model pid: 7684
[2007-04-24 20:20:51 xend.XendDomainInfo 3782] DEBUG (XendDomainInfo:712) Storing VM details: {'shadow_memory': '3', 'uuid': '6db7c5e4-6756-8715-ec4e-f20d1e71f572', 'on_reboot': 'restart', 'start_time': '1177438851.23', 'on_poweroff': 'destroy', 'name': 'vm1sic', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader) (device_model /usr/lib/xen/bin/qemu-dm) (vcpus 1) (boot c) (vncunused 1) (sdl 1) (display :0) (xauthority /root/.xauth0bUqAe))', 'maxmem': '256'}
[2007-04-24 20:20:51 xend.XendDomainInfo 3782] DEBUG (XendDomainInfo:747) Storing domain details: {'console/port': '2', 'name': 'vm1sic', 'console/limit': '1048576', 'vm': '/vm/6db7c5e4-6756-8715-ec4e-f20d1e71f572', 'domid': '6', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '142738', 'store/port': '1'}
[2007-04-24 20:20:51 xend 3782] DEBUG (image:438) hvm_shutdown fired, shutdown reason=None
[2007-04-24 20:20:51 xend.XendDomainInfo 3782] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:143) Waiting for devices vif.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:149) Waiting for 0.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:478) hotplugStatusCallback 1.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:143) Waiting for devices usb.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:143) Waiting for devices vbd.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:149) Waiting for 768.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/6/768/hotplug-status.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/6/768/hotplug-status.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:478) hotplugStatusCallback 1.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:149) Waiting for 5632.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/6/5632/hotplug-status.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/6/5632/hotplug-status.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:478) hotplugStatusCallback 1.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:143) Waiting for devices irq.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:143) Waiting for devices pci.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:143) Waiting for devices ioports.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:143) Waiting for devices tap.
[2007-04-24 20:20:51 xend 3782] DEBUG (DevController:143) Waiting for devices vtpm.
[2007-04-24 20:20:51 xend 3782] INFO (XendDomain:370) Domain vm1sic (6) unpaused.


Hilft uns das weiter?

Danke

tom

stefan.becker
25.04.07, 01:02
Was versprichst du dir davon? Aktuell ist VMWARE die schnellere Variante. Und vor allem eine, die problemlos geht.

Ansonsten schau mal im oberen Bereich der Logs, die Netzwerkschicht scheint zu fehlen (tap, bridge).

scheichlinux
27.04.07, 16:07
Hallo

Also ich möchte es mit XEN deshalb probieren weil ich VM-Ware extra kaufen müsste und ich brauche das XP nur für eine einzige verdongelte Anwendung.

Daher meine Frage:

Was kann ich tun um diese Netzwerkschicht zum laufen zu bekommen?

Danke


P.S
Diverse Anleitungen für windows-auf-xen

habe ich schon abgearbeitet - ohne Erfolg
tom

stefan.becker
27.04.07, 19:39
Seit wann muss man VMWARE Server und Player kaufen? Ich verkauf dir das gerne, aber bei VMWARE kannst du die Sachen auch umsonst kriegen.

artspin
27.04.07, 21:50
Die wichtigste Frage überhaupt, Tom, unterstützt deine CPU Intel VT oder AMDV? Ansonsten läuft Windows sowieso nicht unter Xen.

scheichlinux
27.04.07, 22:32
Hallo

Ich habe einen Intel core 2 Duo

Der sollte laufen?

tom

artspin
27.04.07, 22:45
Denke ich auch! :D

scheichlinux
27.04.07, 22:51
Hallo

Nun bin ich also mit XEN kurz vor dem Ziel

Nur - wo hängt es mit der Netzwerkschicht?

Irgendwelche Quellen oder Ideen.

tom

Heinzisoft
21.08.09, 21:43
Falls das Problem immer noch nicht gelöst ist oder falls jemand anders (wie ich) über google hierauf stolpert und das selbe Problem hat, hier meine Lösung:

Das Problem ist, dass die domU den falschen Bridgenamen eingestellt hat.
(1) Mit "brctl show" in der dom0 kann man sich anzeigen lassen, wie die Bridge wirklich heißt
(2) In der entsprechenden /etc/xen/domU.cfg kann man dann in der vif-Zeile den Bridgenamen einstellen, beispielsweise folgendermaßen:
vif = [ 'type=ioemu,bridge=mybridge' ]

Lg

asterixer
27.08.09, 15:08
Gugg mal ob du im Bios die Virtualisierungsfunktion ueberhaupt aktiviert hast...

Asterix

stefan.becker
27.08.09, 21:22
Gugg mal ob du im Bios die Virtualisierungsfunktion ueberhaupt aktiviert hast...

Asterix

Geht nicht mehr. Der Prozessor ist in der Zwischenzeit abgeraucht.:ugly: