Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932330AbWIZQJb (ORCPT ); Tue, 26 Sep 2006 12:09:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932331AbWIZQJb (ORCPT ); Tue, 26 Sep 2006 12:09:31 -0400 Received: from ns.suse.de ([195.135.220.2]:37587 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S932330AbWIZQJa (ORCPT ); Tue, 26 Sep 2006 12:09:30 -0400 Date: Tue, 26 Sep 2006 18:09:28 +0200 Message-ID: From: Takashi Iwai To: Randy Dunlap Cc: Jeremy Fitzhardinge , Pavel Machek , Linux Kernel Mailing List , alsa-devel@alsa-project.org, Andrew Morton Subject: Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... In-Reply-To: <20060926085611.c32e7cb2.rdunlap@xenotime.net> References: <451834D0.40304@goop.org> <20060926083720.da9dca8e.rdunlap@xenotime.net> <20060926085611.c32e7cb2.rdunlap@xenotime.net> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta25) (eggplant) (+CVS-20060326) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2658 Lines: 70 At Tue, 26 Sep 2006 08:56:11 -0700, Randy Dunlap wrote: > > On Tue, 26 Sep 2006 17:48:33 +0200 Takashi Iwai wrote: > > > At Tue, 26 Sep 2006 08:37:20 -0700, > > Randy Dunlap wrote: > > > > > > On Tue, 26 Sep 2006 12:16:33 +0200 Takashi Iwai wrote: > > > > > > > At Mon, 25 Sep 2006 12:58:08 -0700, > > > > Jeremy Fitzhardinge wrote: > > > > > > > > > > I have a ThinkPad X60 which uses the Intel 82801G HDA audio chip. This > > > > > used to work for me, but lately (sometime during 2.6.18-rcX series) it > > > > > stopped working - programs trying to use it tend to just block forever > > > > > waiting for /dev/dsp. > > > > > > > > > > The only obvious symptom is: > > > > > > > > > > hda_intel: azx_get_response timeout, switching to single_cmd mode... > > > > > > > > > > appearing in the kernel log when booting. > > > > > > > > > > > > > There is no big change relevant to TP X60 during 2.6.18rc, so I don't > > > > think it's a regression in the hd-audio driver code. > > > > > > > > > Details attached. The dmesg output is for the FC6 distro kernel > > > > > 2.6.18-1.2689.fc6PAE, but I see the same symptoms with 2.6.18-mm1. > > > > > > > > You must see difference with mm1 (suppose that mm1 already includes > > > > the latest ALSA patches). When the CORB/RIRB interrupt gets broken, > > > > the driver first switches to poling mode, then single_cmd mode as > > > > fallback. > > > > > > > > Also, try disable_msi=1 option for mm1. MSI seems broken on some > > > > systems. > > > > > > is that "pci=nomsi" ? > > > > No, snd-hda-intel driver has a new module option "disable_msi" to > > disable MSI support on that driver. As default, it's off, i.e. MSI is > > enabled if available. (Well, I feel it's better to rename it > > enable_msi and set on as default...) > > > > Sorry for unclear text. > > ugh. We shouldn't have drivers with such options IMO. > I have seen/used MSI for ethernet, SATA, and audio. Heh, you're a lucky guy :) > It either works for all of them or none of them AFAIK. > > Why do you think that it should not just be a global system option/flag? In the ealier version, we didn't call pci_enable_msi() in the driver while the newer version does unless you pass disable_msi=1 option. Thus, this option means to behave like the old driver. This makes much easier to find out a regression than a global boot option affecting all subsytems. Takashi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/