From owner-freebsd-current@FreeBSD.ORG Mon Dec 3 09:29:48 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65D4516A421 for ; Mon, 3 Dec 2007 09:29:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id 2B64313C442 for ; Mon, 3 Dec 2007 09:29:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=deviant.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Iz7cW-000Nvy-JL; Mon, 03 Dec 2007 11:29:47 +0200 Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id lB39TiF9026821; Mon, 3 Dec 2007 11:29:44 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id lB39Tis5026820; Mon, 3 Dec 2007 11:29:44 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 3 Dec 2007 11:29:43 +0200 From: Kostik Belousov To: Ariff Abdullah Message-ID: <20071203092943.GU83121@deviant.kiev.zoral.com.ua> References: <20071125201915.GC78396@deviant.kiev.zoral.com.ua> <20071203012053.037a73f6.ariff@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KH9S6eoVXLBawpUJ" Content-Disposition: inline In-Reply-To: <20071203012053.037a73f6.ariff@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Scanner-Signature: f2683d8df775da069012ccac6e6e6321 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 1838 [Dec 01 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release 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: Mon, 03 Dec 2007 09:29:48 -0000 --KH9S6eoVXLBawpUJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 03, 2007 at 01:20:53AM +0800, Ariff Abdullah wrote: > 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 >=20 > Try enabling msi via hint.pcm.%d.msi=3D"1" . It is disabled by default > due to too many broken msi. >=20 > 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). >=20 > 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. --KH9S6eoVXLBawpUJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHU8yHC3+MBN1Mb4gRAmOTAKDobJZWdtPiARpAfcBxNAnepJBnuACgmKXL Sl8C9pAPInMEnKmkZUE1pcI= =ePO1 -----END PGP SIGNATURE----- --KH9S6eoVXLBawpUJ--