Re: soundcore not unloading (Was: Re: Show stoppers)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 13 Oct 1998 14:53:56 +0100 (BST)


> More serious: Quite a number of times I've had various sound apps fail
> due to /dev/audio or /dev/dsp being in use. Yet there were no processes
> using either. Several times I killed off processes to the point of not
> having anything left save the kernel processes, init, and my shell.

Do you have the drivers/modules compiled in or always loaded. There are
several ways to get an open fail apparently at random the normal one is
to load sound on demand and have no DMA memory free

> rvplayer problem. During playback with realtime on, under 2.1.125 I can
> provoke sound skips and pops without much trouble on a PPro/200 with 128MB
> using processor intensive tasks. Note that under 2.0.xx it has not been
> possible to make such things occur without doing something to cause
> abnormal I/O starvation. Something I have never caused in "real life"
> despite this machine getting very heavy use.

I've seen this too. It appears to be problems with scheduling and I/O not
the sound subsystem. My current guess is that the real time stuff is breaking
the kswapd and or the I/O readahead. Certainly it appears dumb things will
occur if your real time task is more realtime than kswapd

Alan

-
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/