TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:6710] log message "kernel: Sound error: Couldn't allocat





Thanks, Jon.  Seems like a big hammer for a small nail, but I'm missing enough
incoming mail when the "You've Got Mail!" audio snippet fails out of coolmail
that's it's well worth my time to try it.

-S

to schewe@tcfreenet.org wrote:
> 
> ---559023410-851401618-930246331=:9304
> Content-Type: TEXT/plain; CHARSET=US-ASCII
> 
> On 24 Jun, Steve Siegfried wrote:
> > The funny thing about this is that after I boot, sound works just fine.
> > But once that log message shows up, my PC remains mute until I reboot.
> > 
> > Anybody else seen something like this and possibly know the cure?
> > 
> Try compiling sound support into the kernel instead of loading as a
> module, this has seemed to help.  I've also seen this error with older
> kernels and a floppy drive.  Can't allocate DMA so I can't read the
> floppy drive.  The way I fixed that was to write a program like chill
> under Solaris.  It allocates memory until malloc fails then frees it. 
> Then I can allocate the DMA.  I remember reading somewhere that the DMA
> memory needs to be allocated in the lower 16MB of RAM, or something
> funny like that.  So by allocating all my memory everything gets
> swapped out and therefore isn't mapped into the lower memory addresses
> and the DMA will allocate.  
> 
> This probably isn't the best answer, but it's worth a try.  Attached is
> the C code for it.
> -- 
> Jon Schewe
> schewe@tcfreenet.org
> http://tcfreenet.org/~schewe