From owner-freebsd-current@FreeBSD.ORG Thu Sep 2 21:21:40 2004 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 13C6516A4D1 for ; Thu, 2 Sep 2004 21:21:40 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD26F43D5C for ; Thu, 2 Sep 2004 21:21:39 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 21305 invoked from network); 2 Sep 2004 21:21:39 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 2 Sep 2004 21:21:39 -0000 Received: from [10.50.41.228] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i82LLOmb070450; Thu, 2 Sep 2004 17:21:35 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Ken Smith Date: Thu, 2 Sep 2004 17:14:42 -0400 User-Agent: KMail/1.6.2 References: <200407151424.i6FEOdoq060881@fledge.watson.org> <20040715220447.GA32888@xor.obsecurity.org> <20040902155947.GA12006@electra.cse.Buffalo.EDU> In-Reply-To: <20040902155947.GA12006@electra.cse.Buffalo.EDU> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409021714.42674.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: re@FreeBSD.org cc: current@FreeBSD.org cc: Kris Kennaway Subject: Re: 5.3-RELEASE TODO 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: Thu, 02 Sep 2004 21:21:40 -0000 On Thursday 02 September 2004 11:59 am, Ken Smith wrote: > > * --- > > Fatal trap 12: page fault while in kernel mode > > fault virtual address = 0x104 > > fault code = supervisor read, page not present > > instruction pointer = 0x8:0xc058a8cf > > stack pointer = 0x10:0xdcb34cc4 > > frame pointer = 0x10:0xdcb34cec > > code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, def32 1, gran 1 > > processor eflags = resume, IOPL = 0 > > current process = 50 (schedcpu) > > trap number = 12 > > panic: page fault > > > > syncing disks, buffers remaining... panic: mi_switch: switch in a > > critical section > > > > addr2line says the panic was in kern/sched_4bsd.c:327 > > > > /* > > * The kse slptimes are not touched in > > wakeup * because the thread may not HAVE a KSE. */ > > if (ke->ke_state == KES_ONRUNQ) { > > awake = 1; > > ke->ke_flags &= ~KEF_DIDRUN; > > ---> } else if ((ke->ke_state == KES_THREAD) > > && (TD_IS_RUNNING(ke->ke_thread))) { awake = 1; > > > > gdb -k got confused and couldn't make anything out of the backtrace. > > The code you quote above hasn't changed recently but a few kse related > fixes have gone in recently if I recall correctly. Is this one still > biting you? This seems to be a symptom of the same bug that causes runq corruption when PREEMPTION is turned on. I think it might have triggered on SMP w/o PREEMPTION turned on however. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org