From owner-freebsd-current@FreeBSD.ORG Sun Dec 2 17:20:58 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from misaki (localhost [IPv6:::1]) by hub.freebsd.org (Postfix) with SMTP id 9E0EF16A419; Sun, 2 Dec 2007 17:20:57 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Mon, 3 Dec 2007 01:20:53 +0800 From: Ariff Abdullah To: Kostik Belousov Message-Id: <20071203012053.037a73f6.ariff@FreeBSD.org> In-Reply-To: <20071125201915.GC78396@deviant.kiev.zoral.com.ua> References: <20071125201915.GC78396@deviant.kiev.zoral.com.ua> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__3_Dec_2007_01_20_53_+0800_TeBDjzLrhH+XDzh3" Cc: freebsd-current@freebsd.org Subject: Re: snd_hda + ath = hard hang X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 17:20:58 -0000 --Signature=_Mon__3_Dec_2007_01_20_53_+0800_TeBDjzLrhH+XDzh3 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 25 Nov 2007 22:19:15 +0200 Kostik Belousov 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. >=20 > 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. >=20 > 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. >=20 > Any advice ? >=20 Try enabling msi via hint.pcm.%d.msi=3D"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=3D1, 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. > pciconf: >=20 > hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x00901025 chip=3D0x27a08086 r= ev=3D0x03 > hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D '955XM/945GM/PM/GMS/940GML Express Processor to > DRAM Controller' class =3D bridge > subclass =3D HOST-PCI > none0@pci0:0:27:0: class=3D0x040300 card=3D0x00901025 chip=3D0x27d88086 r= ev=3D0x02 > hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D '82801G (ICH7 Family) High Definition Audio' > class =3D multimedia > ath0@pci0:6:2:0: class=3D0x020000 card=3D0x04181468 chip=3D0x001a168c rev= =3D0x01 > hdr=3D0x00 > vendor =3D 'Atheros Communications Inc.' > device =3D 'Atheros AR5005G Atheros AR5005G 802.11abg NIC > Chipset / TP-Link (TL-WN551G)' class =3D network > subclass =3D ethernet >=20 -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Mon__3_Dec_2007_01_20_53_+0800_TeBDjzLrhH+XDzh3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHUul1lr+deMUwTNoRArvBAKC9N37A0WJsj1U7Gs3ple14Yc8tsQCeNCXz +O1D1TOsW/mf0naoJIO6uFg= =V8m1 -----END PGP SIGNATURE----- --Signature=_Mon__3_Dec_2007_01_20_53_+0800_TeBDjzLrhH+XDzh3--