Re: page fault panic tracked down (selwakeuppri())

From: Stefan Ehmann <shoesoft_at_gmx.net>
Date: Sun, 04 Jan 2004 15:50:20 +0100
On Sat, 2004-01-03 at 05:01, Don Lewis wrote:
> I wouldn't rule out the dsp, since you audio player software may be
> calling select() on the fd for the audio device.  You might want to back
> out Bruce's quick hack and change the second argument to selwakeuppri()
> to -1 in chn_wakeup() in dev/sound/pcm/channel.c.
> 
> Is your kernel compiled with the INVARIANTS and INVARIANTS_SUPPORT
> options?
> 
> Something else that I noticed is that the CHN_LOCKASSERT macro has an
> empty definition in dev/sound/pcm/channel.h.  You might want to try
> defining it as
> 	mtx_assert((struct mtx *)((c)->lock), MA_OWNED)
> 
> I still don't see any obvious cause for this problem.

I took out the debug options because it was just too slow. Put back
INVARIANTS (but no WITNESS) now and speed is nice again.

Applied your suggested changes which resulted in a panic. No
assertations were triggered though.
Received on Sun Jan 04 2004 - 05:50:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC