To: Iztok Polanic <[EMAIL PROTECTED]>
On Sat, 23 May 1998, Iztok Polanic wrote:
> When I am doing something heavily (CPU burn) and I want to listen to a mp3
> file or an audio file I get this:
> 
> /dev/dsp is out of memory 
> 
> Why is this happening???

It is not a matter of CPU burn. It is a matter of the design of the ISA
bus. Apparently you have an ISA sound card that uses DMA channels. The
problem is that ISA DMA channels can only access the bottom 1M of memory,
because that's all that the original IBM PC had. Furthermore, all of the
memory has to be contiguous -- no gaps in it. If the sound card is set up
for a 32K buffer, that means you must have 32K of memory with no gaps in
it below the 1M boundary.

The "ftape" driver suffers from the same problem. The only "solution" I
have found is to "insmod" the module by hand at boot time, by creating an
executable shell script file named "/etc/rc.d/rc.modules" that contains
the lines:
-------cut here-------
#!/bin/sh
insmod lp
insmod ftape
insmod sound
----end file---------

Note that I do an 'insmod lp' because I've found that under heavy load,
sometimes kerneld will fail to load 'lp' before the 'lpd' program gives
up. After getting called several times by clients whose line printers
would not print and finding this to be the problem, I wised up and
manually load it now. 

Eric Lee Green   [EMAIL PROTECTED]          Executive Consultants
Systems Specialist               Educational Administration Solutions
             See http://members.tripod.com/~e_l_green



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to