snd_hda + ath = hard hang

Kostik Belousov kostikbel at gmail.com
Mon Dec 3 01:29:48 PST 2007


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071203/c19e26ef/attachment.pgp


More information about the freebsd-current mailing list