public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Avi Kivity <avi@redhat.com>
Cc: Boris Dolgov <boris@dolgov.name>,
	kvm@vger.kernel.org,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: BUG: soft lockup - CPU#0 stuck for 13s! [swapper:0]
Date: Wed, 25 Aug 2010 09:22:50 -0500	[thread overview]
Message-ID: <4C75273A.4060003@codemonkey.ws> (raw)
In-Reply-To: <4C75185E.2040006@redhat.com>

On 08/25/2010 08:19 AM, Avi Kivity wrote:
>  On 08/25/2010 04:15 PM, Boris Dolgov wrote:
>> Hello!
>>
>> I try to use KVM on slackware host and centos5 guest with SMP.
>>
>> When the server is idle, I get following errors in /var/log/messages:
>> http://pastebin.com/4RrMVuXq
>>
>> Guest:
>> [root@centos-5-x64 ~]# uname -a
>> Linux centos-5-x64.slave 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10
>> 19:05:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
>>
>> Start command: /usr/local/qemu/bin/qemu-system-x86_64 -name
>> centos-5-x64 -m 384 -smp 2 -cdrom
>> /root/CentOS-5.5-x86_64-netinstall.iso -drive
>> index=0,media=disk,if=virtio,file=/dev/mapper/vgvm-centos5x64,boot=on
>> -vnc 0.0.0.0:1 -net nic,macaddr=fe:e1:de:ad:57:22 -net
>> tap,script=/usr/local/qemu/bin/qemu-ifup -monitor stdio -usb
>> -usbdevice tablet -enable-kvm
>>
>> Host:
>> root@superserver:~# uname -a
>> Linux superserver 2.6.35.3 #4 SMP Mon Aug 23 12:17:01 MSD 2010 x86_64
>> Intel(R) Xeon(R) CPU           X3460  @ 2.80GHz GenuineIntel GNU/Linux
>> root@superserver:~# /usr/local/qemu/bin/qemu-system-x86_64 -version
>> QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5), Copyright (c)
>> 2003-2008 Fabrice Bellard
>>
>> What does it mean?
>
> Looks like a bug in our USB emulation.  Copying qemu-devel to see if 
> anyone has a clue.

USB tablet emulation would not do anything that causes QEMU to block so 
it seems unlikely to me.

What's more likely is that since USB is polling based, statistically 
speaking it's more likely that a VCPU is executing that call when the 
soft lockup is detected.

Regards,

Anthony Liguori



  reply	other threads:[~2010-08-25 14:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-25 13:15 BUG: soft lockup - CPU#0 stuck for 13s! [swapper:0] Boris Dolgov
2010-08-25 13:19 ` Avi Kivity
2010-08-25 14:22   ` Anthony Liguori [this message]
2010-08-25 14:47   ` Boris Dolgov
2010-08-25 16:14 ` Boris Dolgov
2010-08-25 16:19   ` Anthony Liguori
2010-08-25 16:24     ` Boris Dolgov
2010-08-25 19:33     ` Boris Dolgov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C75273A.4060003@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=boris@dolgov.name \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox