Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2004 14:24:25 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        shoesoft@gmx.net
Cc:        current@FreeBSD.org
Subject:   Re: page fault panic tracked down (selwakeuppri())
Message-ID:  <200401042224.i04MOP7E009799@gw.catspoiler.org>
In-Reply-To: <1073227819.1764.13.camel@shoeserv.freebsd>

next in thread | previous in thread | raw e-mail | index | archive | help
On  4 Jan, Stefan Ehmann wrote:
> 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.

This problem is more likely to be caught by INVARIANTS than WITNESS.

> Applied your suggested changes which resulted in a panic. No
> assertations were triggered though.

Bummer!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401042224.i04MOP7E009799>