[Spice-devel] Possible problems with usbredir in w7 guest on F16 host?

Hans de Goede hdegoede at redhat.com
Wed Feb 1 03:34:39 PST 2012


Hi,

On 02/01/2012 12:10 PM, Gianluca Cecchi wrote:
> Starting with 25th of January some problems starting my w7 guest
> Initially I thought something related with kernel update, but using
> the previous one didn't help..
>
> The boot stops at win logo screen.
> This morning 4 attempts and then after disabling usbredir:

I don't think this is a usbredir problem, there are several reports
of such a hang, most not related to usbredir. Likely the presence
of usbredir just triggers things in such a way that the hang happens.

Can you try removing the following from the xml:
     <channel type='spicevmc'>
       <target type='virtio' name='com.redhat.spice.0'/>
       <address type='virtio-serial' controller='0' bus='0' port='1'/>
     </channel>

That will mean you cannot use the agent, but I believe that this
is the likely culprit.

Regards,

Hans


>
> $ diff w7.xml w7.xml.save
> 8c8
> <  <domain type='kvm'>
> ---
>> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
> 78a79,94
>>    <qemu:commandline>
>>      <qemu:arg value='-readconfig'/>
>>      <qemu:arg value='/etc/qemu/ich9-ehci-uhci.cfg'/>
>>      <qemu:arg value='-chardev'/>
>>      <qemu:arg value='spicevmc,name=usbredir,id=usbredirchardev1'/>
>>      <qemu:arg value='-device'/>
>>      <qemu:arg value='usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=ehci.0,debug=3'/>
>>      <qemu:arg value='-chardev'/>
>>      <qemu:arg value='spicevmc,name=usbredir,id=usbredirchardev2'/>
>>      <qemu:arg value='-device'/>
>>      <qemu:arg value='usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=ehci.0,debug=3'/>
>>      <qemu:arg value='-chardev'/>
>>      <qemu:arg value='spicevmc,name=usbredir,id=usbredirchardev3'/>
>>      <qemu:arg value='-device'/>
>>      <qemu:arg value='usb-redir,chardev=usbredirchardev3,id=usbredirdev3,bus=ehci.0,debug=3'/>
>>    </qemu:commandline>
>
> it starts without problems (not tested very much so I'm not sure this
> is the solution.. will see next days)
>
> $ rpm -qa libvirt qemu-kvm spice\*
> libvirt-0.9.6-4.fc16.x86_64
> qemu-kvm-0.15.1-3.fc16.x86_64
> spice-gtk-0.8-1.fc16.x86_64
> spice-server-0.10.1-1.fc16.x86_64
> spice-gtk-python-0.8-1.fc16.x86_64
> spice-glib-0.8-1.fc16.x86_64
> spice-gtk3-0.8-1.fc16.x86_64
> spice-xpi-2.5-4.fc16.x86_64
> spice-client-0.10.1-1.fc16.x86_64
> spice-gtk-tools-0.8-1.fc16.x86_64
>
> strace output while starting and remaining in logo screen consuming 100% cpu:
> https://docs.google.com/open?id=0BwoPbcrMv8mvY2VmNzEzZjItMGE2NC00NmRjLWE3ZDctODgwNjdmYTk1OTVh
>
> w7.log starting at 16/01, where the latest is the ok run:
> https://docs.google.com/open?id=0BwoPbcrMv8mvZDY2ZjRkMDEtYTczYy00ZTc3LThhNjMtMDk3MDQ1MTY2NTk1
>
> updates on 25th were
> Jan 25 10:19:13 Updated: glib2-2.30.2-1.fc16.x86_64
> Jan 25 10:19:14 Updated: openssl-1.0.0g-1.fc16.x86_64
> Jan 25 10:19:14 Updated: chkconfig-1.3.57-2.fc16.x86_64
> Jan 25 10:19:14 Updated: gtk3-3.2.3-1.fc16.x86_64
> Jan 25 10:19:15 Updated: libva-1.0.15-1.fc16.x86_64
> Jan 25 10:19:15 Updated: ffmpeg-libs-0.8.8-1.fc16.x86_64
> Jan 25 10:19:16 Updated: 1:qt-4.8.0-7.fc16.x86_64
> Jan 25 10:19:16 Updated: postgresql-libs-9.1.2-2.fc16.x86_64
> Jan 25 10:19:16 Updated: orc-0.4.16-5.fc16.x86_64
> Jan 25 10:19:16 Updated: foomatic-db-filesystem-4.0-30.20120103.fc16.noarch
> Jan 25 10:19:16 Updated: 12:dhcp-libs-4.2.3-5.P2.fc16.x86_64
> Jan 25 10:19:16 Updated: 12:dhcp-common-4.2.3-5.P2.fc16.x86_64
> Jan 25 10:19:21 Updated: foomatic-db-ppds-4.0-30.20120103.fc16.noarch
> Jan 25 10:19:21 Updated: orc-compiler-0.4.16-5.fc16.x86_64
> Jan 25 10:19:23 Updated: postgresql-9.1.2-2.fc16.x86_64
> Jan 25 10:19:25 Updated: 1:qt-x11-4.8.0-7.fc16.x86_64
> Jan 25 10:19:26 Updated: gnome-keyring-3.2.1-3.fc16.x86_64
> Jan 25 10:19:26 Updated: glusterfs-3.2.5-6.fc16.x86_64
> Jan 25 10:19:27 Updated: git-1.7.7.6-1.fc16.x86_64
> Jan 25 10:19:27 Updated: perl-Git-1.7.7.6-1.fc16.noarch
> Jan 25 10:19:38 Updated: selinux-policy-3.10.0-72.fc16.noarch
> Jan 25 10:19:38 Updated: mplayer-common-1.0-0.128.20110816svn.fc16.x86_64
> Jan 25 10:19:39 Updated: augeas-libs-0.10.0-3.fc16.x86_64
> Jan 25 10:19:39 Updated: mplayer-1.0-0.128.20110816svn.fc16.x86_64
> Jan 25 10:19:41 Updated: selinux-policy-targeted-3.10.0-72.fc16.noarch
> Jan 25 10:19:41 Updated: glusterfs-fuse-3.2.5-6.fc16.x86_64
> Jan 25 10:19:42 Updated: gnome-keyring-pam-3.2.1-3.fc16.x86_64
> Jan 25 10:19:45 Updated: 1:qt-devel-4.8.0-7.fc16.x86_64
> Jan 25 10:19:46 Updated: postgresql-server-9.1.2-2.fc16.x86_64
> Jan 25 10:19:46 Updated: orc-devel-0.4.16-5.fc16.x86_64
> Jan 25 10:19:50 Updated: foomatic-db-4.0-30.20120103.fc16.noarch
> Jan 25 10:19:50 Updated: 12:dhclient-4.2.3-5.P2.fc16.x86_64
> Jan 25 10:19:51 Updated: ffmpeg-devel-0.8.8-1.fc16.x86_64
> Jan 25 10:19:51 Updated: ffmpeg-0.8.8-1.fc16.x86_64
> Jan 25 10:19:51 Updated: libva-devel-1.0.15-1.fc16.x86_64
> Jan 25 10:19:51 Updated: libva-utils-1.0.15-1.fc16.x86_64
> Jan 25 10:19:51 Updated: gtk3-immodule-xim-3.2.3-1.fc16.x86_64
> Jan 25 10:19:51 Updated: gnome-color-manager-3.2.2-1.fc16.x86_64
> Jan 25 10:19:52 Updated: ntsysv-1.3.57-2.fc16.x86_64
> Jan 25 10:19:52 Updated: 1:nfs-utils-1.2.5-4.fc16.x86_64
> Jan 25 10:19:52 Updated: mysql-libs-5.5.19-1.fc16.x86_64
> Jan 25 10:19:52 Updated: ibus-hangul-1.4.0-1.fc16.x86_64
> Jan 25 10:19:53 Updated: glib2-devel-2.30.2-1.fc16.x86_64
> Jan 25 10:19:54 Updated: gjs-1.30.1-1.fc16.x86_64
> Jan 25 10:19:54 Updated: espeak-1.46.02-1.fc16.x86_64
> Jan 25 10:19:55 Updated: libicu-4.6-4.fc16.x86_64
> Jan 25 10:19:55 Updated: kernel-headers-3.2.1-3.fc16.x86_64
> Jan 25 10:20:03 Installed: kernel-devel-3.2.1-3.fc16.x86_64
> Jan 25 10:20:04 Updated: iso-codes-3.32-1.fc16.noarch
> Jan 25 10:20:04 Updated: xkeyboard-config-2.3-3.fc16.noarch
> Jan 25 10:20:04 Updated: alsa-plugins-pulseaudio-1.0.24-3.fc16.x86_64
> Jan 25 10:20:04 Updated: os-prober-1.48-2.fc16.x86_64
> Jan 25 10:20:05 Updated: kernel-tools-3.2.1-3.fc16.x86_64
> Jan 25 10:20:05 Updated: 1:emacs-filesystem-23.3-9.fc16.x86_64
> Jan 25 10:20:05 Updated: procmail-3.22-29.fc16.x86_64
> Jan 25 10:20:05 Updated: gnome-tweak-tool-3.2.2-1.fc16.noarch
> Jan 25 10:20:05 Updated: pptp-1.7.2-14.fc16.x86_64
> Jan 25 10:20:06 Updated: rubygem-treetop-1.4.10-1.fc16.noarch
> Jan 25 10:20:15 Updated: kernel-doc-3.2.1-3.fc16.noarch
> Jan 25 10:20:19 Installed: kernel-3.2.1-3.fc16.x86_64
> Jan 25 10:20:19 Updated: 1:libguestfs-1.14.9-1.fc16.x86_64
> Jan 25 10:20:19 Updated: 1:libguestfs-tools-c-1.14.9-1.fc16.x86_64
>
> Thanks,
> Gianluca
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list