2.0.33: sound dma buffer

Aaron Crane (aaron.crane@pobox.com)
16 Jan 1998 02:52:22 +0000


Hi. We're using Linux for research in Automatic Speech Recognition; this
means that sound facilities are pretty much vital for us.

One of our machines is particularly prone to a problem where after some
period of use, sound samples stops playing. The logs are full of "Sound
error: Couldn't allocate DMA buffer" whenever this happens; I assume this is
the cause -- especially seeing as quitting a big program will tend to make
sound work again.

Does anyone have any suggestions for workarounds? I've already configured
DSP_BUFFSIZE to 4096 in the hope that a single DMAable page is easier to
find than a whole bunch, but it's had very little effect, if any. We have
sound compiled as a module; would building it into the kernel help?

The machine with most problems is a PPro 200, with 128M (which I assume is
part of the cause). Kernel version is 2.0.33; soundcard is a generic 16-bit
sound blaster clone. Additional information available on request.

Any suggestions will be gratefully received.

-- 
Aaron Crane   <aaron.crane@pobox.com>   <URL:http://pobox.com/~aaronc/>