Hide Forgot
Description of problem RHEL4.9 guest on RHEL6.1 AMD host can't play sound with VNC display,and can't record sound on both AMD host and Intel host. Version-Release number of selected component (if applicable): Host: kernel 2.6.32-118.el6 qemu-kvm-0.12.1.2-2.149.el6 Guest: kernel-2.6.9-100-ELSMP How reproducible: 100% Steps to Reproduce: 1.Start RHEL4.9 guest on a AMD host with cmdline: /usr/libexec/qemu-kvm -m 2G -smp 2 -cpu cpu64-rhel6 -no-kvm-pit-reinjection -rtc base=utc,clock=host,driftfix=slew -usbdevice tablet -drive file=~/test/17480/RHEL4.9_64_qcow2_base,if=none,id=drive-virtio0,boot=on,werror=stop,rerror=stop,cache=none,format=qcow2 -device virtio-blk-pci,drive=drive-virtio0,id=virtio-blk-pci0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup,ifname=virtio_0 -device virtio-net-pci,netdev=hostnet0,mac=00:54:01:8c:53:b5,bus=pci.0,id=virtio_0_0 -device intel-hda,id=sound0,bus=pci.0 -device hda-duplex -balloon none -uuid 5a7bee18-5ab6-464a-9b10-ff60e29d1753 -name RHEL49 -boot c -monitor stdio -vnc :1 2.Start VNC display:vncviewer 10.xx.xx.xx:1& 3.Insert microphone and earphone to the host which starts the guest. 4.Play audio or Record sound on the guest. Actual results: There's no sound from the host earphone and it can't record sound on the AMD host. However it can play sound on the Intel host,but also can't record sound. Expected results: Could play sound and record sound on both Intel and AMD host Additional info: 1.Information about the AMD host: 1) cat /proc/cpuinfo processor : 3 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : AMD Phenom(tm) 9600B Quad-Core Processor stepping : 3 cpu MHz : 1150.000 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 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 nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4587.91 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 2) lspci|grep Audio 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 2.Information about the Intel host: 1) processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Quad CPU Q9500 @ 2.83GHz stepping : 10 cpu MHz : 2000.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 3 cpu cores : 4 apicid : 3 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic 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 aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority bogomips : 5652.48 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: 2) lspci|grep Audio on the Intel host: 00:1b.0 Audio device: Intel Corporation 82801JD/DO (ICH10 Family) HD Audio Controller (rev 02) 01:00.1 Audio device: ATI Technologies Inc RV710/730
(In reply to comment #0) Addtional informaton: 1)It could play sound on the intel host. 2) There are some messages like this prompting on the qemu monitor of the AMD host: sing CPU model "cpu64-rhel6" Using CPU model "cpu64-rhel6" pulseaudio: pa_simple_new for playback failed pulseaudio: Reason: Connection refused pulseaudio: pa_simple_new for playback failed pulseaudio: Reason: Connection refused audio: Failed to create voice `dac' pulseaudio: pa_simple_new for capture failed pulseaudio: Reason: Connection refused pulseaudio: pa_simple_new for capture failed pulseaudio: Reason: Connection refused audio: Failed to create voice `adc' QEMU 0.12.1 monitor - type 'help' for more information (qemu) pulseaudio: pa_simple_new for playback failed pulseaudio: Reason: Connection refused pulseaudio: pa_simple_new for playback failed pulseaudio: Reason: Connection refused audio: Failed to create voice `dac' pulseaudio: pa_simple_new for playback failed pulseaudio: Reason: Connection refused pulseaudio: pa_simple_new for playback failed