From owner-freebsd-multimedia@FreeBSD.ORG Sun May 30 06:31:28 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87DBD1065678; Sun, 30 May 2010 06:31:28 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 194FA8FC08; Sun, 30 May 2010 06:31:27 +0000 (UTC) Received: by vws12 with SMTP id 12so3654209vws.13 for ; Sat, 29 May 2010 23:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ndyKhcJ2lul3Zfp5jky5/GoEgoBdaTwD6ZonrY7n0JE=; b=EXfcdnOSXMiYVze73ldUe8Ut8MfAPKQuosdECJD5t9BxLvH8rIIpjfUk23hz/SBf1r ONJdQHRtifR30XkgVUMNzllvGQGAwm+D3Ix71E9QjG0VQYYzNH+g08vZYPWhyRfVn2Tb RQ1yKaN0VCp2tiRKVSKdPYniaj7yO4MDs/U10= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rMRtHGi40UQKYS8mQCF5p+O4fOl4PHDGdEMy4MSvH/LjBnJAMclc0Mv4WkwmrcD6Bn geR4/xQanRgNNN2oYuEkMESRILXNAwq0p9qVcQegEZBmda0EqJhLPDxWTip/8vl8shju JXbnng3fIHFOQcODCR9SlRAAfgwWnAT8lj7BI= MIME-Version: 1.0 Received: by 10.224.61.69 with SMTP id s5mr1037778qah.189.1275201087082; Sat, 29 May 2010 23:31:27 -0700 (PDT) Received: by 10.229.190.83 with HTTP; Sat, 29 May 2010 23:31:27 -0700 (PDT) In-Reply-To: <4BFD70F5.6070005@mapper.nl> References: <4BF1891F.3040704@mapper.nl> <4BF23029.80104@mapper.nl> <4BFBA130.6060506@mapper.nl> <4BFD70F5.6070005@mapper.nl> Date: Sat, 29 May 2010 23:31:27 -0700 Message-ID: From: Garrett Cooper To: Mark Stapper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org, multimedia@freebsd.org Subject: Re: Buzzing snd_emu10kx enabled card with r206173 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 06:31:28 -0000 On Wed, May 26, 2010 at 12:05 PM, Mark Stapper wrote: > On 25/05/2010 20:05, Garrett Cooper wrote: >> On Tue, May 25, 2010 at 3:06 AM, Mark Stapper wrote: >> >>> On 18/05/2010 08:14, Mark Stapper wrote: >>> >>>> On 18/05/2010 00:22, Garrett Cooper wrote: >>>> >>>> >>>>> On Mon, May 17, 2010 at 11:21 AM, Mark Stapper wrot= e: >>>>> >>>>> >>>>> >>>>>> I have the same problem. >>>>>> I'll try compiling the driver in the kernel. >>>>>> >>>>> =A0 =A0 FWIW I've compiled the driver into the kernel for several >>>>> iterations now and it works like a champ, so there's something with >>>>> the sound subsystem that isn't jiving properly when loading from >>>>> modules... >>>>> HTH, >>>>> -Garrett >>>>> >>>>> >>>>> >>>> Thanks for the info. >>>> I've noticed that when I load the kernel module at startup (by adding = it >>>> to loader.conf) chances of it working improve. >>>> If I load it afterwards, the nice huff puff sounds come out of my >>>> speaker again. >>>> Compiling the new and improved kernel today. >>>> Thanks for your help. >>> >>> I compiled the emu10kx driver into the kernel. >>> That seemed to work, but now the hissing and buzzing is back. >>> I really don't know what is going on anymore.. >>> Any thoughts? >>> >> What modules have you compiled and loaded? > > Kernel config and kldstat output pasted below > [...] > Everything I saw there appeared sane (it would have been nice to grab the -v output from kldstat, but that's ok...). Let's try doing the following: 1. Add `options EMU_MTX_DEBUG' to your kernconf. 2. Add set the sysctl: dev.emu10kx.0.debug=3D1 . Let's see if anything changes... Also, if you could provide some more hardware stats (say dmesg.boot and/or devinfo -v) and version stats (I already know that you're running amd64 from your kernel config) for the OS that would be helpful as well. I'm going to try upgrading my kernel and I'll try these steps as well. The locking between this driver and some other sound drivers isn't exactly the same (interestingly enough this driver uses Giant locking for some bits, while the ich one doesn't), and there were some past bugs with other branches of *BSD's drivers related to pci bus commands, etc; the other BSDs have dramatically different soundsystems -- I assume the old school soundsystem, s.t. the issues are probably not the same. Thanks, -Garrett