* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... [not found] ` <20060925202644.GB6278@ucw.cz> @ 2006-09-26 1:12 ` Michael Clark 2006-09-26 1:15 ` Jeremy Fitzhardinge 1 sibling, 0 replies; 17+ messages in thread From: Michael Clark @ 2006-09-26 1:12 UTC (permalink / raw) To: Pavel Machek, Jeremy Fitzhardinge Cc: Takashi Iwai, Andrew Morton, alsa-devel, Linux Kernel Mailing List Pavel Machek wrote: > Hi! > > >> 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. >> > > I have x60 here, > > >> The only obvious symptom is: >> >> hda_intel: azx_get_response timeout, switching to >> single_cmd mode... >> >> I got similar kernel message relating to an azx_get_response timeout with an 82801G HDA audio running Debian kernel 2.6.16-2 (happened during suspend to ram IIRC) - after replacing kernel alsa with alsa-source 1.0.12 (24 Aug release) the problem went away (in addition to making sound come out when it didn't before). Not sure if this info helps but trying the alsa-project release and seeing if that works may help identify what needs fixing in mainline hda_intel. ~mc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... [not found] ` <20060925202644.GB6278@ucw.cz> 2006-09-26 1:12 ` 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode Michael Clark @ 2006-09-26 1:15 ` Jeremy Fitzhardinge 1 sibling, 0 replies; 17+ messages in thread From: Jeremy Fitzhardinge @ 2006-09-26 1:15 UTC (permalink / raw) To: Pavel Machek Cc: Takashi Iwai, Andrew Morton, alsa-devel, Linux Kernel Mailing List Pavel Machek wrote: > sometimes see this message, too, and sound more or less works for me. > (Using alsa interface, mplayer works ok. mpg123 does not work). > That's how it used to be for me, but not any more. J ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... [not found] <451834D0.40304@goop.org> [not found] ` <20060925202644.GB6278@ucw.cz> @ 2006-09-26 10:16 ` Takashi Iwai 2006-09-26 15:37 ` Randy Dunlap ` (3 more replies) [not found] ` <20061004135743.GA6150@irc.pl> 2 siblings, 4 replies; 17+ messages in thread From: Takashi Iwai @ 2006-09-26 10:16 UTC (permalink / raw) To: Jeremy Fitzhardinge Cc: Andrew Morton, Pavel Machek, Linux Kernel Mailing List, alsa-devel 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. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-09-26 10:16 ` Takashi Iwai @ 2006-09-26 15:37 ` Randy Dunlap 2006-09-26 15:48 ` Takashi Iwai 2006-09-26 16:31 ` Andrew Morton ` (2 subsequent siblings) 3 siblings, 1 reply; 17+ messages in thread From: Randy Dunlap @ 2006-09-26 15:37 UTC (permalink / raw) To: Takashi Iwai Cc: Andrew Morton, Jeremy Fitzhardinge, Pavel Machek, alsa-devel, Linux Kernel Mailing List 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" ? --- ~Randy ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-09-26 15:37 ` Randy Dunlap @ 2006-09-26 15:48 ` Takashi Iwai 2006-09-26 15:56 ` Randy Dunlap 0 siblings, 1 reply; 17+ messages in thread From: Takashi Iwai @ 2006-09-26 15:48 UTC (permalink / raw) To: Randy Dunlap Cc: Andrew Morton, Jeremy Fitzhardinge, Pavel Machek, alsa-devel, Linux Kernel Mailing List 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. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-09-26 15:48 ` Takashi Iwai @ 2006-09-26 15:56 ` Randy Dunlap 2006-09-26 16:09 ` Takashi Iwai 0 siblings, 1 reply; 17+ messages in thread From: Randy Dunlap @ 2006-09-26 15:56 UTC (permalink / raw) To: Takashi Iwai Cc: Andrew Morton, Jeremy Fitzhardinge, Pavel Machek, alsa-devel, Linux Kernel Mailing List 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. 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? --- ~Randy ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-09-26 15:56 ` Randy Dunlap @ 2006-09-26 16:09 ` Takashi Iwai 0 siblings, 0 replies; 17+ messages in thread From: Takashi Iwai @ 2006-09-26 16:09 UTC (permalink / raw) To: Randy Dunlap Cc: Andrew Morton, Jeremy Fitzhardinge, Pavel Machek, alsa-devel, Linux Kernel Mailing List 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-09-26 10:16 ` Takashi Iwai 2006-09-26 15:37 ` Randy Dunlap @ 2006-09-26 16:31 ` Andrew Morton [not found] ` <20060926093142.43369b93.akpm@osdl.org> 2006-10-01 6:03 ` Jeremy Fitzhardinge 3 siblings, 0 replies; 17+ messages in thread From: Andrew Morton @ 2006-09-26 16:31 UTC (permalink / raw) To: Takashi Iwai Cc: Jeremy Fitzhardinge, Pavel Machek, alsa-devel, Linux Kernel Mailing List On Tue, 26 Sep 2006 12:16:33 +0200 Takashi Iwai <tiwai@suse.de> wrote: > You must see difference with mm1 (suppose that mm1 already includes > the latest ALSA patches). No, the alsa tree was accidentally omitted from 2.6.18-mm1, sorry. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <20060926093142.43369b93.akpm@osdl.org>]
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... [not found] ` <20060926093142.43369b93.akpm@osdl.org> @ 2006-09-26 16:42 ` Takashi Iwai 0 siblings, 0 replies; 17+ messages in thread From: Takashi Iwai @ 2006-09-26 16:42 UTC (permalink / raw) To: Andrew Morton Cc: Jeremy Fitzhardinge, Pavel Machek, alsa-devel, Linux Kernel Mailing List At Tue, 26 Sep 2006 09:31:42 -0700, Andrew Morton wrote: > > On Tue, 26 Sep 2006 12:16:33 +0200 > Takashi Iwai <tiwai@suse.de> wrote: > > > You must see difference with mm1 (suppose that mm1 already includes > > the latest ALSA patches). > > No, the alsa tree was accidentally omitted from 2.6.18-mm1, sorry. Ah, that makes sense. Thanks for notice. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-09-26 10:16 ` Takashi Iwai ` (2 preceding siblings ...) [not found] ` <20060926093142.43369b93.akpm@osdl.org> @ 2006-10-01 6:03 ` Jeremy Fitzhardinge 2006-10-04 9:21 ` Takashi Iwai 3 siblings, 1 reply; 17+ messages in thread From: Jeremy Fitzhardinge @ 2006-10-01 6:03 UTC (permalink / raw) To: Takashi Iwai Cc: Andrew Morton, Pavel Machek, Linux Kernel Mailing List, alsa-devel Takashi Iwai wrote: > 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. > I tried -mm2, and I'm seeing the same problem. > Also, try disable_msi=1 option for mm1. MSI seems broken on some > systems. > This made no difference. J ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-10-01 6:03 ` Jeremy Fitzhardinge @ 2006-10-04 9:21 ` Takashi Iwai 2006-10-04 15:16 ` Jeremy Fitzhardinge 0 siblings, 1 reply; 17+ messages in thread From: Takashi Iwai @ 2006-10-04 9:21 UTC (permalink / raw) To: Jeremy Fitzhardinge Cc: Andrew Morton, Pavel Machek, Linux Kernel Mailing List, alsa-devel At Sat, 30 Sep 2006 23:03:08 -0700, Jeremy Fitzhardinge wrote: > > Takashi Iwai wrote: > > 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. > > > > I tried -mm2, and I'm seeing the same problem. At least, you have to see a different kernel message after the patch... Could you confirm it? Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 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 0 siblings, 2 replies; 17+ messages in thread From: Jeremy Fitzhardinge @ 2006-10-04 15:16 UTC (permalink / raw) To: Takashi Iwai Cc: Andrew Morton, Pavel Machek, Linux Kernel Mailing List, alsa-devel Takashi Iwai wrote: > At least, you have to see a different kernel message after the > patch... Could you confirm it? > No, it looks like the same message as ever: hda_intel: azx_get_response timeout, switching to polling mode... hda_intel: azx_get_response timeout, switching to single_cmd mode... This is with -mm3. J ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-10-04 15:16 ` Jeremy Fitzhardinge @ 2006-10-04 15:38 ` Takashi Iwai 2006-10-04 19:04 ` Takashi Iwai 1 sibling, 0 replies; 17+ messages in thread From: Takashi Iwai @ 2006-10-04 15:38 UTC (permalink / raw) To: Jeremy Fitzhardinge Cc: Andrew Morton, Pavel Machek, Linux Kernel Mailing List, alsa-devel At Wed, 04 Oct 2006 08:16:17 -0700, Jeremy Fitzhardinge wrote: > > Takashi Iwai wrote: > > At least, you have to see a different kernel message after the > > patch... Could you confirm it? > > > > No, it looks like the same message as ever: > > hda_intel: azx_get_response timeout, switching to polling mode... This is a new message. There was no poling mode on 2.6.18. > hda_intel: azx_get_response timeout, switching to single_cmd mode... So, this looks like that the CORB/RIRB register mapping is actually broken... Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 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 1 sibling, 1 reply; 17+ messages in thread From: Takashi Iwai @ 2006-10-04 19:04 UTC (permalink / raw) To: Jeremy Fitzhardinge Cc: Andrew Morton, Pavel Machek, Linux Kernel Mailing List, alsa-devel At Wed, 04 Oct 2006 08:16:17 -0700, Jeremy Fitzhardinge wrote: > > Takashi Iwai wrote: > > At least, you have to see a different kernel message after the > > patch... Could you confirm it? > > > > No, it looks like the same message as ever: > > hda_intel: azx_get_response timeout, switching to polling mode... > hda_intel: azx_get_response timeout, switching to single_cmd mode... A counter of RIRB pending commands could overflow the size of RIRB when a bunch of commands are sent but not synced. This may lead to the azx_get_response error, theoretically. Could you apply the patch below and check what values are shown there? thanks, Takashi diff -r 4963791e6192 sound/pci/hda/hda_intel.c --- a/sound/pci/hda/hda_intel.c Wed Oct 04 18:38:16 2006 +0200 +++ b/sound/pci/hda/hda_intel.c Wed Oct 04 20:59:57 2006 +0200 @@ -325,6 +325,7 @@ struct azx { /* CORB/RIRB */ struct azx_rb corb; struct azx_rb rirb; + int max_rirb_cmds; /* BDL, CORB/RIRB and position buffers */ struct snd_dma_buffer bdl; @@ -480,6 +481,8 @@ static int azx_corb_send_cmd(struct hda_ spin_lock_irq(&chip->reg_lock); chip->rirb.cmds++; + if (chip->rirb.cmds > chip->max_rirb_cmds) + chip->max_rirb_cmds = chip->rirb.cmds; chip->corb.buf[wp] = cpu_to_le32(val); azx_writel(chip, CORBWP, wp); spin_unlock_irq(&chip->reg_lock); @@ -538,12 +541,16 @@ static unsigned int azx_rirb_get_respons if (!chip->polling_mode) { snd_printk(KERN_WARNING "hda_intel: azx_get_response timeout, " "switching to polling mode...\n"); + snd_printk(KERN_WARNING " RIRB pending = %d, peak = %d\n", + chip->rirb.cmds, chip->max_rirb_cmds); chip->polling_mode = 1; goto again; } snd_printk(KERN_ERR "hda_intel: azx_get_response timeout, " "switching to single_cmd mode...\n"); + snd_printk(KERN_ERR " RIRB pending = %d, peak = %d\n", + chip->rirb.cmds, chip->max_rirb_cmds); chip->rirb.rp = azx_readb(chip, RIRBWP); chip->rirb.cmds = 0; /* switch to single_cmd mode */ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-10-04 19:04 ` Takashi Iwai @ 2006-10-04 20:07 ` Jeremy Fitzhardinge 2006-10-05 9:58 ` Takashi Iwai 0 siblings, 1 reply; 17+ messages in thread From: Jeremy Fitzhardinge @ 2006-10-04 20:07 UTC (permalink / raw) To: Takashi Iwai Cc: Andrew Morton, Pavel Machek, Linux Kernel Mailing List, alsa-devel Takashi Iwai wrote: > A counter of RIRB pending commands could overflow the size of RIRB > when a bunch of commands are sent but not synced. This may lead to > the azx_get_response error, theoretically. > > Could you apply the patch below and check what values are shown there? > I'll try it, but I re-enabled the modem in the bios, and I no longer get this message and it appears to work (there seems to be a secondary problem that the volume hotkeys have stopped working, but I suspect that's more ACPI-related). J ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... 2006-10-04 20:07 ` Jeremy Fitzhardinge @ 2006-10-05 9:58 ` Takashi Iwai 0 siblings, 0 replies; 17+ messages in thread From: Takashi Iwai @ 2006-10-05 9:58 UTC (permalink / raw) To: Jeremy Fitzhardinge Cc: Andrew Morton, Pavel Machek, Linux Kernel Mailing List, alsa-devel At Wed, 04 Oct 2006 13:07:56 -0700, Jeremy Fitzhardinge wrote: > > Takashi Iwai wrote: > > A counter of RIRB pending commands could overflow the size of RIRB > > when a bunch of commands are sent but not synced. This may lead to > > the azx_get_response error, theoretically. > > > > Could you apply the patch below and check what values are shown there? > > > I'll try it, but I re-enabled the modem in the bios, and I no longer get > this message and it appears to work (there seems to be a secondary > problem that the volume hotkeys have stopped working, but I suspect > that's more ACPI-related). Ah, that's good to hear. Is the modem also HD-audio modem? If so, you have two codec#* files in /proc/asound/card0. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <20061004135743.GA6150@irc.pl>]
* Re: 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode... [not found] ` <20061004135743.GA6150@irc.pl> @ 2006-10-04 15:16 ` Jeremy Fitzhardinge 0 siblings, 0 replies; 17+ messages in thread From: Jeremy Fitzhardinge @ 2006-10-04 15:16 UTC (permalink / raw) To: Jeremy Fitzhardinge, Takashi Iwai, Pavel Machek, Linux Kernel Mailing List, alsa-devel, Andrew Morton Tomasz Torcz wrote: > Just a blind shot -- do you have modem enabled in BIOS? Sometimes > disabling (hiding) modem breaks sound. > Good suggestion. It might be disabled; I'll switch it around next time I reboot. J ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2006-10-05 9:59 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <451834D0.40304@goop.org>
[not found] ` <20060925202644.GB6278@ucw.cz>
2006-09-26 1:12 ` 2.6.18: hda_intel: azx_get_response timeout, switching to single_cmd mode 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
2006-09-26 16:31 ` Andrew Morton
[not found] ` <20060926093142.43369b93.akpm@osdl.org>
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
[not found] ` <20061004135743.GA6150@irc.pl>
2006-10-04 15:16 ` Jeremy Fitzhardinge
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).