Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2009 21:57:27 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Yoshihiro Ota <ota@j.email.ne.jp>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Annoying whitenoise sound coming from snd_hda enabled chipset
Message-ID:  <49A45127.3000108@FreeBSD.org>
In-Reply-To: <20090224004110.e4ad76f4.ota@j.email.ne.jp>
References:  <1235218982.00077642.1235207402@10.7.7.3>	<499FFC5F.3020903@FreeBSD.org>	<47d0403c0902210949i74473bc5j57c923e13c85e89@mail.gmail.com>	<49A04510.5030405@FreeBSD.org>	<alpine.GSO.1.10.0902211333260.28932@multics.mit.edu>	<7d6fde3d0902211356h66b05cfcxf2ebbe9b2a6fd0f0@mail.gmail.com> <20090224004110.e4ad76f4.ota@j.email.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Yoshihiro Ota wrote:
> On Sat, 21 Feb 2009 13:56:35 -0800
> Garrett Cooper <yanefbsd@gmail.com> wrote:
> 
>> On Sat, Feb 21, 2009 at 10:35 AM, Benjamin Kaduk <kaduk@mit.edu> wrote:
>>> On Sat, 21 Feb 2009, Alexander Motin wrote:
>>>
>>>> Ben Kaduk wrote:
>>>>> On Sat, Feb 21, 2009 at 8:06 AM, Alexander Motin <mav@freebsd.org> wrote:
>>>>>> Garrett Cooper wrote:
>>>>>>>   I don't know how else to describe it, but when I turn up my
>>>>>>> speakers enough (50%+) and don't have any sound playing, I hear a
>>>>>>> whitenoise hiss coming out of them. When I change webpages (nvidia
>>>>>>> driver is GIANT locked) or do something else kernel intensive it stops
>>>>>>> for a brief second, but apart from that it's an annoying trill sound
>>>>>>> almost like a mosquito humming around me waiting to be swatted.
>>>>>> I think it may be radio interference with disconnected microphone
>>>>>> inputs.
>>>>>> Try to set all unneeded mixer volumes to 0, especially mic, monitor,
>>>>>> speaker
>>>>>> and mix. Inputs often have too sensitive 20-30dB pre-amplifiers. Some
>>>>>> codecs
>>>>>> have them on all inputs.
>>>>> It's hard to be sure, since I'm not sure that I could describe what I
>>>>> hear any better than Garret did, but I think I'm seeing the same sort
>>>>> of thing on my work desktop.  I'll try setting unneeded volumes to
>>>>> zero the next time I'm in, and see if that helps.
>>>>>
>>>>> dmesg and pciconf are available here:
>>>>> http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/periphrasis/
>>>> I see there some old 7.0-STABLE dmesg without any pcm. There is nothing to
>>>> talk about. If you wish to have good working HDA, update to recent STABLE or
>>>> at least take driver from there.
>>> Oops, I had been blocking on updating from 7 to current because of
>>> a bounce zone bug that was causing the box to panic, and I didn't
>>> update the dmesg after I did finally upgrade.
>>>
>>> Should be updated, now.
>>>
>>> Sorry about that,
>>>
>>> Ben Kaduk
>>     Unfortunately I must use mix though or line-in doesn't function
>> from my console peripherals. It does appear to be the culprit
>> unfortunately.
>>     So I suppose I have to live with this issue until my SB Audigy
>> card comes :(? This is something that should be noted in the driver
>> manpage or you'll get more annoyed folks with support emails like this
>> one ><...
>> Thanks,
>> -Garrett
> 
> I think I started seeing similar issues.
> When I boot 8-CURRENT, it makes some low yet very silent noise, too.
> 
> In my case, with hdac or pcm device, 8-CURRENT fails to boot very requentry.
> It fails to prove a device and doesn't proceed farthar than that point.
> Now it only boots once in 5 or 10 reboots.
> 
> When it boots, it prints lots of following messages.
> 
> hdac0: HDA Codec #0: Conexant CX20549 (Venice)
> hdac0: unable to allocate widgets!
> hdac0: unable to allocate widgets!
> hdac0: unable to allocate widgets!
> hdac0: unable to allocate widgets!
> hdac0: unable to allocate widgets!
> hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
> hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
> hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
> hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
> hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
> 
> I think this started happening about a week ago or so, sometime between
> 13 and 16th.

The only significant change last time was enabling MSI by default. But I 
don't think it should lead to such errors. I have tried even operation 
completely without interrupts working and there is not such errors. Can 
you send me complete verbose dmesg with the problem and `pciconf -lvc` 
output?

Also you may try to disable MSI by setting 'hint.hdac.0.msi=0' hint.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49A45127.3000108>