Re: snd_hda + ath = hard hang

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Mon, 3 Dec 2007 11:29:43 +0200
On Mon, Dec 03, 2007 at 01:20:53AM +0800, Ariff Abdullah wrote:
> On Sun, 25 Nov 2007 22:19:15 +0200
> Kostik Belousov <kostikbel_at_gmail.com> wrote:
> > I have a laptop that shares interrupt between ath0 and snd_hda0
> > devices. Machine works under the RELENG_6 normally. Now, on the
> > RELENG_7 (and CURRENT), attempt to ifconfig ath0 up usualy hangs the
> > machine in the next 2-5 minutes.
> > 
> > Hang is hard, I even cannot switch the console to look at the kernel
> > messages or enter the ddb. Also, laptop does not have a serial port.
> > 
> > Not setting the ath0 up, or, unloading snd_hda.ko before activating
> > the interface, allows machine to work. Wireless works without
> > problem, interrupt rate is as expected.
> > 
> > Any advice ?
> > 
> 
> Try enabling msi via hint.pcm.%d.msi="1" . It is disabled by default
> due to too many broken msi.
> 
> There is a poor man polling mode which can be enabled through sysctl
> dev.pcm.%d.polling=1, but I won't recommend this for typical usage
> (unless to debug this kind of weird issues).
> 
> This regression probably originated from somewhere else since you said
> it was working fine under RELENG_6.

I filled the PR 118316, see there for some kind of workaround/solution.
It seems that removing INTR_FILTER from kernel config solves it.

Received on Mon Dec 03 2007 - 08:29:48 UTC

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