public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	Pavel Machek <pavel@suse.cz>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	alsa-devel@alsa-project.org, Andrew Morton <akpm@osdl.org>
Subject: Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode...
Date: Tue, 26 Sep 2006 18:09:28 +0200	[thread overview]
Message-ID: <s5hvenar4nb.wl%tiwai@suse.de> (raw)
In-Reply-To: <20060926085611.c32e7cb2.rdunlap@xenotime.net>

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

  reply	other threads:[~2006-09-26 16:09 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-25 19:58 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode Jeremy Fitzhardinge
2006-09-25 20:26 ` Pavel Machek
2006-09-26  1:12   ` Michael Clark
2006-09-26  1:15   ` Jeremy Fitzhardinge
2006-09-26 10:16 ` Takashi Iwai
2006-09-26 15:37   ` Randy Dunlap
2006-09-26 15:48     ` Takashi Iwai
2006-09-26 15:56       ` Randy Dunlap
2006-09-26 16:09         ` Takashi Iwai [this message]
2006-09-26 16:31   ` Andrew Morton
2006-09-26 16:42     ` Takashi Iwai
2006-10-01  6:03   ` Jeremy Fitzhardinge
2006-10-04  9:21     ` Takashi Iwai
2006-10-04 15:16       ` Jeremy Fitzhardinge
2006-10-04 15:38         ` Takashi Iwai
2006-10-04 19:04         ` Takashi Iwai
2006-10-04 20:07           ` Jeremy Fitzhardinge
2006-10-05  9:58             ` Takashi Iwai
2006-10-28  5:07     ` 2.6.18: hda_intel:azx_get_response " Shai Peretz
2006-10-04 13:57 ` 2.6.18: hda_intel: azx_get_response " Tomasz Torcz
2006-10-04 15:16   ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hvenar4nb.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=akpm@osdl.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=rdunlap@xenotime.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox