lkml.org 
[lkml]   [1998]   [Oct]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 12 Oct 1998 04:06:21 +0200 (CEST)
FromArjan Filius <>
Subject2.1.125: "Sound error: Couldn't allocate DMA buffer" is back!
I noticed with 2.1.115 (and not before that, well yes with 2.0.xx) kernel
messages like:
Oct 12 03:45:07 sjoerd kernel: Sound error: Couldn't allocate DMA buffer
Just when playing a wave file when _al lot_ memory is in use, on a UP idle
system. 

When i stop a programm (which uses a a lot memory, X is favourite,
but also 'joe `large file`) playing wave files does work, and it gets DMA
memory. When this happens the swap space isn't full (only 10MB of 200MB
used)

i've some info (while trying to play mp3 files, but wave same reult)

# free
             total       used       free     shared    buffers     cached
Mem:        257720     246492      11228      73680     108660      70356
-/+ buffers/cache:      67476     190244
Swap:       204868       9984     194884
(tty3) 3:57am 0 root@sjoerd:/mp3/ # ./music.sh
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59o (1998/Feb/08). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Can't open /dev/dsp!

Then i get the kernel DMA message.

After closing a `some programs using much memory' i get:
(tty3) 4:01am 1 root@sjoerd:/mp3/vincent # free
             total       used       free     shared    buffers     cached
Mem:        257720     218728      38992      27472     109060      70844
-/+ buffers/cache:      38824     218896
Swap:       204868       9984     194884
(tty3) 4:01am 0 root@sjoerd:/mp3/ # ./music.sh

and playing succeeds (note free memory differences)


It _seems_ if there is no _buffer_ available it doesn't try to free some
(swap perhaps, or some other usefull meganism)

System: 256MB ram/200MB swap, UP, SB16 PnP, 0% CPU load.
If more info needed i'm happy to gather some relevant data.

Arjan Filius
mailto:iafilius@xs4all.nl
--------------------------------------------------------------
Argh!  All right, so how am I supposed to work with Linux when
everything's already been done?!  Can't these people leave some
broken MSDOS like parts so there's problems left to solve!?....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2008