From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Clemens Ladisch" Subject: Re: about sound/core/pcm_lib.c:1997: capture read error (DMA or IRQ trouble?) Date: Thu, 27 Sep 2007 09:14:05 +0200 Message-ID: <1190877245.11159.1212855119@webmail.messagingengine.com> References: <1190787860.12924.1212641403@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by alsa0.perex.cz (Postfix) with ESMTP id 298662459A for ; Thu, 27 Sep 2007 09:14:06 +0200 (CEST) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id B13962F64F for ; Thu, 27 Sep 2007 03:14:05 -0400 (EDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Akio wrote: > Clemens Ladisch fastmail.net> writes: > > Akio write: > > > after long time amr-wb codec loopback test. (above 90 hours) > > > I got the following kernel message. it comes from snd_pcm_lib_read1() > > > function. > > > ALSA sound/core/pcm_lib.c:1997: capture read error (DMA or IRQ trouble?) > > > > This error indicates that no interrupt has been received for ten > > seconds. > > > > I would have guessed that some 32-bit counter has overflowed, but at > > 48 kHz, a frame counter would overflow after slightly less than > > 25 hours. > > Thanks for Clemens. Could you tell me the counter's name and which layer does it? > in alsa driver or in alsa lib or in alsa core module? I'm not aware of any such bug in the ALSA framework. I'd guess this is some problem with your driver. What sample frequency are you using? > snd_pcm_prepare does not work. What error does it return? Regards, Clemens