[Pkg-libvirt-maintainers] Bug#499718: Bug#499718: [virt-manager] Impossible to install Windows

Guido Günther agx at sigxcpu.org
Mon Sep 22 16:08:41 UTC 2008


Hi Laurent,
On Mon, Sep 22, 2008 at 05:46:09PM +0200, Laurent Léonard wrote:
> Le lundi 22 septembre 2008 à 11:38, Guido Günther a écrit :
> > Which version of Windows is this exactly?
> 
> Windows XP OEM English
> Windows XP Corporate French with SP3
Thanks for the update!

> root     11953 51.7  1.3 897252 28196 ?        Sl   17:26   
> 0:03 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name windows_test_vm -monitor 
> pty -localtime -no-reboot -no-acpi -boot d -drive 
> file=/home/trash/windows_test_vm.img,if=ide,index=0 -drive 
> file=/home/trash/isos/windows_xp_pro_fr_sp3.iso,if=ide,media=cdrom,index=2,boot=on -net 
> nic,macaddr=00:16:36:2a:e1:25,vlan=0 -net 
> tap,fd=14,script=,vlan=0,ifname=vnet0 -serial pty -parallel 
> none -usb -usbdevice tablet -vnc 127.0.0.1:0
So the only real difference seems to be the -no-acpi. Could you try
installing XP again but select *win2003* in virt-manager. This should
drop the -no-acpi from the commandline. Alternatively you could check if
using:

/usr/bin/kvm -S -M pc -m 512 -smp 1 -name windows_test_vm 
-localtime -no-reboot -boot d -drive file=/home/trash/windows_test_vm.img,if=ide,index=0 -drive 
file=/home/trash/isos/windows_xp_pro_fr_sp3.iso,if=ide,media=cdrom,index=2,boot=on 

works.

[..snip..] 
> I choosed "Windows XP". 
Ahh. O.k. this might be a hint (see above).

> If I try to boot the installation disk again with the installed disk image in 
> commandline with KVM : 
> kvm -boot d -cdrom windows_xp_pro_sp3_fr.iso -hda windows_test.img -m 512
> the Windows installer system takes several minutes to pass the disk 
> verification step... 
So the shutdown doesn't work. This might be caused by the -no-acpi.

This looks like a different problem:
> I also tested with Windows Server 2003 Standard Edition, no problem with KVM 
> in commandline : 
> dd if=/dev/zero of=windows_test.img bs=1G count=3
> kvm -cdrom windows_server_2003_r2_standard_cd1.iso -hda windows_test.img -m 
> 512
> 
> But if I try to install it with Virt-manager, impossible to reboot after the 
> first installation stage, the virtual machine stops itself when booting to 
> the hard disk... If I try to boot to the same disk image in commandline with 
> KVM I get this : 
> exception 13 (0)                                                                                     
> rax 0000000000000000 rbx 0000000000004912 rcx 0000000000000b8f rdx 
> 0000000000000000                  
> rsi 00000000ffff07be rdi 00000000000931fe rsp 000000000000cfb4 rbp 
> 00000000000007be                  
> r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11 
> 0000000000000000                  
> r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 
> 0000000000000000                  
> rip 000000000000071f rflags 00033212                                                                 
> cs 0d00 (0000d000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)                                  
> ds 0d00 (0000d000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)                                  
> es 0d00 (0000d000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)                                  
> ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)                                  
> fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)                                  
> gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)                                  
> tr 0000 (fffbd000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)                                  
> ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)                                 
> gdt fb1f2/30                                                                                         
> idt 0/3ff                                                                                            
> cr0 10 cr2 0 cr3 0 cr4 0 cr8 0 efer 0                                                                
> code: 01 00 00 66 49 66 0b c9 0f 84 17 00 26 67 8b 03 26 67 89 07 --> 66 83 c3 
> 02 66 81 c7 00 02 00 00 66 49 eb e2 66 61 90 1f 07 c3 06 1e 66 60 66 b8 01 00 
> 00
> Abandon
Hmm...the kvm commandline would be interesting here too, but let's take
one problem at a time and look at XP first. Sorry for asking so many
data from you but I don't even have a Windows license here.
Cheers,
 -- Guido






More information about the Pkg-libvirt-maintainers mailing list