From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 4 12:40:13 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CE4C16A412 for ; Thu, 4 Jan 2007 12:40:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 010D013C458 for ; Thu, 4 Jan 2007 12:40:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l04CeCI8017500 for ; Thu, 4 Jan 2007 12:40:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l04CeCOb017499; Thu, 4 Jan 2007 12:40:12 GMT (envelope-from gnats) Resent-Date: Thu, 4 Jan 2007 12:40:12 GMT Resent-Message-Id: <200701041240.l04CeCOb017499@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jonathan Liu Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D49016A417 for ; Thu, 4 Jan 2007 12:35:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 0F83813C448 for ; Thu, 4 Jan 2007 12:35:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l04CZ7JH030961 for ; Thu, 4 Jan 2007 12:35:07 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l04CZ7vC030959; Thu, 4 Jan 2007 12:35:07 GMT (envelope-from nobody) Message-Id: <200701041235.l04CZ7vC030959@www.freebsd.org> Date: Thu, 4 Jan 2007 12:35:07 GMT From: Jonathan Liu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/107516: emu10k1 - skips, clicks and lag after a day of heavy usage X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2007 12:40:13 -0000 >Number: 107516 >Category: kern >Synopsis: emu10k1 - skips, clicks and lag after a day of heavy usage >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 04 12:40:12 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Jonathan Liu >Release: 6.2-RC1 >Organization: >Environment: FreeBSD freebsd 6.2-RC1 FreeBSD 6.2-RC1 #0: Thu Nov 16 05:12:08 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: After a day or so of heavy usage (KDE with full effects, portupgrade in background, playing music using XMMS with artsd in background using virtual channels), audible skips, clicks and lag tend to occur with the output audio. I have also had this problem with FreeBSD 6.1. Some information that might be useful: hw.snd.maxautovchans: 255 hw.snd.pcm0.vchans: 1 pcm0@pci3:11:0: class=0x040100 card=0x10021102 chip=0x00041102 rev=0x04 hdr=0x00 vendor = 'Creative Labs' device = 'SoundBlaster Audigy Audigy Audio Processor' class = multimedia subclass = audio emujoy0@pci3:11:1: class=0x098000 card=0x00601102 chip=0x70031102 rev=0x04 hdr=0x00 vendor = 'Creative Labs' device = 'EMU10K2 Audigy Gameport' class = input device fwohci1@pci3:11:2: class=0x0c0010 card=0x00101102 chip=0x40011102 rev=0x04 hdr=0x00 vendor = 'Creative Labs' device = 'EMU10K2 Audigy IEEE1394 Firewire Controller' class = serial bus subclass = FireWire >How-To-Repeat: This problem is repeatable but I can't give any better instructions on how to reproduce the problem at the moment except what was provided in the description. >Fix: A workaround is to restart the computer. Reloading the sound card module as follows does not fix the problem: kldunload snd_emu10k1 kldunload sound kldload snd_emu10k1 I'm thinking it might be kernel related. Perhaps something to do with scheduling and preemption. This problem does not ever occur in Windows XP Professional. >Release-Note: >Audit-Trail: >Unformatted: