From: malc Subject: Re: qemu-kvm 1.1.1 hangs using 100% CPU when using ES1370 emulation Date: Fri, 24 Aug 2012 16:15:50 +0400 (MSK) Message-ID: References: <20120823161615.GD30565@jelinek> <503729B5.70202@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Mike Gerber , kvm@vger.kernel.org To: Michael Tokarev Return-path: Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:58078 "EHLO akado.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757771Ab2HXNP7 (ORCPT ); Fri, 24 Aug 2012 09:15:59 -0400 In-Reply-To: <503729B5.70202@msgid.tls.msk.ru> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 24 Aug 2012, Michael Tokarev wrote: > Hello Mike, Vassili. > > On 23.08.2012 20:16, Mike Gerber wrote: > > Hi, > > > > I'm using a KVM guest to stream audio using darkice to an icecast2 server on the > > same guest. The guest uses an emulated ES1370 sound card to capture the host's > > audio input (ASUS Xonar DX) using the ALSA backend. After 1 or 2 days, the > > qemu-kvm process locks up, using up 100% CPU, apparently spinning in > > audio/rate_template.h (See gdb session below). > > > > Do you have any advice on how to solve this problem? > > > > I haven't tried the -no-kvm-* switches, please advice if that would be useful > > in this case. Unfortunately it takes up to 2 days for the bug to happen, so > > trying all possible configurations is a bit time-consuming. > > > > More information here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685353 > > Mike, I noticed your work trying to debug the issue, and you finally > succeeded to get a usable backtrace which is good. I just weren't > able to get to you earlier. > > Can you also check whenever hda emulated device also shows this issue? > > Vassili, can you take a look please - the prob appears to be somehow > sound-related.. > [..snip..] It's also (appears) to be in the chunk of code written by Fabrice not me. Last comment at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685353 doesn't include a backtrace. Question - what's the frequency that the emulated card is operated in (and what is the actual frequency host card provides)? -- mailto:av1474@comtv.ru