From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 3 18:57:10 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 459C0106566C; Thu, 3 Jun 2010 18:57:10 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out2.tiscali.nl (smtp-out2.tiscali.nl [195.241.79.177]) by mx1.freebsd.org (Postfix) with ESMTP id C6FCE8FC25; Thu, 3 Jun 2010 18:57:09 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out2.tiscali.nl with esmtp (Exim) (envelope-from ) id 1OKFbI-0002X3-KA; Thu, 03 Jun 2010 20:57:08 +0200 Received: from bowser ([10.58.235.1] helo=[10.58.235.6]) by mapper.nl with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OKFb9-000ALM-Eb; Thu, 03 Jun 2010 20:56:59 +0200 Message-ID: <4C07FB08.9010603@mapper.nl> Date: Thu, 03 Jun 2010 20:57:12 +0200 From: Mark Stapper User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100514 Thunderbird/3.0.4 MIME-Version: 1.0 To: Garrett Cooper References: <4BF1891F.3040704@mapper.nl> <4BF23029.80104@mapper.nl> <4BFBA130.6060506@mapper.nl> <4BFD70F5.6070005@mapper.nl> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Thu, 03 Jun 2010 18:57:10 -0000 On 05/30/10 08:31, Garrett Cooper wrote: > > 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=1 . > > 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 > I've update my kernel, put in the SND_DEBUG flag and set "dev.emu10kx.0.debug=1" Everything worked. Then I unset the flag. Everything still worked. Then I did a reboot without the flag in loader.conf Everything still worked! Weird... If it fails again i'll try to find something usefull in my loggings for you. Thanks for the help. Regards, Mark