Re: Annoying whitenoise sound coming from snd_hda enabled chipset

From: Yoshihiro Ota <ota_at_j.email.ne.jp>
Date: Wed, 25 Feb 2009 21:16:56 -0500
On Tue, 24 Feb 2009 21:57:27 +0200
Alexander Motin <mav_at_FreeBSD.org> wrote:

> Yoshihiro Ota wrote:
> > 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.

Once I disabled snd_hda_load="YES" in /boot/loader.conf, it comes up
all times.  However, when I run "kldload snd_hda", the system stops responding,
i.e. crashes.

So, now I added 'hint.hdac.0.msi="0"' in the hint; then, system comes up fine.
I tried "kldload snd_hda" and got the following output.
System didn't crash after adding the hint so that I added snd_hda_load="YES"
back to /boot/loader.conf.

I also attached piconf and dmesg.

Regards,
Hiro

hdac0: <NVidia MCP51 High Definition Audio Controller> mem 0xb0000000-0xb0003fff
 irq 21 at device 16.1 on pci0
hdac0: HDA Driver Revision: 20090215_0128
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Conexant CX20549 (Venice)
pcm0: <HDA Conexant CX20549 (Venice) PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Conexant CX20549 (Venice) PCM #1 Digital> at cad 0 nid 1 on hdac0


Received on Thu Feb 26 2009 - 01:17:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC