From: VDR User on
On Thu, Mar 11, 2010 at 10:32 AM, Jaroslav Kysela <perex(a)perex.cz> wrote:
>>>> [pid 22651] ioctl(21, 0x80044121, 0xb439d2cc) = -1 EPIPE (Broken pipe)
>>>> pcm_hw.c: snd_pcm_hw_delay() SNDRV_PCM_IOCTL_DELAY failed.
>>>
>>> -EPIPE means underrun condition.
>>>
>>> Try 'echo 101 > /proc/asound/card0/pcm0p/xrun_debug' and send dmesg
>>> output
>>> to check if the ring buffer pointer in the hda-intel driver does not
>>> return
>>> wrong values. Replace card0 and pcm0p with right identifiers (look to
>>> 'aplay
>>> -l' for right numbers).
>>>
>>> More info: http://www.alsa-project.org/main/index.php/XRUN_Debug
>>
>> Hi, thanks for your further reply.  However, I don't see
>> "CONFIG_SND_PCM_XRUN_DEBUG" anywhere in the kernel config (both in
>> menuconfig or .config).
>
> All these parameters should be set: CONFIG_SND_PCM_XRUN_DEBUG,
> CONFIG_SND_VERBOSE_PROCFS, CONFIG_SND_DEBUG . I updated wiki.

Ok, I have now compiled the alsa snapshot with the following:

../configure --with-cards=hda-intel
--with-card-options=hda-hwdep,hda-reconfig,hda-codec-realtek,hda-codec-nvhdmi,hda-generic,pcm-xrun-debug
--with-debug=verbose --enable-verbose-procfs --with-isapnp=no
--with-sequencer=no --with-oss=no --with-pcm-oss-plugins=no

Attached are samples of my dmesg and /var/log/syslog files. Hopefully
there is some useful information there?

Best regards,
Derek
From: Wu Fengguang on
On Fri, Mar 12, 2010 at 12:32:51PM +0800, VDR User wrote:
> On Thu, Mar 11, 2010 at 10:32 AM, Jaroslav Kysela <perex(a)perex.cz> wrote:
> > All these parameters should be set: CONFIG_SND_PCM_XRUN_DEBUG,
> > CONFIG_SND_VERBOSE_PROCFS, CONFIG_SND_DEBUG . I updated wiki.
>
> I have replied with both the result of my dmesg and syslog. However,
> the mailing list seems to have rejected the message due to size (62k,
> but 60k is the limit). Please let me know if you've received that
> post or if I have to repost and split dmesg + syslog into two.

Never mind, the CC'ed users should be able to receive it.

Thanks,
Fengguang

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: VDR User on
On Thu, Mar 11, 2010 at 10:32 AM, Jaroslav Kysela <perex(a)perex.cz> wrote:
> All these parameters should be set: CONFIG_SND_PCM_XRUN_DEBUG,
> CONFIG_SND_VERBOSE_PROCFS, CONFIG_SND_DEBUG . I updated wiki.

I have replied with both the result of my dmesg and syslog. However,
the mailing list seems to have rejected the message due to size (62k,
but 60k is the limit). Please let me know if you've received that
post or if I have to repost and split dmesg + syslog into two.

Thanks,
Derek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/