From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: How to debug ? Date: Wed, 02 Apr 2003 12:03:16 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1049242674.26708.47.camel@Jay> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1049242674.26708.47.camel@Jay> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Giuliano Pochini Cc: alsa-devel List-Id: alsa-devel@alsa-project.org At 02 Apr 2003 00:17:49 +0000, Giuliano Pochini wrote: > > > > My driver do not work anymore with xmms (alsa-xmms plugin) and > > alsaplayer. [...] > > I tried to force the alsaplayer plugin to set S16_LE format (data is BE > on powerpc) and it do not spit that errors anymore, but it do not play > anything and in the logs alsa prints: > > ALSA ../alsa-kernel/core/pcm_lib.c:2219: BUG? (substream->ops->copy != > ((void *)0) || runtime->dma_area != ((void *)0)) (called from d2040794) > last message repeated 11886 times > > I don't set .copy callback and ->dma_area should be 0 because the card > uses a sg-list. #:( no, dma_area should not be zero. you shouldn't change the value, if you use snd_pcm_lib_malloc_pages(). in the case of sg-buffer, dma_area will hold the virtual mapped address, too. Takashi ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/