Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 2010 23:31:27 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Mark Stapper <stark@mapper.nl>
Cc:        stable@freebsd.org, multimedia@freebsd.org
Subject:   Re: Buzzing snd_emu10kx enabled card with r206173
Message-ID:  <AANLkTimzsvsqoZrfx27SRQHNL0-5nWBeFo0CiMzLNldl@mail.gmail.com>
In-Reply-To: <4BFD70F5.6070005@mapper.nl>
References:  <u2q7d6fde3d1004051122madc6ebb4jc3248d8c68a81333@mail.gmail.com> <x2m7d6fde3d1004051226k7a0e350bz579b899e4fedd977@mail.gmail.com> <p2v7d6fde3d1004060339nfdbc4cb9p9ac6e232e38b4d6@mail.gmail.com> <q2l7d6fde3d1004120729h2d32e696g4182af399580ca01@mail.gmail.com> <4BF1891F.3040704@mapper.nl> <AANLkTinMAEAplBOh-gK-2LS1i_XJijafF_Nbg0lwn8YG@mail.gmail.com> <4BF23029.80104@mapper.nl> <4BFBA130.6060506@mapper.nl> <AANLkTimS8xZ1Lf-49XPb3ZD5fFFIR8SS5Ala_VTKo2oM@mail.gmail.com> <4BFD70F5.6070005@mapper.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 26, 2010 at 12:05 PM, Mark Stapper <stark@mapper.nl> wrote:
> On 25/05/2010 20:05, Garrett Cooper wrote:
>> On Tue, May 25, 2010 at 3:06 AM, Mark Stapper <stark@mapper.nl> 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 <stark@mapper.nl> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimzsvsqoZrfx27SRQHNL0-5nWBeFo0CiMzLNldl>