From owner-freebsd-current@FreeBSD.ORG Tue Dec 30 08:20:25 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B700716A4CE for ; Tue, 30 Dec 2003 08:20:25 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93C4943D1F for ; Tue, 30 Dec 2003 08:20:19 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id DAA03333; Wed, 31 Dec 2003 03:20:12 +1100 Date: Wed, 31 Dec 2003 03:20:11 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Stefan Ehmann In-Reply-To: <1072794615.775.4.camel@shoeserv.freebsd> Message-ID: <20031231031218.N1268@gamplex.bde.org> References: <1072618904.757.12.camel@shoeserv.freebsd> <20031230173151.M6634@gamplex.bde.org> <1072794615.775.4.camel@shoeserv.freebsd> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: page fault panic tracked down (selwakeuppri()) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 16:20:25 -0000 On Tue, 30 Dec 2003, Stefan Ehmann wrote: > On Tue, 2003-12-30 at 07:56, Bruce Evans wrote: > > I have farily large patches which do buffering in ext2fs in a different > > way so that the 2003/08/28 changes are irrelevant. I will send these > > in private mail. > > Applied the patches and rebuilt kernel. Unfortunately I got the same > panic after 2 hours. At least it's easy to duplicate, and another possible cause is ruled out. Do you do anything special with ext2fs or have a special configuration? It should be easy to turn off the selwakeuppri() chnages by editing a line or two of selwakeuppri(). From sys_generic.c: % /* Wake up a selecting thread. */ % void % selwakeup(sip) % struct selinfo *sip; % { % doselwakeup(sip, -1); % } % % /* Wake up a selecting thread, and set its priority. */ % void % selwakeuppri(sip, pri) % struct selinfo *sip; % int pri; % { % doselwakeup(sip, pri); % } Just change the last `pri' to -1. Bruce