Package: kvm Version: 72+dfsg-3 Severity: wishlist Tags: patch Since 1.0.17.dfsg-3, alsa-base doesn't load OSS compatibility modules anymore, which breaks audio output (-soundhw es1370) of kvm (and qemu) without taking manual action (like exporting QEMU_AUDIO_DRV=alsa; running kvm through aoss does not work).
The attached debdiff, which also applies against current git HEAD, reorders
the priority of kvm's audio options and prefers ALSA over OSS, while OSS
and the other options remain selectable through QEMU_AUDIO_DRV:
- --audio-drv-list="oss alsa sdl" \
+ --audio-drv-list="alsa oss sdl" \
Regards
Stefan Lippers-Hollmann
-- Package-specific info:
selected information from lshal(1):
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
stepping : 7
cpu MHz : 2000.000
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx smx est
tm2 ssse3 cx16 xt
pr sse4_1 lahf_lm
bogomips : 5666.01
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
stepping : 7
cpu MHz : 2000.000
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx smx est
tm2 ssse3 cx16 xt
pr sse4_1 lahf_lm
bogomips : 5665.84
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
stepping : 7
cpu MHz : 2000.000
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx smx est
tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips : 5665.85
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
stepping : 7
cpu MHz : 2000.000
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx smx est
tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips : 5665.82
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.27-8.slh.1-sidux-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages 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 libc6 2.7-16 GNU C Library: Shared libraries
ii libgnutls26 2.4.2-3 the GNU TLS library - runtime libr
ii libncurses5 5.7+20081129-1 shared libraries for terminal hand
ii libsdl1.2debian 1.2.13-4 Simple DirectMedia Layer
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 kvm recommends:
ii linux-image-2.6.27-8.slh.1-si 2.6.27-36 Linux 2.6.27 image on AMD64
Versions of packages kvm suggests:
ii debootstrap 1.0.10 Bootstrap a basic Debian system
ii hal 0.5.11-6 Hardware Abstraction Layer
pn kvm-source <none> (no description available)
ii samba 2:3.2.5-1 a LanManager-like file and printer
pn vde2 <none> (no description available)
-- no debconf information
diff -u kvm-72+dfsg/debian/patches/reenable_audio_drivers.patch kvm-72+dfsg/debian/patches/reenable_audio_drivers.patch
--- kvm-72+dfsg/debian/patches/reenable_audio_drivers.patch
+++ kvm-72+dfsg/debian/patches/reenable_audio_drivers.patch
@@ -12,7 +12,7 @@
(cd qemu; ./configure --target-list=$target_exec \
--disable-kqemu \
--disable-gcc-check \
-+ --audio-drv-list="oss alsa sdl" \
++ --audio-drv-list="alsa oss sdl" \
+ --audio-card-list="ac97 adlib cs4231a gus" \
--extra-cflags="-I $PWD/../libkvm $qemu_cflags" \
--extra-ldflags="-L $PWD/../libkvm $qemu_ldflags" \
signature.asc
Description: This is a digitally signed message part.

