Date: Sun, 04 Jan 2004 15:50:20 +0100 From: Stefan Ehmann <shoesoft@gmx.net> To: Don Lewis <truckman@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: page fault panic tracked down (selwakeuppri()) Message-ID: <1073227819.1764.13.camel@shoeserv.freebsd> In-Reply-To: <200401030401.i0341O7E003439@gw.catspoiler.org> References: <200401030401.i0341O7E003439@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1073227819.1764.13.camel>