Date: Sun, 15 Jan 2012 21:54:18 +0000 (UTC) From: AN <andy@neu.net> To: freebsd-stable@freebsd.org Subject: problem with sound in FreeBSD VBOX guest Message-ID: <alpine.BSF.2.00.1201152119280.51650@mail.neu.net>
next in thread | raw e-mail | index | archive | help
I have a problem with sound in FreeBSD9 stable as a VBOX guest. The problem happens about 30-45 minutes after boot. While playing a stream from the web the sound will suddenly stop. I see the following in the log: Jan 15 16:36:06 BSD9 kernel: pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead Jan 15 16:38:06 BSD9 kernel: pcm0: chn_write(): pcm0:virtual:dsp0.vp1: play interrupt timeout, channel dead I am using the hda driver in the FreeBSD guest, however I have tried others and they do not work any better. Below is relevant info from the VBOX host and the FreeBSD guest: VBOX HOST INFO (Opensuse 11.4 x86_64) VirtualBox ver. 4.1.8 -Version- Kernel : Linux 2.6.37.6-0.9-desktop (x86_64) Compiled : #1 SMP PREEMPT 2011-10-19 22:33:27 +0200 C Library : GNU C Library version 2.11.3 (20110203) (stable) Default C Compiler : GNU C Compiler version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) Distribution : openSUSE 11.4 (x86_64) -Current Session- Desktop Environment : GNOME 2.32.1 -Display- Resolution : 1280x1024 pixels Vendor : The X.Org Foundation Version : 1.9.3 -Monitors- Monitor 0 : 1280x1024 pixels -Extensions- BIG-REQUESTS -OpenGL- Vendor : Advanced Micro Devices, Inc. Renderer : Mesa DRI R600 (RS880 9710) 20090101 TCL DRI2 Version : 2.1 Mesa 7.10.2 Direct Rendering : Yes -PCI Devices- Host bridge : Advanced Micro Devices [AMD] RS880 Host Bridge PCI bridge : Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge PCI bridge : Advanced Micro Devices [AMD] RS780 PCI to PCI bridge PCI bridge : Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge SATA controller : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] USB Controller : ATI Technologies Inc SB700/SB800 USB OHCI0 Controller USB Controller : ATI Technologies Inc SB700 USB OHCI1 Controller USB Controller : ATI Technologies Inc SB700/SB800 USB EHCI Controller USB Controller : ATI Technologies Inc SB700/SB800 USB OHCI0 Controller USB Controller : ATI Technologies Inc SB700 USB OHCI1 Controller USB Controller : ATI Technologies Inc SB700/SB800 USB EHCI Controller SMBus : ATI Technologies Inc SBx00 SMBus Controller Audio device : ATI Technologies Inc SBx00 Azalia ISA bridge : ATI Technologies Inc SB700/SB800 LPC host controller PCI bridge : ATI Technologies Inc SBx00 PCI to PCI Bridge Host bridge : Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration Host bridge : Advanced Micro Devices [AMD] Family 10h Processor Address Map Host bridge : Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller Host bridge : Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control Host bridge : Advanced Micro Devices [AMD] Family 10h Processor Link Control VGA compatible controller : ATI Technologies Inc RS880 [Radeon HD 4200] Audio device : ATI Technologies Inc RS880 Audio Device [Radeon HD 4200] Network controller : RaLink Device 5390 Ethernet controller : Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller -I/O Ports- <tt>0000-0cf7 </tt> : PCI Bus 0000:00 <tt> 0000-001f </tt> : dma1 <tt> 0020-0021 </tt> : pic1 <tt> 0040-0043 </tt> : timer0 <tt> 0050-0053 </tt> : timer1 <tt> 0060-0060 </tt> : keyboard <tt> 0064-0064 </tt> : keyboard <tt> 0070-0071 </tt> : rtc0 <tt> 0080-008f </tt> : dma page reg <tt> 00a0-00a1 </tt> : pic2 <tt> 00c0-00df </tt> : dma2 <tt> 00f0-00ff </tt> : fpu <tt> 03c0-03df </tt> : vesafb <tt> 040b-040b </tt> : pnp 00:08 <tt> 04d0-04d1 </tt> : pnp 00:08 <tt> 04d6-04d6 </tt> : pnp 00:08 <tt> 0800-089f </tt> : pnp 00:08 <tt> 0800-0803 </tt> : ACPI PM1a_EVT_BLK <tt> 0804-0805 </tt> : ACPI PM1a_CNT_BLK <tt> 0808-080b </tt> : ACPI PM_TMR <tt> 0810-0815 </tt> : ACPI CPU throttle <tt> 0820-0827 </tt> : ACPI GPE0_BLK <tt> 0900-090f </tt> : pnp 00:08 <tt> 0910-091f </tt> : pnp 00:08 <tt> 0b00-0b0f </tt> : pnp 00:08 <tt> 0b00-0b07 </tt> : piix4_smbus <tt> 0b20-0b3f </tt> : pnp 00:08 <tt> 0c00-0c01 </tt> : pnp 00:08 <tt> 0c14-0c14 </tt> : pnp 00:08 <tt> 0c50-0c51 </tt> : pnp 00:08 <tt> 0c52-0c52 </tt> : pnp 00:08 <tt> 0c6c-0c6c </tt> : pnp 00:08 <tt> 0c6f-0c6f </tt> : pnp 00:08 <tt> 0cd0-0cd1 </tt> : pnp 00:08 <tt> 0cd2-0cd3 </tt> : pnp 00:08 <tt> 0cd4-0cd5 </tt> : pnp 00:08 <tt> 0cd6-0cd7 </tt> : pnp 00:08 <tt> 0cd8-0cdf </tt> : pnp 00:08 <tt>0cf8-0cff </tt> : PCI conf1 <tt>0d00-ffff </tt> : PCI Bus 0000:00 <tt> 0e00-0e0f </tt> : pnp 00:09 <tt> 0e80-0e8f </tt> : pnp 00:09 <tt> 0f40-0f4f </tt> : pnp 00:09 <tt> 8000-800f </tt> : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] <tt> 8000-800f </tt> : ahci <tt> 9000-9003 </tt> : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] <tt> 9000-9003 </tt> : ahci <tt> a000-a007 </tt> : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] <tt> a000-a007 </tt> : ahci <tt> b000-b003 </tt> : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] <tt> b000-b003 </tt> : ahci <tt> c000-c007 </tt> : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] <tt> c000-c007 </tt> : ahci <tt> d000-dfff </tt> : PCI Bus 0000:01 <tt> d000-d0ff </tt> : ATI Technologies Inc RS880 [Radeon HD 4200] <tt> e000-efff </tt> : PCI Bus 0000:03 <tt> e800-e8ff </tt> : Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller <tt> e800-e8ff </tt> : RealTek RTL-8169 Gigabit Ethernet driver <tt> fe00-fefe </tt> : pnp 00:08 -Memory- <tt>00000000-0000ffff </tt> : reserved <tt>00010000-0009a3ff </tt> : System RAM <tt>0009a400-0009ffff </tt> : reserved <tt>000a0000-000bffff </tt> : PCI Bus 0000:00 <tt>000c0000-000cffff </tt> : pnp 00:0b <tt>000d0000-000dffff </tt> : PCI Bus 0000:00 <tt>000e4000-000fffff </tt> : reserved <tt>00100000-cffaffff </tt> : System RAM <tt> 01000000-0152f744 </tt> : Kernel code <tt> 0152f745-01b28e0f </tt> : Kernel data <tt> 01c1a000-01d97fbb </tt> : Kernel bss <tt> c4000000-c7ffffff </tt> : GART <tt>cffb0000-cffbdfff </tt> : ACPI Tables <tt>cffbe000-cffdffff </tt> : ACPI Non-volatile Storage <tt>cffe0000-cfffffff </tt> : reserved <tt>d0000000-dfffffff </tt> : PCI Bus 0000:00 <tt> d0000000-dfffffff </tt> : PCI Bus 0000:01 <tt> d0000000-dfffffff </tt> : ATI Technologies Inc RS880 [Radeon HD 4200] <tt>e0000000-efffffff </tt> : PCI MMCONFIG 0000 [bus 00-ff] <tt> e0000000-efffffff </tt> : pnp 00:0a <tt>f0000000-febfffff </tt> : PCI Bus 0000:00 <tt> fdf00000-fdffffff </tt> : PCI Bus 0000:03 <tt> fdffc000-fdffffff </tt> : Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller <tt> fdffc000-fdffffff </tt> : RealTek RTL-8169 Gigabit Ethernet driver <tt> fe7f0000-fe7f3fff </tt> : ATI Technologies Inc SBx00 Azalia <tt> fe7f0000-fe7f3fff </tt> : ICH HD audio <tt> fe7f7000-fe7f7fff </tt> : ATI Technologies Inc SB700 USB OHCI1 Controller <tt> fe7f7000-fe7f7fff </tt> : ohci_hcd <tt> fe7fc000-fe7fcfff </tt> : ATI Technologies Inc SB700/SB800 USB OHCI0 Controller <tt> fe7fc000-fe7fcfff </tt> : ohci_hcd <tt> fe7fd000-fe7fdfff </tt> : ATI Technologies Inc SB700 USB OHCI1 Controller <tt> fe7fd000-fe7fdfff </tt> : ohci_hcd <tt> fe7fe000-fe7fefff </tt> : ATI Technologies Inc SB700/SB800 USB OHCI0 Controller <tt> fe7fe000-fe7fefff </tt> : ohci_hcd <tt> fe7ff400-fe7ff4ff </tt> : ATI Technologies Inc SB700/SB800 USB EHCI Controller <tt> fe7ff400-fe7ff4ff </tt> : ehci_hcd <tt> fe7ff800-fe7ff8ff </tt> : ATI Technologies Inc SB700/SB800 USB EHCI Controller <tt> fe7ff800-fe7ff8ff </tt> : ehci_hcd <tt> fe7ffc00-fe7fffff </tt> : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] <tt> fe7ffc00-fe7fffff </tt> : ahci <tt> fe800000-fe9fffff </tt> : PCI Bus 0000:01 <tt> fe8e8000-fe8ebfff </tt> : ATI Technologies Inc RS880 Audio Device [Radeon HD 4200] <tt> fe8e8000-fe8ebfff </tt> : ICH HD audio <tt> fe8f0000-fe8fffff </tt> : ATI Technologies Inc RS880 [Radeon HD 4200] <tt> fe900000-fe9fffff </tt> : ATI Technologies Inc RS880 [Radeon HD 4200] <tt> fea00000-feafffff </tt> : PCI Bus 0000:02 <tt> feaf0000-feafffff </tt> : RaLink Device 5390 <tt> feb00000-febfffff </tt> : PCI Bus 0000:03 <tt> febff000-febfffff </tt> : Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller <tt> febff000-febfffff </tt> : RealTek RTL-8169 Gigabit Ethernet driver <tt>fec00000-fec003ff </tt> : IOAPIC 0 <tt>fec10000-fec1001f </tt> : pnp 00:08 <tt>fed00000-fed003ff </tt> : HPET 2 <tt>fee00000-fee00fff </tt> : Local APIC <tt> fee00000-fee00fff </tt> : pnp 00:07 <tt>ffb80000-ffbfffff </tt> : pnp 00:08 <tt>fff00000-ffffffff </tt> : reserved <tt>100000000-29fffffff </tt> : System RAM -DMA- <tt> 4</tt> : cascade FreeBSD Guest FreeBSD 9.0-STABLE #0 r230138: Sun Jan 15 12:46:09 EST 2012 root@BSD9:/usr/obj/usr/src/sys/GENERIC amd64 Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff813d6000. Calibrating TSC clock ... TSC clock: 3069727269 Hz CPU: AMD Athlon(tm) II X4 645 Processor (3069.73-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100f53 Family = 10 Model = 5 Stepping = 3 Features=0x1783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT> Features2=0x1<SSE3> AMD Features=0xea100800<SYSCALL,NX,FFXSR,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x13<LAHF,CMP,CR8> ACPI APIC Table: <VBOX VBOXAPIC> INTR: Adding local APIC 1 as a target INTR: Adding local APIC 2 as a target INTR: Adding local APIC 3 as a target FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 pcm0: <Intel ICH (82801AA)> port 0xd100-0xd1ff,0xd200-0xd23f irq 21 at device 5.0 on pci0 ioapic0: routing intpin 21 (PCI IRQ 21) to lapic 0 vector 50 pcm0: <SigmaTel STAC9700/83/84 AC97 Codec (id = 0x83847600)> pcm0: Codec features 6 bit master volume, no 3D Stereo Enhancement pcm0: Primary codec extended features variable rate PCM, variable rate mic, reserved 5 pcm0: ac97 codec dac ready count: 0 pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: Mixer "line": pcm0: Mixer "mic": pcm0: Mixer "cd": pcm0: Mixer "rec": pcm0: Mixer "igain": pcm0: Mixer "line1": pcm0: Mixer "phin": pcm0: Mixer "phout": pcm0: Mixer "video": pcm0: clone manager: deadline=750ms flags=0x8000001e pcm0: sndbuf_setmap 261c000, 4000; 0xffffff80002b0000 -> 261c000 pcm0: sndbuf_setmap 2624000, 4000; 0xffffff80002b4000 -> 2624000 pcm0: measured ac97 link rate at 23997 Hz # dmesg|grep pcm pcm0: <Intel ICH (82801AA)> port 0xd100-0xd1ff,0xd200-0xd23f irq 21 at device 5.0 on pci0 pcm0: <SigmaTel STAC9700/83/84 AC97 Codec (id = 0x83847600)> pcm0: Codec features 6 bit master volume, no 3D Stereo Enhancement pcm0: Primary codec extended features variable rate PCM, variable rate mic, reserved 5 pcm0: ac97 codec dac ready count: 0 pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: Mixer "line": pcm0: Mixer "mic": pcm0: Mixer "cd": pcm0: Mixer "rec": pcm0: Mixer "igain": pcm0: Mixer "line1": pcm0: Mixer "phin": pcm0: Mixer "phout": pcm0: Mixer "video": pcm0: clone manager: deadline=750ms flags=0x8000001e pcm0: sndbuf_setmap 261c000, 4000; 0xffffff80002b0000 -> 261c000 pcm0: sndbuf_setmap 2624000, 4000; 0xffffff80002b4000 -> 2624000 pcm0: measured ac97 link rate at 23997 Hz # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: <Intel ICH (82801AA)> (play/rec) default # ps -aux |grep pulse 1263 ?? I<s 0:00.88 /usr/local/bin/pulseaudio --start I have tried all combinations of settings for audio on the host in VirtualBox, but still after some time the audio stops. Any help is appreciated. Thanks to all developers and all those involved with the latest release. The system seems very stable, make -j4 buildworld finishes on a quadcore in about 70mins.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1201152119280.51650>