From: Vincent Blut <vincent.debian@free.fr>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [3.6.9 -> 3.7.1 regression] sound: snd_hda_intel codec probing issue?
Date: Tue, 08 Jan 2013 13:28:55 +0100 [thread overview]
Message-ID: <1357648135.3849.7.camel@lamella> (raw)
In-Reply-To: <s5h38ydpf45.wl%tiwai@suse.de>
Le lundi 07 janvier 2013 à 09:32 +0100, Takashi Iwai a écrit :
> At Sat, 05 Jan 2013 22:24:03 +0100,
> Vincent Blut wrote:
> >
> > Le jeudi 03 janvier 2013 à 10:19 +0100, Takashi Iwai a écrit :
> > > At Fri, 28 Dec 2012 15:25:40 +0100,
> > > Vincent Blut wrote:
> > > >
> > > > Hi,
> > > >
> > > > Since I updated to Linux 3.7.1, listening to some audio/video bits
> > > > frequently cause the following:
> > > >
> > > > [ 7896.166946] hda-intel: azx_get_response timeout, switching to polling
> > > > mode: last cmd=0x020c0000
> > > > [ 7897.173444] hda-intel: No response from codec, disabling MSI: last
> > > > cmd=0x020c0000
> > > > [ 7898.179932] hda_intel: azx_get_response timeout, switching to
> > > > single_cmd mode: last cmd=0x020c0000
> > > > [ 7898.179983] hda-codec: out of range cmd 0:0:20:400:fffff7ff
> > > > [ 9445.034371] plugin-containe[5873]: segfault at 7f44bb95e639 ip
> > > > 00007f44e454bca0 sp 00007f44c91165f8 error 4 in
> > > > libc-2.13.so[7f44e442c000+180000]
> > > >
> > > > It seems to be a codec probing failure (?). This is really fatal because
> > > > the sound become very choppy and can't recover until I reboot.
> > > > I'll try to play with 'probe_mask' kernel parameter to see if I can
> > > > narrow the correct codec slots!
> > > >
> > > > By the way I can't reproduce this on 3.6.9, so is there something that
> > > > changed in this area in 3.7.1?
> > >
> > > If it's new in 3.7, this could be a regression by runtime D3.
> > > Try to pass power_save_controller=0 option to snd-hda-intel module
> > > (or change it via sysfs dynamically).
> > >
> > >
> > > thanks,
> > >
> > > Takashi
> >
> > Hi Takashi,
> >
> > Well, power_save_controller=0 seems to do the trick but I get plenty of:
> >
> >
> > [ 15.389270] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37
> > [snd_hda_intel] returns -11
> > [ 25.178725] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37
> > [snd_hda_intel] returns -11
> > [ 72.296536] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37
> > [snd_hda_intel] returns -11
> > [ 2318.147505] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37
> > [snd_hda_intel] returns -11
> > [ 6086.029839] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37
> > [snd_hda_intel] returns -11
> > [ 7390.772818] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37
> > [snd_hda_intel] returns -11
> >
> >
> > which I think is fixed in 3.8 by commit 6eb827d23577
>
> Yes, and should be merged in the next stable release.
>
> > So what's the next step? Adding a quirk for this sound card? Or is there
> > a way to fix the root cause?
>
> One more thing to test is whether azx_runtime_resume() is properly
> called before this error happens. Could you put a debug print and
> check it? If it's not called, it implies that the refcount or
> something else got broken. If it's called but the device doesn't
> respond, it's a hardware-specific issue, and the likely solution is to
> add a device-specific quirk.
>
Ok, I added a debug printk() which is called:
$ dmesg | grep -i debug
[ 5330.371523] [debug] Probably needs a device-specific quirk!
As usual, when it is called the sound become very choppy.
I'll test with enable_msi=0 later.
>
> thanks,
>
> Takashi
Thanks,
Vincent
next prev parent reply other threads:[~2013-01-08 12:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-28 14:25 [3.6.9 -> 3.7.1 regression] sound: snd_hda_intel codec probing issue? Vincent Blut
2013-01-03 9:19 ` Takashi Iwai
2013-01-03 13:39 ` Vincent Blut
2013-01-05 21:24 ` Vincent Blut
2013-01-07 8:32 ` Takashi Iwai
2013-01-08 12:28 ` Vincent Blut [this message]
2013-01-08 12:56 ` Takashi Iwai
2013-01-08 14:13 ` Vincent Blut
2013-01-08 14:32 ` [alsa-devel] " David Henningsson
2013-01-08 14:39 ` Takashi Iwai
2013-01-08 20:25 ` Vincent Blut
2013-01-09 10:00 ` Takashi Iwai
2013-01-08 0:04 ` Maurizio Avogadro
[not found] ` <50EBD772.3090008@gmail.com>
[not found] ` <s5htxqsyt7g.wl%tiwai@suse.de>
2013-01-08 8:55 ` Maurizio Avogadro
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=1357648135.3849.7.camel@lamella \
--to=vincent.debian@free.fr \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tiwai@suse.de \
/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