Package: qemu-kvm
Version: 0.12.4+dfsg-1
Severity: important

Yesterday i installed Ubuntu10.4 on qemu-kvm from Lenny backports. Now i start 
it with this options:

kvm /var/mmn/vm/Ubuntu10.4/Ubuntu.img -name "Ubuntu 10.4" -M pc -cpu phenom -m 
1G -rtc base=utc -vga vmware -k de -soundhw ac97 -usb -usbdevice tablet -boot c

I also tried all other ALSA sound devices available in qemu-kvm. And always i 
got this message on console:

alsa: Unexpected state 1

But this message comes in a loop and slows down the vm. Sound is not available.

I found a path that fixes the loop and sound works fine. But 100% CPU load so 
this patch is only a stopgap:

diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index 6a9b87a..88344ff 100644
a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -213,6 +213,10 @@ static void alsa_poll_handler (void *opaque)

state = snd_pcm_state (hlp->handle);
switch (state) {
+ case SND_PCM_STATE_SETUP:
+ alsa_recover (hlp->handle);
+ break;
+
case SND_PCM_STATE_XRUN:
alsa_recover (hlp->handle);
break;


-- Package-specific info:


/proc/cpuinfo:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 4
model name      : AMD Phenom(tm) II X4 945 Processor
stepping        : 2
cpu MHz         : 3013.625
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni monitor cx16 popcnt lahf_lm 
cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs 
skinit wdt
bogomips        : 6030.37
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 4
model name      : AMD Phenom(tm) II X4 945 Processor
stepping        : 2
cpu MHz         : 3013.625
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni monitor cx16 popcnt lahf_lm 
cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs 
skinit wdt
bogomips        : 6027.29
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 2
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 4
model name      : AMD Phenom(tm) II X4 945 Processor
stepping        : 2
cpu MHz         : 3013.625
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni monitor cx16 popcnt lahf_lm 
cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs 
skinit wdt
bogomips        : 6027.30
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 3
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 4
model name      : AMD Phenom(tm) II X4 945 Processor
stepping        : 2
cpu MHz         : 3013.625
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni monitor cx16 popcnt lahf_lm 
cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs 
skinit wdt
bogomips        : 6027.29
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate




-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26.8-rt16.m12 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qemu-kvm depends on:
ii  adduser           3.110                  add and remove users and groups
ii  bridge-utils      1.4-5                  Utilities for configuring the Linu
ii  iproute           20080725-2             networking and traffic control too
ii  libasound2        1.0.16-2               ALSA library
ii  libbluetooth2     3.36-1                 Library to use the BlueZ Linux Blu
ii  libbrlapi0.5      3.10~r3724-1+lenny1    braille display access via BRLTTY 
ii  libc6             2.7-18lenny4           GNU C Library: Shared libraries
ii  libcurl3-gnutls   7.18.2-8lenny4         Multi-protocol file transfer libra
ii  libgnutls26       2.4.2-6+lenny2         the GNU TLS library - runtime libr
ii  libncurses5       5.7+20081213-1         shared libraries for terminal hand
ii  libpci3           1:3.0.0-6              Linux PCI Utilities (shared librar
ii  libpulse0         0.9.10-3+lenny2+b1     PulseAudio client libraries
ii  libsasl2-2        2.1.22.dfsg1-23+lenny1 Cyrus SASL - authentication abstra
ii  libsdl1.2debian   1.2.13-2               Simple DirectMedia Layer
ii  libuuid1          1.41.3-1               universally unique id library
ii  libvdeplug2       2.2.2-3                Virtual Distributed Ethernet - Plu
ii  libx11-6          2:1.1.5-2              X11 client-side library
ii  python            2.5.2-3                An interactive high-level object-o
ii  zlib1g            1:1.2.3.3.dfsg-12      compression library - runtime

Versions of packages qemu-kvm recommends:
pn  linux-image                   <none>     (no description available)

Versions of packages qemu-kvm suggests:
ii  debootstrap                 1.0.10lenny1 Bootstrap a basic Debian system
pn  samba                       <none>       (no description available)
pn  vde2                        <none>       (no description available)

-- no debconf information



-- 
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