From owner-freebsd-stable@FreeBSD.ORG Sun Jan 15 22:30:52 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28FD7106564A for ; Sun, 15 Jan 2012 22:30:52 +0000 (UTC) (envelope-from andy@neu.net) Received: from mail.neu.net (neu.net [204.109.60.194]) by mx1.freebsd.org (Postfix) with ESMTP id C1C368FC13 for ; Sun, 15 Jan 2012 22:30:51 +0000 (UTC) Received: from neu.net (neu.net [204.109.60.194]) by mail.neu.net (8.14.4/8.14.4) with ESMTP id q0FLsI8r051727 for ; Sun, 15 Jan 2012 21:54:18 GMT (envelope-from andy@neu.net) Date: Sun, 15 Jan 2012 21:54:18 +0000 (UTC) From: AN To: freebsd-stable@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: clamav-milter 0.97 at neu.net X-Virus-Status: Clean X-Spam-Status: No, score=2.1 required=3.8 tests=TO_NO_BRKTS_DIRECT, T_RP_MATCHES_RCVD autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.neu.net Subject: problem with sound in FreeBSD VBOX guest X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 22:30:52 -0000 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- 0000-0cf7 : PCI Bus 0000:00 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-0060 : keyboard 0064-0064 : keyboard 0070-0071 : rtc0 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 03c0-03df : vesafb 040b-040b : pnp 00:08 04d0-04d1 : pnp 00:08 04d6-04d6 : pnp 00:08 0800-089f : pnp 00:08 0800-0803 : ACPI PM1a_EVT_BLK 0804-0805 : ACPI PM1a_CNT_BLK 0808-080b : ACPI PM_TMR 0810-0815 : ACPI CPU throttle 0820-0827 : ACPI GPE0_BLK 0900-090f : pnp 00:08 0910-091f : pnp 00:08 0b00-0b0f : pnp 00:08 0b00-0b07 : piix4_smbus 0b20-0b3f : pnp 00:08 0c00-0c01 : pnp 00:08 0c14-0c14 : pnp 00:08 0c50-0c51 : pnp 00:08 0c52-0c52 : pnp 00:08 0c6c-0c6c : pnp 00:08 0c6f-0c6f : pnp 00:08 0cd0-0cd1 : pnp 00:08 0cd2-0cd3 : pnp 00:08 0cd4-0cd5 : pnp 00:08 0cd6-0cd7 : pnp 00:08 0cd8-0cdf : pnp 00:08 0cf8-0cff : PCI conf1 0d00-ffff : PCI Bus 0000:00 0e00-0e0f : pnp 00:09 0e80-0e8f : pnp 00:09 0f40-0f4f : pnp 00:09 8000-800f : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] 8000-800f : ahci 9000-9003 : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] 9000-9003 : ahci a000-a007 : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] a000-a007 : ahci b000-b003 : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] b000-b003 : ahci c000-c007 : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] c000-c007 : ahci d000-dfff : PCI Bus 0000:01 d000-d0ff : ATI Technologies Inc RS880 [Radeon HD 4200] e000-efff : PCI Bus 0000:03 e800-e8ff : Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller e800-e8ff : RealTek RTL-8169 Gigabit Ethernet driver fe00-fefe : pnp 00:08 -Memory- 00000000-0000ffff : reserved 00010000-0009a3ff : System RAM 0009a400-0009ffff : reserved 000a0000-000bffff : PCI Bus 0000:00 000c0000-000cffff : pnp 00:0b 000d0000-000dffff : PCI Bus 0000:00 000e4000-000fffff : reserved 00100000-cffaffff : System RAM 01000000-0152f744 : Kernel code 0152f745-01b28e0f : Kernel data 01c1a000-01d97fbb : Kernel bss c4000000-c7ffffff : GART cffb0000-cffbdfff : ACPI Tables cffbe000-cffdffff : ACPI Non-volatile Storage cffe0000-cfffffff : reserved d0000000-dfffffff : PCI Bus 0000:00 d0000000-dfffffff : PCI Bus 0000:01 d0000000-dfffffff : ATI Technologies Inc RS880 [Radeon HD 4200] e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff] e0000000-efffffff : pnp 00:0a f0000000-febfffff : PCI Bus 0000:00 fdf00000-fdffffff : PCI Bus 0000:03 fdffc000-fdffffff : Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller fdffc000-fdffffff : RealTek RTL-8169 Gigabit Ethernet driver fe7f0000-fe7f3fff : ATI Technologies Inc SBx00 Azalia fe7f0000-fe7f3fff : ICH HD audio fe7f7000-fe7f7fff : ATI Technologies Inc SB700 USB OHCI1 Controller fe7f7000-fe7f7fff : ohci_hcd fe7fc000-fe7fcfff : ATI Technologies Inc SB700/SB800 USB OHCI0 Controller fe7fc000-fe7fcfff : ohci_hcd fe7fd000-fe7fdfff : ATI Technologies Inc SB700 USB OHCI1 Controller fe7fd000-fe7fdfff : ohci_hcd fe7fe000-fe7fefff : ATI Technologies Inc SB700/SB800 USB OHCI0 Controller fe7fe000-fe7fefff : ohci_hcd fe7ff400-fe7ff4ff : ATI Technologies Inc SB700/SB800 USB EHCI Controller fe7ff400-fe7ff4ff : ehci_hcd fe7ff800-fe7ff8ff : ATI Technologies Inc SB700/SB800 USB EHCI Controller fe7ff800-fe7ff8ff : ehci_hcd fe7ffc00-fe7fffff : ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] fe7ffc00-fe7fffff : ahci fe800000-fe9fffff : PCI Bus 0000:01 fe8e8000-fe8ebfff : ATI Technologies Inc RS880 Audio Device [Radeon HD 4200] fe8e8000-fe8ebfff : ICH HD audio fe8f0000-fe8fffff : ATI Technologies Inc RS880 [Radeon HD 4200] fe900000-fe9fffff : ATI Technologies Inc RS880 [Radeon HD 4200] fea00000-feafffff : PCI Bus 0000:02 feaf0000-feafffff : RaLink Device 5390 feb00000-febfffff : PCI Bus 0000:03 febff000-febfffff : Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller febff000-febfffff : RealTek RTL-8169 Gigabit Ethernet driver fec00000-fec003ff : IOAPIC 0 fec10000-fec1001f : pnp 00:08 fed00000-fed003ff : HPET 2 fee00000-fee00fff : Local APIC fee00000-fee00fff : pnp 00:07 ffb80000-ffbfffff : pnp 00:08 fff00000-ffffffff : reserved 100000000-29fffffff : System RAM -DMA- 4 : 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 Features2=0x1 AMD Features=0xea100800 AMD Features2=0x13 ACPI APIC Table: 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: 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: 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: port 0xd100-0xd1ff,0xd200-0xd23f irq 21 at device 5.0 on pci0 pcm0: 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: (play/rec) default # ps -aux |grep pulse 1263 ?? I