Michal Mihalik
2006-Nov-17 09:37 UTC
[Xen-users] debian amd64 etch hvm xp sp2 problem black screen frozen.
Hello. Im trying to get hvm running on my amd64 am2 socket 2gb ram. 1st it as a Debian amd64 etch. 2st xen 3.0.3-2 debian build (more configs below) 3st acpi=1 apic=1 Problem is I can install winXP but after reboot i get black screen. If i press F8 i get menu of XP but can''t select anything ->frozen again If i try acpi=0 apic=0 and install XP it freezes before it XP boots the setup kernel. (black screen with cursor) The real question is Is it a problem with debian(and its xen) or xen? or something else. what sould I do to get posibility of relatively stable enviroment for 64bit and 32bit windows. Thanks Michal ================= xm info ============= ================ =========host : amd64 release : 2.6.17-2-xen-amd64 version : #1 SMP Wed Sep 13 18:35:45 CEST 2006 machine : x86_64 nr_cpus : 1 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 1 threads_per_core : 1 cpu_mhz : 2010 hw_caps : 078bfbff:ebd3fbff:00000000:00000010:00002001:0000001d:0000001d total_memory : 2047 free_memory : 557 xen_major : 3 xen_minor : 0 xen_extra : .3-1 xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Tue Oct 17 22:09:52 2006 +0100 cc_compiler : gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19) cc_compile_by : ultrotter cc_compile_domain : debian.org cc_compile_date : Fri Nov 3 00:21:27 CET 2006 xend_config_format : 2 ========= xm dmesg (guest start) ================ =========(XEN) (GUEST: 12) HVM Loader (XEN) (GUEST: 12) Detected Xen v3.0.3-1 (XEN) (GUEST: 12) Writing SMBIOS tables ... (XEN) (GUEST: 12) Loading ROMBIOS ... (XEN) (GUEST: 12) Creating MP tables ... (XEN) (GUEST: 12) Loading Cirrus VGABIOS ... (XEN) (GUEST: 12) Loading ACPI ... (XEN) (GUEST: 12) SVM go ... (XEN) (GUEST: 12) rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $ (XEN) (GUEST: 12) VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $ (XEN) (GUEST: 12) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ (XEN) (GUEST: 12) (XEN) (GUEST: 12) ata0-0: PCHS=4161/16/63 translation=lba LCHS=520/128/63 (XEN) (GUEST: 12) ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (2048 MBytes) (XEN) (GUEST: 12) ata0 slave: Unknown device (XEN) (GUEST: 12) (XEN) (GUEST: 12) CDROM boot failure code : 0002 (XEN) (GUEST: 12) Boot from CD-Rom failed (XEN) (GUEST: 12) Booting from Hard Disk... (XEN) (GUEST: 12) unsupported PCI BIOS function 0x0E (XEN) (GUEST: 12) int13_harddisk: function 15, unmapped device for ELDL=81 (XEN) (GUEST: 12) *** int 15h function AX=E980, BX=00F2 not yet supported! (XEN) hvm_vioapic_write_indirect: version register read only (XEN) hvm_vioapic_write_indirect: version register read only (XEN) hvm_vioapic_write_indirect: version register read only (XEN) This hvm_vlapic is for P4, no work for De-assert init ==================config file =========== ========= =======kernel = "hvmloader" builder=''hvm'' memory = 512 shadow_memory = 32 name = "xp" uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8ba" vcpus=1 #pae=0 acpi=1 apic=1 #vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''phy:/dev/mapper/VG0-WinXP,ioemu:hda,w''] #, ''file:/root/win.iso,hdc:cdrom,r'' ] #disk = [ ''phy:/dev/mapper/VG0-WinXP,ioemu:hda,w''], ''phy:/dev/hda,ioemu:hdc:cdrom,r'' ] device_model = ''qemu-dm'' boot="dca" #snapshot=1 sdl=1 vnc=0 #vnclisten="127.0.0.1" #vncdisplay=1 #vncunused=1 #vncconsole=0 #nographic=0 stdvga=0 #serial=''pty'' #soundhw=''sb16'' #localtime=1 #full-screen=1 #usb=1 #usbdevice=''mouse'' #usbdevice=''tablet'' ================== xend.log ========================== [2006-11-17 10:29:53 xend.XendDomainInfo 4205] DEBUG (__init__:1072) XendDomainInfo.create([''vm'', [''name'', ''xp''], [''memory'', 512], [''shadow_memory'', 32], [''vcpus'', 1], [''uuid'', ''06ed00fe-1162-4fc4-b5d8-11993ee4a8ba''], [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen-3.0.3-1/boot/hvmloader''], [''vcpus'', 1], [''boot'', ''dca''], [''vncunused'', 1], [''sdl'', 1], [''display'', '':0.0''], [''xauthority'', ''/tmp/libgksu-n4Lojs/.Xauthority''], [''acpi'', 1], [''apic'', 1], [''device_model'', ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/mapper/VG0-WinXP''], [''dev'', ''ioemu:hda''], [''mode'', ''w'']]]]) [2006-11-17 10:29:53 xend.XendDomainInfo 4205] DEBUG (__init__:1072) parseConfig: config is [''vm'', [''name'', ''xp''], [''memory'', 512], [''shadow_memory'', 32], [''vcpus'', 1], [''uuid'', ''06ed00fe-1162-4fc4-b5d8-11993ee4a8ba''], [''image'', [''hvm'', [''kernel'', ''/usr/lib/xen-3.0.3-1/boot/hvmloader''], [''vcpus'', 1], [''boot'', ''dca''], [''vncunused'', 1], [''sdl'', 1], [''display'', '':0.0''], [''xauthority'', ''/tmp/libgksu-n4Lojs/.Xauthority''], [''acpi'', 1], [''apic'', 1], [''device_model'', ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/mapper/VG0-WinXP''], [''dev'', ''ioemu:hda''], [''mode'', ''w'']]]] [2006-11-17 10:29:53 xend.XendDomainInfo 4205] DEBUG (__init__:1072) parseConfig: result is {''shadow_memory'': 32, ''uuid'': ''06ed00fe-1162-4fc4-b5d8-11993ee4a8ba'', ''on_crash'': None, ''on_reboot'': None, ''localtime'': None, ''image'': [''hvm'', [''kernel'', ''/usr/lib/xen-3.0.3-1/boot/hvmloader''], [''vcpus'', 1], [''boot'', ''dca''], [''vncunused'', 1], [''sdl'', 1], [''display'', '':0.0''], [''xauthority'', ''/tmp/libgksu-n4Lojs/.Xauthority''], [''acpi'', 1], [''apic'', 1], [''device_model'', ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'']], ''on_poweroff'': None, ''bootloader_args'': None, ''cpus'': None, ''name'': ''xp'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': None, ''features'': None, ''vcpu_avail'': None, ''memory'': 512, ''device'': [(''vbd'', [''vbd'', [''uname'', ''phy:/dev/mapper/VG0-WinXP''], [''dev'', ''ioemu:hda''], [''mode'', ''w'']])], ''bootloader'': None, ''cpu'': None, ''maxmem'': None} [2006-11-17 10:29:53 xend.XendDomainInfo 4205] DEBUG (__init__:1072) XendDomainInfo.construct: None [2006-11-17 10:29:53 xend.XendDomainInfo 4205] DEBUG (__init__:1072) XendDomainInfo.initDomain: 12 1.0 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: boot, val: dca [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: fda, val: None [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: fdb, val: None [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: soundhw, val: None [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: localtime, val: None [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: serial, val: None [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: std-vga, val: None [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: isa, val: None [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: vcpus, val: 1 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: acpi, val: 1 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: usb, val: None [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) args: usbdevice, val: None [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) Balloon: 571168 KiB free; need 570576; done. [2006-11-17 10:29:53 xend 4205] INFO (__init__:1072) buildDomain os=hvm dom=12 vcpus=1 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) dom 12 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) image = /usr/lib/xen-3.0.3-1/boot/hvmloader [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) store_evtchn = 1 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) memsize 512 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) vcpus = 1 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) pae = 0 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) acpi = 1 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) apic = 1 [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) hvm shutdown watch registered [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''768'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/12/768''} to /local/domain/12/device/vbd/768. [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) DevController: writing {''domain'': ''xp'', ''frontend'': ''/local/domain/12/device/vbd/768'', ''dev'': ''hda'', ''state'': ''1'', ''params'': ''/dev/mapper/VG0-WinXP'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''12'', ''type'': ''phy''} to /local/domain/0/backend/vbd/12/768. [2006-11-17 10:29:53 xend 4205] INFO (__init__:1072) spawning device models: /usr/lib/xen-3.0.3-1/bin/qemu-dm [''/usr/lib/xen-3.0.3-1/bin/qemu-dm'', ''-d'', ''12'', ''-m'', ''512'', ''-boot'', ''dca'', ''-vcpus'', ''1'', ''-acpi'', ''-domain-name'', ''xp''] [2006-11-17 10:29:53 xend 4205] INFO (__init__:1072) device model pid: 14465 [2006-11-17 10:29:53 xend.XendDomainInfo 4205] DEBUG (__init__:1072) Storing VM details: {''shadow_memory'': ''32'', ''uuid'': ''06ed00fe-1162-4fc4-b5d8-11993ee4a8ba'', ''on_reboot'': ''restart'', ''start_time'': ''1163755793.78'', ''on_poweroff'': ''destroy'', ''name'': ''xp'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''512'', ''on_crash'': ''restart'', ''image'': ''(hvm (kernel /usr/lib/xen-3.0.3-1/boot/hvmloader) (vcpus 1) (boot dca) (vncunused 1) (sdl 1) (display :0.0) (xauthority /tmp/libgksu-n4Lojs/.Xauthority) (acpi 1) (apic 1) (device_model /usr/lib/xen-3.0.3-1/bin/qemu-dm))'', ''maxmem'': ''512''} [2006-11-17 10:29:53 xend.XendDomainInfo 4205] DEBUG (__init__:1072) Storing domain details: {''console/port'': ''2'', ''name'': ''xp'', ''console/limit'': ''1048576'', ''vm'': ''/vm/06ed00fe-1162-4fc4-b5d8-11993ee4a8ba'', ''domid'': ''12'', ''cpu/0/availability'': ''online'', ''memory/target'': ''524288'', ''store/ring-ref'': ''208329'', ''store/port'': ''1''} [2006-11-17 10:29:53 xend 4205] DEBUG (__init__:1072) hvm_shutdown fired, shutdown reason=None [2006-11-17 10:29:53 xend.XendDomainInfo 4205] DEBUG (__init__:1072) XendDomainInfo.handleShutdownWatch [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) Waiting for devices vif. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) Waiting for devices usb. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) Waiting for devices vbd. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) Waiting for 768. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/12/768/hotplug-status. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/12/768/hotplug-status. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) hotplugStatusCallback 1. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) Waiting for devices irq. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) Waiting for devices pci. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) Waiting for devices ioports. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) Waiting for devices tap. [2006-11-17 10:29:54 xend 4205] DEBUG (__init__:1072) Waiting for devices vtpm. [2006-11-17 10:29:54 xend 4205] INFO (__init__:1072) Domain xp (12) unpaused. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users