From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: aplay: pcm_write:1025: write error & SNDRV_PCM_IOCTL_PREPAREfailed:device or resource busy Date: Wed, 21 May 2003 13:09:34 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1053302732.1749.6.camel@Wizard.knechthome.com> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1053302732.1749.6.camel@Wizard.knechthome.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Mark Knecht Cc: Alsa-Devel List-Id: alsa-devel@alsa-project.org At 18 May 2003 17:05:32 -0700, Mark Knecht wrote: > > Hi, > I brought up Alsa Friday on a Gentoo platform and used it for most of > Friday evening and Saturday in one form or another. Along the way I was > building some new kernels to fix some SCSI issues and a few other items, > which required that Alsa get rebuilt also as per the Gentoo Alsa > instructions. This process went on for most of the day. Later Saturday > evening, following who knows how many 'unrelated' changes, Alsa stopped > working. The error messages look like this: > > Wizard root # aplay wave/sequen~1.wav > Playing WAVE 'wave/sequen~1.wav' : Signed 16 bit Little Endian, Rate > 44100 Hz, Mono > aplay: pcm_write:1025: write error: Input/output error > Wizard root # > > or when trying to play a game like frozen-bubble, that app locks up hard > and in my console I see: > > ALSA Lib pcm_hw.c:467:(snd_pcm_hw_prepare)SNDRV_PCM_IOCTL_PREPARE > failed:device or resource busy > > alsaplayer starts to run, sees the CD (I.e. - shows track length) and > then won't play the CD. > > I'll attach a bit of data, but can anyone point me toward what might be > causing this? the chip looks like a VIA8235, so the (first) pcm device supports multiple playbacks but with the same sample rate. please check whether there is any other app running and using the pcm device and if it uses different sample rates (e.g. 48kHz)... Takashi ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge