retitle 653068 squeeze-VMs fail to boot with qxl video
tags 653068 - moreinfo unreproducible
severity 653068 normal
thanks

On 04.01.2012 20:20, Matthias Heinz wrote:
[]
> I don't have to reboot to get the problems. Using spice as
> graphics output (and installing the image with spice! Very
> important!) it always fails for me. But more after I gave
> you all requested informations.

Aha!  This is a very important part indeed.  I'd never figured
this part out.

Note that spice isn't really supported by squeeze, there are
no drivers in squeeze for it.

[]
> then I used virt-install to install the same system. One with spice the other 
> with vnc:
> 
> virt-install --name test3 --ram 512 -c 
> /mnt/fec63632-26d4-4e49-98dc-97e6b0b48f31/images/11111111-1111-1111-1111-111111111111/debian-6.0.3-amd64-netinst.iso
>  --disk path=/tmp/test3.img --graphics spice,port=5901,listen=0.0.0.0
> virt-install --name test4 --ram 512 -c 
> /mnt/fec63632-26d4-4e49-98dc-97e6b0b48f31/images/11111111-1111-1111-1111-111111111111/debian-6.0.3-amd64-netinst.iso
>  --disk path=/tmp/test4.img --graphics vnc,port=5901,listen=0.0.0.0
> 
> The image I installed with vnc (test4) works fine. The one installed over 
> spice (test3)  wont.

Okay, nice.

> The error message is the same as above.
> 
> Then I swaped the config (took the config from test4 changed the name, image 
> destination, uuid
> and mac address and inserted in the editor of virsh edit test3. Did the same 
> with both
> config files).
> 
> Test3 runs now, but test4 fails.

So when spice is enabled, squeeze guest fails, no matter how it has
been installed.

> The command line for test3:
> /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 512 -smp 
> 1,sockets=1,cores=1,threads=1 -name test3 -uuid 
> 0b1e833b-d9e5-3d0f-c072-c679a2342bd8 -nodefconfig -nodefaults -chardev 
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/test3.monitor,server,nowait 
> -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown 
> -drive file=/tmp/test3.img,if=none,id=drive-ide0-0-0,format=raw -device 
> ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 
> -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device 
> ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev 
> tap,fd=18,id=hostnet0 -device 
> rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:b6:8e:9d,bus=pci.0,addr=0x3 
> -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 
> -usb -vnc
> 0.0.0.0:1 -vga cirrus -device 
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
> 
> The line for test4:
> /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 512 -smp 
> 1,sockets=1,cores=1,threads=1 -name test4 -uuid 
> d38a68c2-e1eb-d02e-7592-3aee0b0e8c88 -nodefconfig -nodefaults -chardev 
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/test4.monitor,server,nowait 
> -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown 
> -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive 
> file=/tmp/test4.img,if=none,id=drive-ide0-0-0,format=raw -device 
> ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 
> -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device 
> ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev 
> tap,fd=18,id=hostnet0 -device 
> rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:56:67:6d,bus=pci.0,addr=0x3 
> -chardev
> pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -usb 
> -spice port=5901,addr=0.0.0.0,disable-ticketing -vga qxl -global 
> qxl-vga.vram_size=67108864 -device 
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
> 
> 
> But! If I change the graphics output in the test4 config back to vnc, it 
> fails over VNC, too.
> 
> And if I change the graphics output for test3 to spice the image boots.
> 
> So, it looks like virt-inst seems to do something differently, if you choose 
> between
> vnc and spice.
> 
> I've added the unaltered xml config files (from virsh dumpxml) as attachment. 
> Where
> test3 is the config that doesn't boot and test4 is the one that works.
> 
> You can see that a major difference is the video model. So I tested it a bit 
> further.
> 
> Changing the model from qxl to cirrus lets every bevorehand broken VM boot.
> 
> To test further, I tried a wheezy/testing cd install iso from around december 
> 12th. (same virt-inst
> command line as above with the spice graphics, but different iso). It works 
> without
> any problems and uses qxl as video model.

Aha, that's really excellent!  I'll see what can we do further
at this point.  It appears we've a bug somewhere to chase.

> So the topic should be change to: squeeze-VMs fail to boot with qxl video.

Doing just that now.

I also downgraded the severity of the bug to normal, since actually
this is just spice/qxl thing (which isn't really supported in squeeze
anyway, but you can use it after installing drivers in there), and
there are obvious workarounds (using cirrus or stdvga, which aren't
that nice but works).

Thank you very much for the very nice work and very nice and detailed
bugreport!

/mjt



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to