From: Takashi Iwai Subject: Re: Hung task with trace after resume on kernel v3.7-rc6 Date: Mon, 19 Nov 2012 15:38:00 +0100 Message-ID: References: <20121118161803.58ca707c@ilfaris> <20121119115632.0c41386f@ilfaris> <20121119131504.71f3151b@ilfaris> <20121119145645.30c681e5@ilfaris> <20121119151845.1886ed58@ilfaris> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E7A802650FD for ; Mon, 19 Nov 2012 15:38:00 +0100 (CET) In-Reply-To: <20121119151845.1886ed58@ilfaris> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Julian Wollrath Cc: Dylan Reid , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 19 Nov 2012 15:18:45 +0100, Julian Wollrath wrote: > > > > Hm, then something screwed up the communication... > > > > > > At which moment do you see such a message? In other words, how to > > > trigger the bug? > > I suspend my system to ram or to disk. Then I resume it, everthing > > comes up again and then, aprrox 4s after the resume was initiated, the > > spurious response messages hit the dmesg for approx. 0.07s as you can > > see in my first message. Hopefully this answer the question. > Hm, just got some messages, which did not appear before: > [ 244.497999] snd_hda_intel 0000:00:14.2: wake-up capability disabled > by ACPI > [ 244.498063] snd_hda_intel 0000:00:14.2: enabling device (0000 -> > 0002) Do you have CONFIG_PM_RUNTIME=y? If yes, any difference when turn it off? Also, apply the patch below so that we can see which device is actually stalling. thanks, Takashi --- From: Takashi Iwai Subject: [PATCH] ALSA: hda - Print PCI device name at "spurious message" warnings ... to make it clear to see from which device it comes. Signed-off-by: Takashi Iwai --- sound/pci/hda/hda_intel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index d327ffa..b6ffdd8 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -832,8 +832,9 @@ static void azx_update_rirb(struct azx *chip) smp_wmb(); chip->rirb.cmds[addr]--; } else - snd_printk(KERN_ERR SFX "spurious response %#x:%#x, " + snd_printk(KERN_ERR SFX "%s: spurious response %#x:%#x, " "last cmd=%#08x\n", + pci_name(chip->pci), res, res_ex, chip->last_cmd[addr]); } -- 1.8.0